笔者近期进行了MacTex+TexStudio配置,完成之后发现内置的pdf阅读器中无法显示中文字符,在贴吧中看到一个解决方法:
可以像编译英文一样编译中文:导言区引入包
\usepackage[fontset=mac]{ctex}
示例
\documentclass{article}
\usepackage[fontset=mac]{ctex}
\begin{document} % plus the \end{document} command at the end.
\section{第一节} % This command makes a section title.
你好,\\
非常开心认识你
\end{document} % The input file ends with this command.