Install using latex under Ubuntu

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.