Minimum template for solving LaTeX Chinese problems using xeCJK

Source: Internet
Author: User
Tags linux mint

Minimum template for solving LaTeX Chinese problems using xeCJK

LaTeX's Chinese support has always been a problem. When I first started learning LaTeX in about 11 years, the Chinese solution at that time was the CJK macro package. By the time of 12 or 13 years, the optimal solution for LaTeX Chinese support has becomeXeLaTeX + xeCJKThis is probably the best Chinese solution so far.

Later, CTEX learned to pack xeCJK functions and released the ctex macro package, which further simplifies the problem of writing Chinese documents with LaTeX.

Below is the usageXeLaTeXAndXeCJKMinimum template that supports Chinese characters:

12345
\ Documentclass {article} \ usepackage {xeCJK} \ begin {document} Chinese English hybrid example. \ End {document}

There are two more sentences than the minimum LaTeX template in English:

\usepackage{xeCJK}

XeCJK automatically uses the Fandole font that comes with TeXLive. To compile the template, you need to install the Chinese fonts that are provided by TeXLive to the system. The simplest way is~ /. FontsCreate a soft link under the directory:

ln -s /opt/texlive/2014/texmf-dist/fonts/opentype/public/fandol ~/.fonts/

Compile with the following command:

xelatex test.tex

Using Texmaker in Ubuntu 14.04 and Linux Mint 17 to use LaTeX

Use LaTeX to prepare your resume

LaTex beginner Template

LaTeX getting started

This article permanently updates the link address:

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.