summaryrefslogtreecommitdiff
path: root/language/japanese/uptex-base/samples/yaku-jsc-jis.tex
blob: ecb071a5d17b740c174b861a2578c92721a1544f (plain)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
\makeatletter
\def\@default{default}
\def\jsbook{jsbook}
\ifx\class\@undefined
 \def\class{jsarticle}
\fi
\ifx\option\@undefined
 \def\option{default}
\fi
\ifx\option\@default
 \documentclass{\class}
\else
 \documentclass[\option]{\class}
\fi
\makeatother

\DeclareFontFamily{JY1}{min}{}
\DeclareFontFamily{JY1}{jis}{}
\DeclareFontShape{JY1}{min}{m}{n}{<->s*[0.961]min10}{}
\DeclareFontShape{JY1}{jis}{m}{n}{<->s*[0.961]jis}{}
\DeclareRobustCommand\minten{\kanjifamily{min}\selectfont}
\DeclareRobustCommand\jis{\kanjifamily{jis}\selectfont}

\begin{document}
option: \option
\ifx\class\jsbook
\chapter{$B?7%I%-%e%a%s%H%/%i%9(B}
\fi
\section{$BY92;!"6gFIE@$J$I(B}
\xdef\testtext{%
$B%+%`%A%c%C%+!%(B
$B$A$g$C$H!"BT$C$F!#$-$C$H!$%7%g%C%/!%(B~~
$B!F2s!G(B $B!H2s!I(B }%
\begin{tabular}{rl}\hline
default & \testtext\\\hline

min10.tfm &
{\minten \testtext}\\\hline

jis.tfm &
{\jis \testtext}\\\hline

\end{tabular}

\section{$BJ8;z$N%5%$%:$J$I(B}
\xdef\testtext{%
\frame{$B!'(B}~~\frame{$B!H(B}\frame{$B2s(B}\frame{$B!'(B}\frame{$B2s(B}\frame{$B!I(B}~~$B!H2s!'2s!I(B}%

{\huge
\begin{tabular}{rl}
default & \testtext\\

min10.tfm &
{\minten \testtext}\\

jis.tfm &
{\jis \testtext}\\

\end{tabular}
}

\section{$B3g8LN`(B}
\subsection{JIS X 0208$B$K$"$k$b$N(B}
$B!F2s!G(B $B!H2s!I(B $B!J2s!K(B $B!L2s!M(B $B!N2s!O(B $B!P2s!Q(B $B!R2s!S(B $B!T2s!U(B $B!V2s!W(B $B!X2s!Y(B $B!Z2s![(B

{\gt
$B!F2s!G(B $B!H2s!I(B $B!J2s!K(B $B!L2s!M(B $B!N2s!O(B $B!P2s!Q(B $B!R2s!S(B $B!T2s!U(B $B!V2s!W(B $B!X2s!Y(B $B!Z2s![(B
}
\end{document}