您的位置:首页 > 其它

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

2016-06-30 09:35 3467 查看
如果要设置的这种环境下的字体,需要使用宏包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符号对应表

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  latex 数学 字体