Latex中定义、定理、引理、证明 设置方法总结
2017-03-19 10:40
836 查看
Latex中定义、定理、引理、证明 设置方法总结
在LaTex中需要有关定理、公理、命题、引理、定义等时,常用如下命令
\newtheorem{定理环境名}{标题}[主计数器名]
\newtheorem{theorem}{Theorem}[Chapter]
意思就是定义一个以Theorem为标题的theorem环境,计数以章节数为主.
如果需要输出中文,使用定义theorem如下
\newtheorem{theorem}{\hspace{2em}定理}[chaptet]
另外在{\hspace{2em}定理}中还可以输入更改字体的命令来改变定理的字体
其他中文模式:
\newtheorem{Definition}{\hspace{2em}定义}[chapter]
\newtheorem{theorem}{\hspace{2em}定理}[chapter]
\newtheorem{lemma}{\hspace{2em}引理}[chapter]
\newtheorem{Proof}{证明}[chapter]
前面提到的定理、公理、命题、引理、定义的一套命令可以用这个
% Theorem style
\newtheoremstyle{mystyle}{3pt}{3pt}{\kaishu}{0cm}{\heiti2 }{}{1em}{} \theoremstyle{mystyle}
\newtheorem{definition}{\hspace{2em}定义}[chapter] %
没有章, 只有节, 把上面的[chapter]改成[section]
文章中可以直接使用的范例:
\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}
引用:
如果有[标题]选项,则显示这个标题(斜体),否则自动打印斜体的Proof,并在证明结束时自动生成证毕符号口。
如果使用\proof命令,则需要在结束时手动加上结束命令\qed。
当然你可以重定义证毕符号,例如:
注意: \begin{proof}...\end{proof}环境需要\usepackage{amsthm}宏包的支持
在LaTex中需要有关定理、公理、命题、引理、定义等时,常用如下命令
\newtheorem{定理环境名}{标题}[主计数器名]
\newtheorem{theorem}{Theorem}[Chapter]
意思就是定义一个以Theorem为标题的theorem环境,计数以章节数为主.
\begin{theorem}[均值不等式] 设$A,B$是两个实数, 则$2AB\leq 2 A^2+B^2$. \end{theorem}
如果需要输出中文,使用定义theorem如下
\newtheorem{theorem}{\hspace{2em}定理}[chaptet]
另外在{\hspace{2em}定理}中还可以输入更改字体的命令来改变定理的字体
其他中文模式:
\newtheorem{Definition}{\hspace{2em}定义}[chapter]
\newtheorem{theorem}{\hspace{2em}定理}[chapter]
\newtheorem{lemma}{\hspace{2em}引理}[chapter]
\newtheorem{Proof}{证明}[chapter]
前面提到的定理、公理、命题、引理、定义的一套命令可以用这个
% Theorem style
\newtheoremstyle{mystyle}{3pt}{3pt}{\kaishu}{0cm}{\heiti2 }{}{1em}{} \theoremstyle{mystyle}
\newtheorem{definition}{\hspace{2em}定义}[chapter] %
没有章, 只有节, 把上面的[chapter]改成[section]
文章中可以直接使用的范例:
\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}宏包的支持
相关文章推荐
- latex中定理定义等数学环境下的字体设置
- Latex中定理、引理、证明、假设
- 【Latex】amsthm.sty定理定义引理格式的修改
- latex 定理环境,引理,定义,自定义 proof 环境
- LINUX中系统调优与安全设置的方法总结:
- div+css总结—FF、IE7下div不设置高度背景颜色或外边框不能显示的解决方法
- FLEX 定义组件样式的方法总结
- 站在巨人肩膀上看世界:设置oracle用户的权限方法总结
- Emacs字体设置方法总结
- linux 环境变量设置方法总结(PATH/LD_LIBRARY_PATH)
- [转]LaTeX中字体设置总结
- Asp.net设置默认按钮的方法总结
- Asp.net设置默认按钮的方法总结
- uboot启动参数设置和内核引导方法总结
- asp中设置session过期时间方法总结
- 关于osworkflow流程定义时设置关闭的方法
- ASP.NET Ajax 中 'Sys' 未定义脚本错误解决方法总结
- 内表使用方法总结之一----定义
- 正弦定理的证明(方法一)
- java设置虚拟内存方法总结