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}

 

posted @ 2019-10-28 16:58  立体风  阅读(8562)  评论(1编辑  收藏  举报