安装texlive

1
sudo apt-get install texlive-full

安装texstudio

因为texstudio是在ubuntu下实在太好用,就不折腾vim了。

1
sudo apt-get install texstudio

TeXstudio中在Options->Configure TeXstudio->Build->Default Compiler中更改默认编译器为XeLaTeX。

Options->Configure TeXstudio->General->Language更改为zh-CN。

1
2
3
4
5
6
7
8
\documentclass[utf8]{ctexart}

\title{深度学习}
\author{匿名}

\begin{document}
\maketitle
\end{document}