sudo apt-get install texlive-full
sudo apt-get install texlive-xetex
sudo apt-get install texstudio
这样就安装好了,texlive里面自带了ctex。
还需要设置一下texstudio,打开texstudio,Options -- Configure texstudio -- Build -- Default Compiler 中更换编译器为Xelatex就好了。
\documentclass{ctexart}
\begin{document}
你好,\LaTeX!
\end{document}
正确显示就好了!
博客介绍了Texlive的安装,其自带ctex。还说明了Texstudio的设置,需打开Texstudio,在Options -- Configure texstudio -- Build -- Default Compiler中更换编译器为Xelatex,以实现正确显示。
169

被折叠的 条评论
为什么被折叠?



