Created
March 21, 2016 11:46
-
-
Save taotao/cd17cc30c09f6122e0c6 to your computer and use it in GitHub Desktop.
xetex sample to write in 中文
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%% | |
%%% Prepare Chinese Font of 微軟正黑體 | |
%%% | |
%%% Make PDF file: | |
%%% xelatex xetex-sample.tex | |
%%% | |
\documentclass{article} | |
\usepackage{xeCJK} | |
\setCJKmainfont[BoldFont=msjhbd.ttf]{msjh.ttf} | |
\begin{document} | |
This is conent. | |
這是中文。 | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment