cjk (4.8.2+git20090105-5) 06_extend_JIS_example.diff

Summary

 examples/JIS.tex |   24 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)

    
download this patch

Patch contents

## 06_extend_JIS_example.diff by  <danai@debian.org>
##
## Add extra goodies in the JIS example file.

--- cjk-20060714/examples/JIS.tex	2007-02-05 01:40:40.878024813 +0100
+++ new/examples/JIS.tex	2007-02-05 02:28:49.951124178 +0100
@@ -5,24 +5,40 @@
 %
 % Version 4.8.2 (29-Dec-2008)
 
-\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*}