内容摘要:定理和证明环境的使用
ewtheorem命令可以定义定理和证明之类的环境,其语法如下:
语法:{环境名}[编号延续]{显示名}[编号层次]
下面定制四个环境:定义、定理、引理和推论,它们都在一个section内统一编号,引理和推论会延续定理的编号。代码如下:
ewtheorem{definition}{定义}[section]
ewtheorem{theorem}{定理}[section]
ewtheorem{lemma}[theorem]{引理}
ewtheorem{corollary}[theorem]{推论}
例子:
\begin{definition}
This is a definition!
\end{definition}
\begin{theorem}
This is a theorem!
\end{theorem}
\begin{lemma}
This is a lemma!
\end{lemma}
\begin{corollary}
This is a corollary!
\end{corollary}
效果:
ewtheorem命令可以定义定理和证明之类的环境,其语法如下:
语法:{环境名}[编号延续]{显示名}[编号层次]
下面定制四个环境:定义、定理、引理和推论,它们都在一个section内统一编号,引理和推论会延续定理的编号。代码如下:
ewtheorem{definition}{定义}[section]
ewtheorem{theorem}{定理}[section]
ewtheorem{lemma}[theorem]{引理}
ewtheorem{corollary}[theorem]{推论}
例子:
\begin{definition}
\end{definition}
\begin{theorem}
\end{theorem}
\begin{lemma}
\end{lemma}
\begin{corollary}
\end{corollary}
效果:
