用times 宏包就可以把文本的缺省字体换成Times New Roman 字体。如果你安装有MathTime 字库,那么还可以使用mathtime 宏包来把数学环境中的字体都变成Times New Roman 字体。例如
\usepackage{times}
\usepackage[mtbold,mtpluscal,mtplusscr]{mathtime}
若没有mathtime字库,可以使用如下:
\usepackage{times}
\usepackage{mathptmx}
效果演示图:
演示代码:
\documentclassarticle}
\usepackage{amsmath}
\usepackage{times}
\usepackage{mathptmx}
\setlength\textwidth{207.0pt}
\begin{document}
Text
Text Text Text Text
Text Text Text Text
Text
Text Text Text Text
Text Text
Text Text
Text
Text Text Text Text
Text Text
\begin{equation} (a+b)^2 = a^2 + 2ab
+b^2 \end{equation}
\begin{equation} (a-b)^2 = a^2 - 2ab + b^2
\end{equation}
$$
\bar{x}
$$
\begin{equation}
\sum_{i=0}^n = \int_a^b f(x)dx \end{equation}
\end{document}
更加推荐的方式是莲枝专栏–时代,不同了。,里面提到了
改用 newtx 吧?这是个相当新的宏包,字体沿用 Times 系列,效果比 mathptmx 好,对数学公式符号的支持也比较不错。


发表评论 取消回复