Output Chinese using Xelatex

Source: Internet
Author: User

Recently found Latex is really a good layout tool Ah! Especially when writing foreign journal articles!


I downloaded the MiKTeX to install, and then want to write a Chinese character for output, using Xelatex to compile, the results are always error. I haven't figured out why. By Xelatex, Unicode-encoded characters are supported.


Later I downloaded the Tex Live kit for installation, and the Tex Live suite was more likely to be installed and MiKTeX lighter than the Miketex. In addition, MiKTeX only supports Windows systems, while Tex Live supports Windows, Linux, and Mac OS.

If you install Tex Live is recommended to download iOS image for installation, if you download the exe to install, the installation process to download a lot of packages, the speed is not good words will be very slow. After the image is installed, it is best to update the next package in Tex Live Manager.


The following is a simple example of the output of Chinese, measured through. (Remember to compile with Xelatex!) )

Instance one (using the Ctexart Class):

\documentclass{ctexart}\begin{document} Use Ctexart Class I can output Chinese characters \end{document}


Example two (using CTEX macro package):

\documentclass{article}\usepackage{ctex}\begin{document} I can also output Chinese characters \end{document using the article class and the CTEX macro package}


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Output Chinese using Xelatex

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.