1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
% This is the file JIS.tex of the CJK package
% for testing Japanese (in JIS encoding).
%
% written by Werner Lemberg <wl@gnu.org>
%
% Version 4.8.4 (18-Apr-2015)
\documentclass[12pt]{scrartcl}
\usepackage{CJK}
\usepackage[CJK, overlap]{ruby}
\renewcommand{\rubysep}{-0.2ex}
\begin{document}
\begin{CJK*}[dnp]{JIS}{min}
\CJKtilde
% CJKcaption works only with KOMA-script classes such as "scrartcl".
\CJKcaption{JIS}
\title{A Japanese example file for CJK in JIS}
\author{Danai SAE-HANʴãѡ}
\maketitle
\tableofcontents
\newcommand{\testpar}{~FAQ~ꥹȤϡ褯ȤᡢΩĤ褦
ˤΤǤ~FAQ~ꥹȤι¤ϡΤΤ٤ѹ
Ƥޤ\textbf{\ruby{}{}¤˴ؤƤϡ֤~FAQ~
ɤȤι¤פιܤ\ruby{}{}\ruby{}{礦}Ʋ
}}
\section{Wadalab Mincho ī}
\testpar
\section{Wadalab Gothic å}
\CJKfamily{goth}
\testpar
\section{Wadalab Maru }
\CJKfamily{maru}
\testpar
% We need to end the CJK environment with a \newpage; otherwise the
% .aux and .toc files sometimes get messed up. See `CJK.txt' in
% /usr/share/doc/latex-cjk-common/ for more information, under
% `Possible errors'.
\newpage
\end{CJK*}
\end{document}
%%% Local Variables:
%%% coding: euc-japan
%%% mode: latex
%%% TeX-master: t
%%% End:
|