-
Notifications
You must be signed in to change notification settings - Fork 2
/
ygenkou.clo
96 lines (96 loc) · 3.03 KB
/
ygenkou.clo
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{ygenkou.clo}
[1999/01/17 v1.0 (横 option)]
\AtBeginDocument{\message{《横書き原稿用紙》}}%
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xpt{17}}%
\def\kanjiencodingdefault{JY2}%
%\def\kanjiencodingdefault{JY1}%
\kanjiencoding{\kanjiencodingdefault}%
\normalsize
\setbox0\hbox{\char\euc"A1A1}%
\setlength\Cht{\ht0}
\setlength\Cdp{\dp0}
\setlength\Cwd{\wd0}
\setlength\Cvs{\baselineskip}
\setlength\Chs{\wd0}
\newcommand{\small}{%
\@setfontsize\small\@ixpt{11}}%
\newcommand{\footnotesize}{%
\@setfontsize\footnotesize\@viiipt{9.5}}%
\newcommand{\scriptsize}{\@setfontsize\scriptsize\@viipt\@viiipt}
\newcommand{\tiny}{\@setfontsize\tiny\@vpt\@vipt}
\newcommand{\large}{\@setfontsize\large\@xiipt{29.6}}
\newcommand{\Large}{\@setfontsize\Large\@xivpt{33.9}}
%%****************************
\newlength{\@masutaka}
\newlength{\@masuhaba}
\newlength{\@gyokan}
\newlength{\@keihaba}
\newlength{\@thosei}
\newlength{\@yhosei}
\newlength{\KANJISKIP}
%% A4 横組み
\ifaiv
\AtBeginDocument{\Large\kanjiskip\KANJISKIP}
\arrayrulewidth=.3pt
\paperheight=296mm
\paperwidth=210mm
\if@kinsoku
\textwidth=166.8mm\else
\textwidth=166mm\fi
\textheight=231mm
\oddsidemargin=-28.5mm
\evensidemargin\oddsidemargin
\topmargin=-17.5mm\relax
\setlength{\@masutaka}{8.5mm}
\setlength{\@masuhaba}{8.5mm}
\setlength{\@keihaba}{170mm}
\setlength{\@thosei}{8.5mm}
\setlength{\@yhosei}{-5mm}
\setlength{\KANJISKIP}{10.3pt}
\setlength{\doublerulesep}{1.5mm}
\fi
%% B5 横組み
\ifbv
\AtBeginDocument{\large\kanjiskip\KANJISKIP}
\arrayrulewidth=.3pt
\paperheight=257mm
\paperwidth=182mm
\if@kinsoku
\textwidth=139.5mm\else
\textwidth=139mm\fi
\textheight=202mm
\oddsidemargin=-29mm
\evensidemargin\oddsidemargin
\topmargin=-25mm
\setlength{\@masutaka}{7mm}
\setlength{\@masuhaba}{7.1mm}
\setlength{\@keihaba}{142.2mm}
\setlength{\@thosei}{1.5mm}
\setlength{\@yhosei}{-5mm}
\setlength{\KANJISKIP}{8.7pt}
\setlength{\doublerulesep}{1.5mm}
\fi
\ifbiv
\message{B4横書きはサポートされていません.A4を使用します.}
\fi
\def\masutaka{\vrule width 0mm height \@masutaka}
\def\gyo{&&&&&&&&&&&&&&&&&&&\masutaka\\ \hline\hline}
\def\masu{%
\begin{tabular}{|p{\@keihaba}|}
\begin{tabular}{p{\@masuhaba}|p{\@masuhaba}|p{\@masuhaba}|p{\@masuhaba}|%
p{\@masuhaba}|p{\@masuhaba}|p{\@masuhaba}|p{\@masuhaba}|%
p{\@masuhaba}|p{\@masuhaba}|p{\@masuhaba}|p{\@masuhaba}|%
p{\@masuhaba}|p{\@masuhaba}|p{\@masuhaba}|p{\@masuhaba}|%
p{\@masuhaba}|p{\@masuhaba}|p{\@masuhaba}|p{\@masuhaba}}\hline
\gyo\gyo\gyo\gyo\gyo\gyo\gyo\gyo\gyo\gyo
\gyo\gyo\gyo\gyo\gyo\gyo\gyo\gyo\gyo
&&&&&&&&&&&&&&&&&&&\masutaka\\ \hline
\end{tabular}\\
\if@genkouid\multicolumn{1}{l}{\small\the\@signature}\fi
\end{tabular}}
\DeclareFontShape{JY2}{mc}{m}{n}{<-> gmin10}{}
%\DeclareFontShape{JY1}{mc}{m}{n}{<-> gmin10}{}
\endinput
%% End of file `ygenkou.clo'.