Mac上texstudio無法顯示中文字元的問題
阿新 • • 發佈:2020-12-30
技術標籤:配置問題
筆者近期進行了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.