English logga in

StartTeX och LaTeX


Denna sida finns bara på engelska.

When writing a document in Chinese the TeX engine XeLaTeX is recommended, and you can find various options in answers to this Stack Exchange question.

But if you want to use the default pdflatex and only want to include some short Chinese texts in your document, the simplest way may be to use the CJKutf8 package.

Here is an example:



Hello, \zh{你好}!

Here for convenience a command \zh is created so that just a short command is needed for each Chinese section. In the command gkai names the font to use. Another option, also for simplified Chinese characters, is gbsn.

The file /local/doc/tex/chinese.tex shows the same example, with output /local/doc/tex/chinese.pdf.