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
|
## 06_extend_JIS_example.diff by <danai@debian.org>
##
## Add extra goodies in the JIS example file.
---
examples/JIS.tex | 24 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
--- cjk.orig/examples/JIS.tex
+++ cjk/examples/JIS.tex
@@ -5,24 +5,40 @@
%
% Version 4.8.5 (16-Oct-2021)
-\documentclass[12pt]{article}
+\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
-\noindent ~FAQ~ꥹȤϡ褯ȤᡢΩĤ褦
+\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
\end{CJK*}
|