latex中定理定义等数学环境下的字体设置

来源:互联网 发布:怎样领淘宝内部优惠卷 编辑:程序博客网 时间:2024/06/05 16:50

如果要设置的这种环境下的字体,需要使用宏包amsthm,根据其中的文档可知,有三种自带的格式

  • plain:italic字体,上下有额外的空间
  • definition:upright字体,上下有额外的空间
  • remark:upright字体,上下没有额外的空间

根据thmtest.tex更改字体设置

\newtheoremstyle{thry}% name{3pt}% Space above{3pt}% Space below{\upshape}% Body font{}% Indent amount{}% Theorem head font{:}% Punctuation after theorem head{.5em}% Space after theorem head{}% Theorem head spec (can be left empty, meaning ‘normal’ )\theoremstyle{thry}\newtheorem{thry}{定理}

在document中使用

\begin{thry}1+2=3\end{thry}

其中字体类型有以下几种,详细参考latex符号对应表
这里写图片描述

0 0