Latex中定义、定理、引理、证实 设置方法总结字体
在LaTex中须要有关定理、公理、命题、引理、定义等时,经常使用以下命令spa
意思就是定义一个以Theorem为标题的theorem环境,计数以章节数为主.code
\begin{theorem}[均值不等式] 设$A,B$是两个实数, 则$2AB\leq 2 A^2+B^2$. \end{theorem}
若是须要输出中文,使用定义theorem以下blog
\newtheorem{theorem}{\hspace{2em}定理}[chaptet]rem
另外在{\hspace{2em}定理}中还能够输入更改字体的命令来改变定理的字体it
其余中文模式:io
前面提到的定理、公理、命题、引理、定义的一套命令能够用这个class
% Theorem style引用
文章中能够直接使用的范例:command
\newtheorem{theorem}[definition]{\hspace{2em}定理}
\newtheorem{axiom}[definition]{\hspace{2em}公理}
\newtheorem{lemma}[definition]{\hspace{2em}引理}
\newtheorem{proposition}[definition]{\hspace{2em}命题}
\newtheorem{corollary}[definition]{\hspace{2em}推论}
\newtheorem{remark}{\hspace{2em}注}[chapter]
Latex-定理定义的排版
\newtheorem{thm}{Theorem}[section]
\newtheorem{prop}{Proposition}[section]
以上定理和命题分别计数,若是命题也用定理的计数器,能够这样定义:
\newtheorem{prop}[thm]{Proposition}
引用:
\begin{thm}[附加标题,如定理名称,做者] 文本 \end{thm} 较短的证实能够用 \begin{proof}[标题] 证实内容。 \end{proof}
若是有[标题]选项,则显示这个标题(斜体),不然自动打印斜体的Proof,并在证实结束时自动生成证毕符号口。
若是使用\proof命令,则须要在结束时手动加上结束命令\qed。
固然你能够重定义证毕符号,例如:
\renewcommand*{\qedsymbol}{[证毕]} \begin{proof}[证:] 证实正文。 \end{proof}
注意: \begin{proof}...\end{proof}环境须要\usepackage{amsthm}宏包的支持