How to use Chinese fonts in Beamer in the Xelatex tool

Source: Internet
Author: User

Xelatex is a tool that can be used to generate documents directly from your computer's fonts, Beamer is a LaTeX document class for creating a presentation. In this article we look at the use of Chinese fonts in Beamer.

Xelatex fonts are relatively convenient to use, and you can use fonts that have been installed on your system directly. But according to the original written a template to write Beamer, but found inside the Chinese can not recognize.

The original is through the setmainfont[mapping=tex-text]{Wen black} to set the main font for the text, but this set method in the Beamer seemingly useless. After the search found that beamer default is to use the Sans font, so you need to set the setmainfont[mapping=tex-text]{Wen black} on the OK.

PS: It is now found that there is not much to write in Tex, and there is no need to write so many XML tags compared to DocBook. However, the style of adjustment, not as convenient as DocBook, you can directly use CSS to engage in

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.