[转载]TeX中如何设置定理(命题,假设,证明等)环境
(2017-10-15 19:54:29)
标签:
转载 |
分类: latex |
原文地址:TeX中如何设置定理(命题,假设,证明等)环境作者:童心未泯
首先你要先使用宏包 ntheorem
usepackage[amsmath,thmmarks]{ntheorem}
% 定理类环境宏包,其中 amsmath
选项
% 用来兼容 AMS LaTeX 的宏包
% 用来兼容 AMS LaTeX 的宏包
%===
配合上面的ntheorem宏包产生各种定理结构,重定义一些
%正文相关标题 ===
theoremstyle{plain}
theoremheaderfont{normalfontrmfamilyCJKfamily{hei}}
theorembodyfont{normalfontrmCJKfamily{kai}} theoremindent0em
theoremseparator{hspace{1em}} theoremnumbering{arabic}
%theoremsymbol{}
%定理结束时自动添加的标志
newtheorem{definition}{hspace{2em}定义}[section]
%newtheorem{definition}{hei 定义}[section]
theoremstyle{plain}
theoremheaderfont{normalfontrmfamilyCJKfam
theorembodyfont{normalfontrmCJKfamily{kai}} theoremindent0em
theoremseparator{hspace{1em}} theoremnumbering{arabic}
%theoremsymbol{}
newtheorem{definition}{hspace{2em}定义}[section]
%newtheorem{definition}{hei 定义}[section]
%!!!注意当section为中国数字时,[section]不可用!
newtheorem{proposition}{hspace{2em}命题}[section]
newtheorem{property}{hspace{2em}性质}[section]
newtheorem{lemma}{hspace{2em}引理}[section]
%newtheorem{lemma}[definition]{引理}
newtheorem{theorem}{hspace{2em}定理}[section]
newtheorem{axiom}{hspace{2em}公理}[section]
newtheorem{corollary}{hspace{2em}推论}[section]
newtheorem{exercise}{hspace{2em}习题}[section]
theoremsymbol{$blacksquare$}
newtheorem{example}{hspace{2em}例}[section]
newtheorem{proposition}{hspace{2em}命题}[section]
newtheorem{property}{hspace{2em}性质}[section]
newtheorem{lemma}{hspace{2em}引理}[section]
%newtheorem{lemma}[definition]{引理}
newtheorem{theorem}{hspace{2em}定理}[section]
newtheorem{axiom}{hspace{2em}公理}[section]
newtheorem{corollary}{hspace{2em}推论}[section]
newtheorem{exercise}{hspace{2em}习题}[section]
theoremsymbol{$blacksquare$}
newtheorem{example}{hspace{2em}例}[section]
theoremstyle{nonumberplain}
theoremheaderfont{CJKfamily{hei}rmfamily}
theorembodyfont{normalfont rm CJKfamily{song}} theoremindent0em
theoremseparator{hspace{1em}} theoremsymbol{$blacksquare$}
newtheorem{proof}{hspace{2em}证明}
theoremheaderfont{CJKfamily{hei}rmfamily}
theorembodyfont{normalfont rm CJKfamily{song}} theoremindent0em
theoremseparator{hspace{1em}} theoremsymbol{$blacksquare$}
newtheorem{proof}{hspace{2em}证明}
注意:如果你使用的book,而不是article,那么你要把所有的section改为chapter.
前一篇:路由器 设置