Display Chinese Characters in LaTex


document classes:

 ctexart(article), ctexrep(report) and ctexbook(book)

Example:

\documentclass{ctexart}
 
\setCJKmainfont{SimSun.ttf}
\setCJKsansfont{SimHei.ttf}
\setCJKmonofont{SimFang.ttf}
 
\begin{document}
 
\tableofcontents
 
\begin{abstract}
这是在文件的开头的介绍文字.本文的主要话题的简短说明.
\end{abstract}
 
\section{ 前言 }
在该第一部分中的一些额外的元素可以被添加。巴贝尔包将采取的翻译服务.
 
\section{关于数学部分}
在本节中的一些数学会使用数学模型含中文字符显示。
 
這是一個傳統的中國文字
 
\end{document}

Reference

 https://www.sharelatex.com/learn/Chinese


Comments

Popular posts from this blog

File Encoding

Basics