xeCJK handles fonts and punctuations for CJK text. It is mainly designed for documents with long paragraphs of CJK text.

Here is a basic test file:

\setCJKmainfont{SimSun} % For Chinese
To feel ``the beauty of words''.


enter image description here

With xeCJK, one can set the fonts for CJK text and other text separately. The font switching is automatic. And xeCJK will handle line breaking, full-width punctuation styles for CJK text.

Warning: xeCJK is not compatible with polyglossia package.

history | show excerpt | excerpt history