About

{xecjk} is a LaTeX package for typesetting Chinese, Japanese and Korean under the XeTeX engine.

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:

\documentclass{article}
\usepackage{xeCJK}
\setCJKmainfont{SimSun} % For Chinese
\begin{document}
To feel ``the beauty of words''.

感受“文字之美”。
\end{document}

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 | excerpt history