Skip to content

Instantly share code, notes, and snippets.

@tef
Created October 22, 2013 16:12
Show Gist options
  • Save tef/7103516 to your computer and use it in GitHub Desktop.
Save tef/7103516 to your computer and use it in GitHub Desktop.
Test of CJK in XeLaTeX
% Install these fonts http://ipafont.ipa.go.jp/#en
\documentclass[12pt]{article}
\usepackage{fontspec, xunicode, xeCJK}
\setCJKmainfont{IPAexMincho}
\setCJKsansfont{IPAexGothic}
\setCJKmonofont{IPAexGothic}
\begin{document}
Hello World, or こんにちは 世界!
\end{document}
@tef
Copy link
Author

tef commented Oct 22, 2013

Download http://ipafont.ipa.go.jp/ipaexfont/download.html#en
Installation http://ipafont.ipa.go.jp/fontinstall.html#en

Or apt-get install fonts-ipaexfont under ubuntu!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment