Latex中的定义、定理、引理、证明设置方法总结
在LaTex中需要定理、公理、命题、引理、定义等时,经常使用以下命令
newtheorem{定理环境名称}{标题}[主计数器名称]
new theorem { theorem } { theorem } [ chapter ]
定义了标题为Theorem的Theorem环境,意味着计数以章数为中心。
(Begin ) theorem ) [平均不等式]
将$A,B$作为2个实数的话,就是$2ab(leq2a ) 2b )2$。
end{theorem}
如果需要输出中文,请使用定义theorem
new theorem { theorem } {hspace { 2em }定理}[chaptet]
另外,在{hspace{2em}定理}中,还可以通过输入更改字体的命令来更改定理的字体
其他中文模式:
new theorem { definition } {hspace { 2em }定义}[chapter]
new theorem { theorem } {hspace { 2em }定理}[chapter]
new theorem { lemma } {hspace { 2em }引理}[chapter]
newtheorem{Proof}{证明}[chapter]
上述定理、公理、命题、引理、定义的一系列命令可以使用它
% Theorem style
newtheoremstyle { my style } { 3pt } {kai Shu } {0cm } {heiti2} { } { 1em }theoremstyle { my style }
new theorem { definition } {hspace { 2em }定义}[chapter] %
没有章。 只有节。 将上面的" [chapter] "更改为" [section] "
文章中可以直接使用的示例:
new theorem { theorem } [ definition ] {hspace { 2em }定理}
new theorem { axiom } [ definition ] {hspace { 2em }公理}
new theorem { lemma } [ definition ] {hspace { 2em }引理}
new theorem { proposition } [ definition ] {hspace { 2em }命题}
new theorem { corollary } [ definition ] {hspace { 2em }推理}
new theorem { remark } {hspace { 2em }注}[chapter]
Latex-构成定理定义
new theorem { thm } { theorem } [ section ]
new theorem { prop } { proposition } [ section ]
以上定理和命题将分别计数。 命题也可以使用定理的计数器,定义如下。
new theorem { 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}宏软件包支持