5

I'm trying to write Chinese using pdfLaTeX. But currently I can only write Simplified Chinese Characters, If I try writing Traditional Chinese then the text wont show up.

This is what I have:

\documentclass{article}
\usepackage{CJKutf8}
\begin{document}
\begin{CJK*}{UTF8}{gbsn}
文章内容。
\clearpage\end{CJK*}
\end{document}

What would I need to do to get Traditional Chinese?

7

You must change the font.

gbsn is AR PL SungtiL GB (文鼎简报宋), a font using GB2312 character set. There's no glyphs for Traditional Chinese.

For CJK package, bsmi and bkai are possible choices of CJK font families for Traditional Chinese. Say, you can use

%!TeX program = pdfLaTeX
\documentclass{article}
\usepackage{CJKutf8}
\begin{document}
\begin{CJK*}{UTF8}{bsmi}
老闆來碗麵條。

{\CJKfamily{bkai}老闆來碗麵條。}
\clearpage\end{CJK*}
\end{document}

enter image description here

There may be more fonts if you use a special TeX distribution. For example cwTeX.

However, I think it is always preferred to use modern TeX engines like XeTeX. And it is easier to use any fonts you want to use. An example:

%!TeX program = XeLaTeX
\documentclass{article}
\usepackage{xeCJK}
\setCJKmainfont{MingLiU}
\setCJKsansfont{Microsoft JhengHei}
\begin{document}
老闆來碗麵條。

\textsf{老闆來碗麵條。}
\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.