LaTeX如何设置数学定理类环境 您所在的位置:网站首页 定理证明是什么意思 LaTeX如何设置数学定理类环境

LaTeX如何设置数学定理类环境

2024-07-09 12:30| 来源: 网络整理| 查看: 265

文章目录 前言一、amsthm是什么?二、使用步骤1.引入宏包2.设置格式 总结

前言 amsthm是一个LaTeX的宏包,用来设置定理类环境 一、amsthm是什么?

amsthm是一个LaTeX的宏包,用来设置定理类环境

二、使用步骤 1.引入宏包

代码如下(示例):

\usepackage{amsthm} 2.设置格式

定理主要分为四种类型。 第一种是定理类,这里设置\theoremstyle为plain,包括定理,引理,命题,推论。 第二类是定义类环境,,这里设置\theoremstyle为defination 包括定义,例子,练习。 第三类是注意类环境,这里设置\theoremstyle为remark, 包括注,注意,情况,和解。 第四类是证明环境,不需要设置,amsthm宏包里自带格式。

% ============================================================================== % 定理环境 % ============================================================================== % 定理类环境 \theoremstyle{plain}% default \newtheorem{theorem}{\hskip 2em 定理}[section] \newtheorem{lemma}[theorem]{\hskip 2em 引理} \newtheorem{proposition}[theorem]{\hskip 2em 命题} \newtheorem*{corollary}{\hskip 2em 推论} % 定义类环境 \theoremstyle{definition} \newtheorem{defination}{\hskip 2em 定义}[section] \newtheorem{example}{\hskip 2em 例}[section] \newtheorem{exercise}{\hskip 2em 练习} % 注意类环境 \theoremstyle{remark} \newtheorem*{remark}{\hskip 2em 注} \newtheorem*{note}{\hskip 2em 注意} \newtheorem{case}{\hskip 2em Case} \newtheorem{solve}{\hskip 2em 解} 总结

提示:这里对文章进行总结: 以上就是今天要讲的内容,本文仅仅简单介绍了amsthm的使用,而amsthm提供了设置定理类环境的方法。



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有