latex 的定理环境, amsmath 安装包自带,用法为:
\newtheorem {环境名} {标题} [排序单位]
导言区:
\usepackage{amsmath}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\newtheorem{proof}{Proof}[section]
使用:
\section{theorem}
\begin{theorem}
This is a theorem.
\end{theorem}
\begin{lemma}
This is a lemma.
\end{lemma}
\section{Proof}
\begin{proof}
This is proof.
\end{proof}
取消编号 加*号
\newtheorem*{lemma}{Lemma}
\begin{lemma}
This is a lemma.
\end{lemma}