File: 06_extend_JIS_example.diff

package info (click to toggle)
cjk 4.8.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,044 kB
  • sloc: lisp: 12,099; ansic: 4,435; sh: 3,985; perl: 1,804; makefile: 346
file content (55 lines) | stat: -rw-r--r-- 1,297 bytes parent folder | download | duplicates (2)
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*}