Reference: https://www.cnblogs.com/longdouhzt/archive/2012/09/27/2706358.html
Https://jingyan.baidu.com/album/7c6fb4280b024180642c90e4.html?picindex=7
http://blog.sciencenet.cn/home.php?mod=space&uid=200199&do=blog&id=1036667
1. Install latex software texlive, this software comes with Chinese font, simple to use or very convenient.
sudo apt-get Install Texlive-full
This step takes a long time, if you do not want to install all files, you can choose
sudo apt-get Install texlive
The second step is to install the Chinese font pack. The font pack contains BSMI,BKAI,GKAI,GBSN four Chinese fonts. Bsmi and Bkai are BIG5 encoded in the Arial and italics, and the latter two Gkai and GBSN respectively deal with Simplified Chinese italics and italicized word.
sudo apt-get Install Latex-cjk-all
Then wait. In this case, we have installed the basic environment for latex use. For ease of editing, we need to install an editor, which is illustrated in Texmaker. In terminal input "sudo apt-get install Texmaker",
sudo apt-get Install Texmaker
At this point, the basic configuration is complete. At this point, we can create a new Tex file and enter the following test content. Under normal circumstances, compiling this Tex file will display Chinese in the document. It is important to note that these fonts do not support italic formatting, but they support bold. In fact, in the formal Chinese typesetting, if you want to emphasize some parts, by using fangsong or italics to achieve, rather than in the English as in the italic to achieve.
Texmaker opens as shown, where the middle is the input area, the file structure is displayed on the left, and the resulting PDF is displayed on the right.
Install using latex under Ubuntu