ElegantLaTeX / ElegantPaper

Elegant LaTeX Template for Working Papers
LaTeX Project Public License v1.3c
1.32k stars 254 forks source link

英文模版字体: 正文如何修改为Latex默认字体? #83

Closed Raychanan closed 2 years ago

Raychanan commented 2 years ago
Under \hologo{XeLaTeX}, we use \lstinline{fontspec} package  to set the font to TeX Gyre Terms/Heros. 

默认编译是%!TEX program = pdflatex,请问如何在pdflatex下使用Latex默认字体 Computer Modern?谢谢!

sikouhjw commented 2 years ago

改成

%!TEX program = xelatex

不就可以了?

Raychanan commented 2 years ago

感谢,发现pdflatex 下在cls文件里面注销以下两行就回到了默认字体了。谢谢!

  \RequirePackage{newtxtext}
  \RequirePackage[scaled=.90]{helvet}