latex设置不一样中英文字体

latex中,中文我喜欢宋体,英文喜欢Courier New,因而,我分别设置了中英文字体,文章瞬间顺眼了不少。字体

\documentclass[UTF8]{ctexart}
\usepackage[a4paper,top=2cm,bottom=2cm,left=2cm,right=2cm]{geometry}
\setmainfont{Courier New}  //英文在导言区设置
\begin{document}
\songti\zihao{-3}      //中文在这里声明一下就能够
\end{document}
相关文章
相关标签/搜索