加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

[转载]TeX中如何设置定理(命题,假设,证明等)环境

(2017-10-15 19:54:29)
标签:

转载

分类: latex
首先你要先使用宏包 ntheorem
 
usepackage[amsmath,thmmarks]{ntheorem}
% 定理类环境宏包,其中 amsmath 选项
% 用来兼容 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]
%!!!注意当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]
theoremstyle{nonumberplain}
theoremheaderfont{CJKfamily{hei}rmfamily}
theorembodyfont{normalfont rm CJKfamily{song}} theoremindent0em
theoremseparator{hspace{1em}} theoremsymbol{$blacksquare$}
newtheorem{proof}{hspace{2em}证明}
 
 
注意:如果你使用的book,而不是article,那么你要把所有的section改为chapter.
 

0

  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有