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}
相關文章
相關標籤/搜索