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