review 3.0.0.preview4 → 3.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS.ja.md +61 -4
- data/NEWS.md +61 -4
- data/README.md +2 -1
- data/doc/config.yml.sample +48 -20
- data/doc/config.yml.sample-simple +7 -6
- data/doc/format_idg.ja.md +6 -2
- data/doc/pdfmaker.ja.md +95 -4
- data/doc/pdfmaker.md +79 -0
- data/doc/quickstart.ja.md +26 -3
- data/doc/quickstart.md +25 -3
- data/doc/writing_vertical.ja.md +19 -2
- data/lib/review/epubmaker.rb +27 -27
- data/lib/review/i18n.yml +1 -0
- data/lib/review/init.rb +34 -22
- data/lib/review/latexbuilder.rb +95 -18
- data/lib/review/pdfmaker.rb +1 -0
- data/lib/review/update.rb +60 -25
- data/lib/review/version.rb +1 -1
- data/review.gemspec +1 -1
- data/samples/sample-book/src/config.yml +3 -3
- data/samples/syntax-book/config.yml +3 -3
- data/templates/latex/config.erb +3 -0
- data/templates/latex/review-jlreq/README.md +97 -7
- data/templates/latex/review-jlreq/review-base.sty +8 -0
- data/templates/latex/review-jlreq/review-jlreq.cls +28 -6
- data/templates/latex/review-jsbook/README.md +18 -20
- data/templates/latex/review-jsbook/review-base.sty +15 -0
- data/templates/latex/review-jsbook/review-jsbook.cls +172 -230
- data/test/test_epubmaker_cmd.rb +1 -1
- data/test/test_helper.rb +3 -3
- data/test/test_image_finder.rb +9 -9
- data/test/test_latexbuilder.rb +20 -1
- data/test/test_makerhelper.rb +12 -12
- data/test/test_pdfmaker_cmd.rb +1 -1
- data/test/test_update.rb +18 -4
- data/test/test_zip_exporter.rb +7 -7
- data/vendor/jsclasses/.gitignore +163 -0
- data/vendor/jsclasses/LICENSE +25 -0
- data/vendor/jsclasses/Makefile +88 -0
- data/vendor/jsclasses/README.md +43 -0
- data/vendor/jsclasses/create_archive.sh +59 -0
- data/vendor/jsclasses/jis/Makefile +62 -0
- data/vendor/jsclasses/jis/jsarticle.cls +1935 -0
- data/vendor/jsclasses/jis/jsbook.cls +2026 -0
- data/vendor/jsclasses/jis/jsclasses.dtx +5961 -0
- data/vendor/jsclasses/jis/jsclasses.ins +8 -0
- data/vendor/jsclasses/jis/jslogo.dtx +413 -0
- data/vendor/jsclasses/jis/jslogo.ins +4 -0
- data/vendor/jsclasses/jis/jslogo.sty +223 -0
- data/vendor/jsclasses/jis/jspf.cls +1766 -0
- data/vendor/jsclasses/jis/jsreport.cls +2020 -0
- data/vendor/jsclasses/jis/jsverb.dtx +322 -0
- data/vendor/jsclasses/jis/jsverb.ins +4 -0
- data/vendor/jsclasses/jis/jsverb.sty +128 -0
- data/vendor/jsclasses/jis/kiyou.cls +1882 -0
- data/vendor/jsclasses/jis/minijs.sty +52 -0
- data/vendor/jsclasses/jis/okumacro.dtx +1179 -0
- data/vendor/jsclasses/jis/okumacro.ins +4 -0
- data/vendor/jsclasses/jis/okumacro.sty +455 -0
- data/vendor/jsclasses/jis/okuverb.dtx +243 -0
- data/vendor/jsclasses/jis/okuverb.ins +4 -0
- data/vendor/jsclasses/jis/okuverb.sty +102 -0
- data/vendor/jsclasses/jis/winjis.sty +87 -0
- data/vendor/jsclasses/jsarticle.cls +1938 -0
- data/vendor/jsclasses/jsbook.cls +2029 -0
- data/vendor/jsclasses/jsclasses.dtx +5966 -0
- data/vendor/jsclasses/jsclasses.ins +8 -0
- data/vendor/jsclasses/jsclasses.pdf +0 -0
- data/vendor/jsclasses/jslogo.dtx +424 -0
- data/vendor/jsclasses/jslogo.ins +4 -0
- data/vendor/jsclasses/jslogo.pdf +0 -0
- data/vendor/jsclasses/jslogo.sty +223 -0
- data/vendor/jsclasses/jspf.cls +1769 -0
- data/vendor/jsclasses/jsreport.cls +2023 -0
- data/vendor/jsclasses/jsverb.dtx +333 -0
- data/vendor/jsclasses/jsverb.ins +4 -0
- data/vendor/jsclasses/jsverb.pdf +0 -0
- data/vendor/jsclasses/jsverb.sty +128 -0
- data/vendor/jsclasses/kiyou.cls +1885 -0
- data/vendor/jsclasses/minijs.sty +52 -0
- data/vendor/jsclasses/okumacro.dtx +1184 -0
- data/vendor/jsclasses/okumacro.ins +4 -0
- data/vendor/jsclasses/okumacro.pdf +0 -0
- data/vendor/jsclasses/okumacro.sty +458 -0
- data/vendor/jsclasses/okuverb.dtx +254 -0
- data/vendor/jsclasses/okuverb.ins +4 -0
- data/vendor/jsclasses/okuverb.pdf +0 -0
- data/vendor/jsclasses/okuverb.sty +102 -0
- data/vendor/jsclasses/winjis.sty +87 -0
- metadata +55 -2
@@ -0,0 +1,1885 @@
|
|
1
|
+
%%
|
2
|
+
%% This is file `kiyou.cls',
|
3
|
+
%% generated with the docstrip utility.
|
4
|
+
%%
|
5
|
+
%% The original source files were:
|
6
|
+
%%
|
7
|
+
%% jsclasses.dtx (with options: `kiyou')
|
8
|
+
%%
|
9
|
+
%% IMPORTANT NOTICE:
|
10
|
+
%%
|
11
|
+
%% For the copyright see the source file.
|
12
|
+
%%
|
13
|
+
%% Any modified versions of this file must be renamed
|
14
|
+
%% with new filenames distinct from kiyou.cls.
|
15
|
+
%%
|
16
|
+
%% For distribution of the original source see the terms
|
17
|
+
%% for copying and modification in the file jsclasses.dtx.
|
18
|
+
%%
|
19
|
+
%% This generated file may be distributed as long as the
|
20
|
+
%% original source files, as listed above, are part of the
|
21
|
+
%% same distribution. (The sources need not necessarily be
|
22
|
+
%% in the same archive or directory.)
|
23
|
+
\ifx\epTeXinputencoding\undefined\else
|
24
|
+
\epTeXinputencoding utf8 % ^^A added (2017-10-04)
|
25
|
+
\fi
|
26
|
+
\NeedsTeXFormat{pLaTeX2e}
|
27
|
+
\ProvidesClass{kiyou}
|
28
|
+
[2018/06/23 jsclasses (okumura, texjporg)]
|
29
|
+
\def\jsc@clsname{kiyou}
|
30
|
+
\newif\ifjsc@needsp@tch
|
31
|
+
\jsc@needsp@tchfalse
|
32
|
+
\newif\if@restonecol
|
33
|
+
\newif\if@titlepage
|
34
|
+
\newif\if@enablejfam \@enablejfamtrue
|
35
|
+
\DeclareOption{a3paper}{%
|
36
|
+
\setlength\paperheight {420mm}%
|
37
|
+
\setlength\paperwidth {297mm}}
|
38
|
+
\DeclareOption{a4paper}{%
|
39
|
+
\setlength\paperheight {297mm}%
|
40
|
+
\setlength\paperwidth {210mm}}
|
41
|
+
\DeclareOption{a5paper}{%
|
42
|
+
\setlength\paperheight {210mm}%
|
43
|
+
\setlength\paperwidth {148mm}}
|
44
|
+
\DeclareOption{a6paper}{%
|
45
|
+
\setlength\paperheight {148mm}%
|
46
|
+
\setlength\paperwidth {105mm}}
|
47
|
+
\DeclareOption{b4paper}{%
|
48
|
+
\setlength\paperheight {364mm}%
|
49
|
+
\setlength\paperwidth {257mm}}
|
50
|
+
\DeclareOption{b5paper}{%
|
51
|
+
\setlength\paperheight {257mm}%
|
52
|
+
\setlength\paperwidth {182mm}}
|
53
|
+
\DeclareOption{b6paper}{%
|
54
|
+
\setlength\paperheight {182mm}%
|
55
|
+
\setlength\paperwidth {128mm}}
|
56
|
+
\DeclareOption{a4j}{%
|
57
|
+
\setlength\paperheight {297mm}%
|
58
|
+
\setlength\paperwidth {210mm}}
|
59
|
+
\DeclareOption{a5j}{%
|
60
|
+
\setlength\paperheight {210mm}%
|
61
|
+
\setlength\paperwidth {148mm}}
|
62
|
+
\DeclareOption{b4j}{%
|
63
|
+
\setlength\paperheight {364mm}%
|
64
|
+
\setlength\paperwidth {257mm}}
|
65
|
+
\DeclareOption{b5j}{%
|
66
|
+
\setlength\paperheight {257mm}%
|
67
|
+
\setlength\paperwidth {182mm}}
|
68
|
+
\DeclareOption{a4var}{%
|
69
|
+
\setlength\paperheight {283mm}%
|
70
|
+
\setlength\paperwidth {210mm}}
|
71
|
+
\DeclareOption{b5var}{%
|
72
|
+
\setlength\paperheight {230mm}%
|
73
|
+
\setlength\paperwidth {182mm}}
|
74
|
+
\DeclareOption{letterpaper}{%
|
75
|
+
\setlength\paperheight {11in}%
|
76
|
+
\setlength\paperwidth {8.5in}}
|
77
|
+
\DeclareOption{legalpaper}{%
|
78
|
+
\setlength\paperheight {14in}%
|
79
|
+
\setlength\paperwidth {8.5in}}
|
80
|
+
\DeclareOption{executivepaper}{%
|
81
|
+
\setlength\paperheight {10.5in}%
|
82
|
+
\setlength\paperwidth {7.25in}}
|
83
|
+
\newif\if@landscape
|
84
|
+
\@landscapefalse
|
85
|
+
\DeclareOption{landscape}{\@landscapetrue}
|
86
|
+
\newif\if@slide
|
87
|
+
\@slidefalse
|
88
|
+
\newcommand{\@ptsize}{0}
|
89
|
+
\newif\ifjsc@mag\jsc@magtrue
|
90
|
+
\newif\ifjsc@mag@xreal\jsc@mag@xrealfalse
|
91
|
+
\def\jsc@magscale{1}
|
92
|
+
\DeclareOption{8pt}{\def\jsc@magscale{0.833}\renewcommand{\@ptsize}{-2}}
|
93
|
+
\DeclareOption{9pt}{\def\jsc@magscale{0.913}\renewcommand{\@ptsize}{-1}}
|
94
|
+
\DeclareOption{10pt}{\def\jsc@magscale{1}\renewcommand{\@ptsize}{0}}
|
95
|
+
\DeclareOption{11pt}{\def\jsc@magscale{1.095}\renewcommand{\@ptsize}{1}}
|
96
|
+
\DeclareOption{12pt}{\def\jsc@magscale{1.200}\renewcommand{\@ptsize}{2}}
|
97
|
+
\DeclareOption{14pt}{\def\jsc@magscale{1.440}\renewcommand{\@ptsize}{4}}
|
98
|
+
\DeclareOption{17pt}{\def\jsc@magscale{1.728}\renewcommand{\@ptsize}{7}}
|
99
|
+
\DeclareOption{20pt}{\def\jsc@magscale{2}\renewcommand{\@ptsize}{10}}
|
100
|
+
\DeclareOption{21pt}{\def\jsc@magscale{2.074}\renewcommand{\@ptsize}{11}}
|
101
|
+
\DeclareOption{25pt}{\def\jsc@magscale{2.488}\renewcommand{\@ptsize}{15}}
|
102
|
+
\DeclareOption{30pt}{\def\jsc@magscale{2.986}\renewcommand{\@ptsize}{20}}
|
103
|
+
\DeclareOption{36pt}{\def\jsc@magscale{3.583}\renewcommand{\@ptsize}{26}}
|
104
|
+
\DeclareOption{43pt}{\def\jsc@magscale{4.300}\renewcommand{\@ptsize}{33}}
|
105
|
+
\DeclareOption{12Q}{\def\jsc@magscale{0.923}\renewcommand{\@ptsize}{1200}}
|
106
|
+
\DeclareOption{14Q}{\def\jsc@magscale{1.077}\renewcommand{\@ptsize}{1400}}
|
107
|
+
\DeclareOption{10ptj}{\def\jsc@magscale{1.085}\renewcommand{\@ptsize}{1001}}
|
108
|
+
\DeclareOption{10.5ptj}{\def\jsc@magscale{1.139}\renewcommand{\@ptsize}{1051}}
|
109
|
+
\DeclareOption{11ptj}{\def\jsc@magscale{1.194}\renewcommand{\@ptsize}{1101}}
|
110
|
+
\DeclareOption{12ptj}{\def\jsc@magscale{1.302}\renewcommand{\@ptsize}{1201}}
|
111
|
+
\DeclareOption{usemag}{\jsc@magtrue\jsc@mag@xrealfalse}
|
112
|
+
\DeclareOption{nomag}{\jsc@magfalse\jsc@mag@xrealfalse}
|
113
|
+
\DeclareOption{nomag*}{\jsc@magfalse\jsc@mag@xrealtrue}
|
114
|
+
\hour\time \divide\hour by 60\relax
|
115
|
+
\@tempcnta\hour \multiply\@tempcnta 60\relax
|
116
|
+
\minute\time \advance\minute-\@tempcnta
|
117
|
+
\DeclareOption{tombow}{%
|
118
|
+
\tombowtrue \tombowdatetrue
|
119
|
+
\setlength{\@tombowwidth}{.1\p@}%
|
120
|
+
\@bannertoken{%
|
121
|
+
\jobname\space(\number\year-\two@digits\month-\two@digits\day
|
122
|
+
\space\two@digits\hour:\two@digits\minute)}%
|
123
|
+
\maketombowbox}
|
124
|
+
\DeclareOption{tombo}{%
|
125
|
+
\tombowtrue \tombowdatefalse
|
126
|
+
\setlength{\@tombowwidth}{.1\p@}%
|
127
|
+
\maketombowbox}
|
128
|
+
\DeclareOption{mentuke}{%
|
129
|
+
\tombowtrue \tombowdatefalse
|
130
|
+
\setlength{\@tombowwidth}{\z@}%
|
131
|
+
\maketombowbox}
|
132
|
+
\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
|
133
|
+
\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
|
134
|
+
\DeclareOption{vartwoside}{\@twosidetrue \@mparswitchfalse}
|
135
|
+
\DeclareOption{onecolumn}{\@twocolumnfalse}
|
136
|
+
\DeclareOption{twocolumn}{\@twocolumntrue}
|
137
|
+
\DeclareOption{titlepage}{\@titlepagetrue}
|
138
|
+
\DeclareOption{notitlepage}{\@titlepagefalse}
|
139
|
+
\def\eqnarray{%
|
140
|
+
\stepcounter{equation}%
|
141
|
+
\def\@currentlabel{\p@equation\theequation}%
|
142
|
+
\global\@eqnswtrue
|
143
|
+
\m@th
|
144
|
+
\global\@eqcnt\z@
|
145
|
+
\tabskip\@centering
|
146
|
+
\let\\\@eqncr
|
147
|
+
$$\everycr{}\halign to\displaywidth\bgroup
|
148
|
+
\hskip\@centering$\displaystyle\tabskip\z@skip{##}$\@eqnsel
|
149
|
+
&\global\@eqcnt\@ne \hfil$\displaystyle{{}##{}}$\hfil
|
150
|
+
&\global\@eqcnt\tw@ $\displaystyle{##}$\hfil\tabskip\@centering
|
151
|
+
&\global\@eqcnt\thr@@ \hb@xt@\z@\bgroup\hss##\egroup
|
152
|
+
\tabskip\z@skip
|
153
|
+
\cr}
|
154
|
+
\DeclareOption{leqno}{\input{leqno.clo}}
|
155
|
+
\DeclareOption{fleqn}{\input{fleqn.clo}%
|
156
|
+
\def\eqnarray{%
|
157
|
+
\stepcounter{equation}%
|
158
|
+
\def\@currentlabel{\p@equation\theequation}%
|
159
|
+
\global\@eqnswtrue\m@th
|
160
|
+
\global\@eqcnt\z@
|
161
|
+
\tabskip\mathindent
|
162
|
+
\let\\=\@eqncr
|
163
|
+
\setlength\abovedisplayskip{\topsep}%
|
164
|
+
\ifvmode
|
165
|
+
\addtolength\abovedisplayskip{\partopsep}%
|
166
|
+
\fi
|
167
|
+
\addtolength\abovedisplayskip{\parskip}%
|
168
|
+
\setlength\belowdisplayskip{\abovedisplayskip}%
|
169
|
+
\setlength\belowdisplayshortskip{\abovedisplayskip}%
|
170
|
+
\setlength\abovedisplayshortskip{\abovedisplayskip}%
|
171
|
+
$$\everycr{}\halign to\linewidth% $$
|
172
|
+
\bgroup
|
173
|
+
\hskip\@centering$\displaystyle\tabskip\z@skip{##}$\@eqnsel
|
174
|
+
&\global\@eqcnt\@ne \hfil$\displaystyle{{}##{}}$\hfil
|
175
|
+
&\global\@eqcnt\tw@
|
176
|
+
$\displaystyle{##}$\hfil \tabskip\@centering
|
177
|
+
&\global\@eqcnt\thr@@ \hb@xt@\z@\bgroup\hss##\egroup
|
178
|
+
\tabskip\z@skip\cr
|
179
|
+
}}
|
180
|
+
\DeclareOption{disablejfam}{\@enablejfamfalse}
|
181
|
+
\DeclareOption{draft}{\setlength\overfullrule{5pt}}
|
182
|
+
\DeclareOption{final}{\setlength\overfullrule{0pt}}
|
183
|
+
\newif\ifmingoth
|
184
|
+
\mingothfalse
|
185
|
+
\newif\ifjisfont
|
186
|
+
\jisfontfalse
|
187
|
+
\newif\if@jsc@uplatex
|
188
|
+
\@jsc@uplatexfalse
|
189
|
+
\newif\if@jsc@autodetect
|
190
|
+
\@jsc@autodetectfalse
|
191
|
+
\DeclareOption{winjis}{%
|
192
|
+
\ClassWarningNoLine{\jsc@clsname}{%
|
193
|
+
The option `winjis' has been removed;\MessageBreak
|
194
|
+
Use `\string\usepackage{winjis}' instead}}
|
195
|
+
\DeclareOption{mingoth}{\mingothtrue}
|
196
|
+
\DeclareOption{jis}{\jisfonttrue}
|
197
|
+
\DeclareOption{uplatex}{\@jsc@uplatextrue}
|
198
|
+
\DeclareOption{autodetect-engine}{\@jsc@autodetecttrue}
|
199
|
+
\def\jsc@JYn{\if@jsc@uplatex JY2\else JY1\fi}
|
200
|
+
\def\jsc@JTn{\if@jsc@uplatex JT2\else JT1\fi}
|
201
|
+
\def\jsc@pfx@{\if@jsc@uplatex u\else \fi}
|
202
|
+
\newif\ifpapersize
|
203
|
+
\papersizefalse
|
204
|
+
\DeclareOption{papersize}{\papersizetrue}
|
205
|
+
\newif\if@english
|
206
|
+
\@englishfalse
|
207
|
+
\DeclareOption{english}{\@englishtrue}
|
208
|
+
\newif\if@jslogo \@jslogotrue
|
209
|
+
\DeclareOption{jslogo}{\@jslogotrue}
|
210
|
+
\DeclareOption{nojslogo}{\@jslogofalse}
|
211
|
+
\ExecuteOptions{a4paper,twoside,twocolumn,notitlepage,final}
|
212
|
+
\ProcessOptions
|
213
|
+
\if@slide
|
214
|
+
\def\maybeblue{\@ifundefined{ver@color.sty}{}{\color{blue}}}
|
215
|
+
\fi
|
216
|
+
\if@landscape
|
217
|
+
\setlength\@tempdima {\paperheight}
|
218
|
+
\setlength\paperheight{\paperwidth}
|
219
|
+
\setlength\paperwidth {\@tempdima}
|
220
|
+
\fi
|
221
|
+
\ifnum \ifx\ucs\@undefined\z@\else\ucs"3000 \fi ="3000
|
222
|
+
\if@jsc@autodetect
|
223
|
+
\ClassInfo\jsc@clsname{Autodetected engine: upLaTeX}
|
224
|
+
\@jsc@uplatextrue
|
225
|
+
\g@addto@macro\@classoptionslist{,uplatex}
|
226
|
+
\fi
|
227
|
+
\if@jsc@uplatex\else
|
228
|
+
\ClassError\jsc@clsname
|
229
|
+
{You are running upLaTeX.\MessageBreak
|
230
|
+
Please use pLaTeX instead, or add 'uplatex' to\MessageBreak
|
231
|
+
the class option list}
|
232
|
+
{\@ehc}
|
233
|
+
\@jsc@uplatextrue
|
234
|
+
\fi
|
235
|
+
\else
|
236
|
+
\if@jsc@uplatex
|
237
|
+
\ClassError\jsc@clsname
|
238
|
+
{You are running pLaTeX.\MessageBreak
|
239
|
+
Please use upLaTeX instead, or remove 'uplatex' from\MessageBreak
|
240
|
+
the class option list}
|
241
|
+
{\@ehc}
|
242
|
+
\@jsc@uplatexfalse
|
243
|
+
\fi
|
244
|
+
\if@jsc@autodetect
|
245
|
+
\ClassInfo\jsc@clsname{Autodetected engine: pLaTeX}
|
246
|
+
\@jsc@uplatexfalse
|
247
|
+
\fi
|
248
|
+
\fi
|
249
|
+
\iftombow
|
250
|
+
\newdimen\stockwidth \newdimen\stockheight
|
251
|
+
\setlength{\stockwidth}{\paperwidth}
|
252
|
+
\setlength{\stockheight}{\paperheight}
|
253
|
+
\advance \stockwidth 2in
|
254
|
+
\advance \stockheight 2in
|
255
|
+
\fi
|
256
|
+
\ifpapersize
|
257
|
+
\iftombow
|
258
|
+
\AtBeginDvi{\special{papersize=\the\stockwidth,\the\stockheight}}
|
259
|
+
\else
|
260
|
+
\AtBeginDvi{\special{papersize=\the\paperwidth,\the\paperheight}}
|
261
|
+
\fi
|
262
|
+
\fi
|
263
|
+
\def\n@baseline{14.897}
|
264
|
+
\newdimen\jsc@mpt
|
265
|
+
\newdimen\jsc@mmm
|
266
|
+
\def\inv@mag{1}
|
267
|
+
\ifjsc@mag
|
268
|
+
\jsc@mpt=1\p@
|
269
|
+
\jsc@mmm=1mm
|
270
|
+
\ifnum\@ptsize=-2
|
271
|
+
\mag 833
|
272
|
+
\def\inv@mag{1.20048}
|
273
|
+
\def\n@baseline{15}%
|
274
|
+
\fi
|
275
|
+
\ifnum\@ptsize=-1
|
276
|
+
\mag 913 % formerly 900
|
277
|
+
\def\inv@mag{1.09529}
|
278
|
+
\def\n@baseline{15}%
|
279
|
+
\fi
|
280
|
+
\ifnum\@ptsize=1
|
281
|
+
\mag 1095 % formerly 1100
|
282
|
+
\def\inv@mag{0.913242}
|
283
|
+
\fi
|
284
|
+
\ifnum\@ptsize=2
|
285
|
+
\mag 1200
|
286
|
+
\def\inv@mag{0.833333}
|
287
|
+
\fi
|
288
|
+
\ifnum\@ptsize=4
|
289
|
+
\mag 1440
|
290
|
+
\def\inv@mag{0.694444}
|
291
|
+
\fi
|
292
|
+
\ifnum\@ptsize=7
|
293
|
+
\mag 1728
|
294
|
+
\def\inv@mag{0.578704}
|
295
|
+
\fi
|
296
|
+
\ifnum\@ptsize=10
|
297
|
+
\mag 2000
|
298
|
+
\def\inv@mag{0.5}
|
299
|
+
\fi
|
300
|
+
\ifnum\@ptsize=11
|
301
|
+
\mag 2074
|
302
|
+
\def\inv@mag{0.48216}
|
303
|
+
\fi
|
304
|
+
\ifnum\@ptsize=15
|
305
|
+
\mag 2488
|
306
|
+
\def\inv@mag{0.401929}
|
307
|
+
\fi
|
308
|
+
\ifnum\@ptsize=20
|
309
|
+
\mag 2986
|
310
|
+
\def\inv@mag{0.334896}
|
311
|
+
\fi
|
312
|
+
\ifnum\@ptsize=26
|
313
|
+
\mag 3583
|
314
|
+
\def\inv@mag{0.279096}
|
315
|
+
\fi
|
316
|
+
\ifnum\@ptsize=33
|
317
|
+
\mag 4300
|
318
|
+
\def\inv@mag{0.232558}
|
319
|
+
\fi
|
320
|
+
\ifnum\@ptsize=1200
|
321
|
+
\mag 923
|
322
|
+
\def\inv@mag{1.0834236}
|
323
|
+
\fi
|
324
|
+
\ifnum\@ptsize=1400
|
325
|
+
\mag 1077
|
326
|
+
\def\inv@mag{0.928505}
|
327
|
+
\fi
|
328
|
+
\ifnum\@ptsize=1001
|
329
|
+
\mag 1085
|
330
|
+
\def\inv@mag{0.921659}
|
331
|
+
\fi
|
332
|
+
\ifnum\@ptsize=1051
|
333
|
+
\mag 1139
|
334
|
+
\def\inv@mag{0.877963}
|
335
|
+
\fi
|
336
|
+
\ifnum\@ptsize=1101
|
337
|
+
\mag 1194
|
338
|
+
\def\inv@mag{0.837521}
|
339
|
+
\fi
|
340
|
+
\ifnum\@ptsize=1201
|
341
|
+
\mag 1302
|
342
|
+
\def\inv@mag{0.768049}
|
343
|
+
\fi
|
344
|
+
\else
|
345
|
+
\jsc@mpt=\jsc@magscale\p@
|
346
|
+
\jsc@mmm=\jsc@magscale mm
|
347
|
+
\def\inv@mag{1}
|
348
|
+
\ifnum\@ptsize=-2
|
349
|
+
\def\n@baseline{15}%
|
350
|
+
\fi
|
351
|
+
\ifnum\@ptsize=-1
|
352
|
+
\def\n@baseline{15}%
|
353
|
+
\fi
|
354
|
+
\fi
|
355
|
+
\def\jsc@magscale{0.9769230}
|
356
|
+
\ifjsc@mag
|
357
|
+
\mag 977
|
358
|
+
\def\inv@mag{1.02354}
|
359
|
+
\jsc@mpt=1\p@
|
360
|
+
\jsc@mmm=1mm
|
361
|
+
\else
|
362
|
+
\jsc@mpt=\jsc@magscale\p@
|
363
|
+
\jsc@mmm=\jsc@magscale mm
|
364
|
+
\def\inv@mag{1}
|
365
|
+
\fi
|
366
|
+
\ifjsc@mag@xreal
|
367
|
+
\RequirePackage{type1cm}
|
368
|
+
\mathchardef\jsc@csta=259
|
369
|
+
\def\jsc@invscale#1#2{%
|
370
|
+
\begingroup \@tempdima=#1\relax \@tempdimb#2\p@\relax
|
371
|
+
\@tempcnta\@tempdima \multiply\@tempcnta\@cclvi
|
372
|
+
\divide\@tempcnta\@tempdimb \multiply\@tempcnta\@cclvi
|
373
|
+
\@tempcntb\p@ \divide\@tempcntb\@tempdimb
|
374
|
+
\advance\@tempcnta-\@tempcntb \advance\@tempcnta-\tw@
|
375
|
+
\@tempdimb\@tempcnta\@ne
|
376
|
+
\advance\@tempcnta\@tempcntb \advance\@tempcnta\@tempcntb
|
377
|
+
\advance\@tempcnta\jsc@csta \@tempdimc\@tempcnta\@ne
|
378
|
+
\@whiledim\@tempdimb<\@tempdimc\do{%
|
379
|
+
\@tempcntb\@tempdimb \advance\@tempcntb\@tempdimc
|
380
|
+
\advance\@tempcntb\@ne \divide\@tempcntb\tw@
|
381
|
+
\ifdim #2\@tempcntb>\@tempdima
|
382
|
+
\advance\@tempcntb\m@ne \@tempdimc=\@tempcntb\@ne
|
383
|
+
\else \@tempdimb=\@tempcntb\@ne \fi}%
|
384
|
+
\xdef\jsc@gtmpa{\the\@tempdimb}%
|
385
|
+
\endgroup #1=\jsc@gtmpa\relax}
|
386
|
+
\expandafter\let\csname OT1/cmr/m/n/10\endcsname\relax
|
387
|
+
\expandafter\let\csname OMX/cmex/m/n/10\endcsname\relax
|
388
|
+
\let\jsc@get@external@font\get@external@font
|
389
|
+
\def\get@external@font{%
|
390
|
+
\jsc@preadjust@extract@font
|
391
|
+
\jsc@get@external@font}
|
392
|
+
\def\jsc@fstrunc#1{%
|
393
|
+
\edef\jsc@tmpa{\strip@pt#1}%
|
394
|
+
\expandafter\jsc@fstrunc@a\jsc@tmpa.****\@nil}
|
395
|
+
\def\jsc@fstrunc@a#1.#2#3#4#5#6\@nil{%
|
396
|
+
\if#5*\else
|
397
|
+
\edef\jsc@tmpa{#1%
|
398
|
+
\ifnum#2#3>\z@ .#2\ifnum#3>\z@ #3\fi\fi}%
|
399
|
+
\fi}
|
400
|
+
\def\jsc@preadjust@extract@font{%
|
401
|
+
\let\jsc@req@size\f@size
|
402
|
+
\dimen@\f@size\p@ \jsc@invscale\dimen@\jsc@magscale
|
403
|
+
\advance\dimen@.005pt\relax \jsc@fstrunc\dimen@
|
404
|
+
\let\jsc@ref@size\jsc@tmpa
|
405
|
+
\let\f@size\jsc@ref@size}
|
406
|
+
\def\execute@size@function#1{%
|
407
|
+
\let\jsc@cref@size\f@size
|
408
|
+
\let\f@size\jsc@req@size
|
409
|
+
\csname s@fct@#1\endcsname}
|
410
|
+
\let\jsc@DeclareErrorFont\DeclareErrorFont
|
411
|
+
\def\DeclareErrorFont#1#2#3#4#5{%
|
412
|
+
\@tempdimc#5\p@ \@tempdimc\jsc@magscale\@tempdimc
|
413
|
+
\edef\jsc@tmpa{{#1}{#2}{#3}{#4}{\strip@pt\@tempdimc}}
|
414
|
+
\expandafter\jsc@DeclareErrorFont\jsc@tmpa}
|
415
|
+
\def\gen@sfcnt{%
|
416
|
+
\edef\mandatory@arg{\mandatory@arg\jsc@cref@size}%
|
417
|
+
\empty@sfcnt}
|
418
|
+
\def\genb@sfcnt{%
|
419
|
+
\edef\mandatory@arg{%
|
420
|
+
\mandatory@arg\expandafter\genb@x\jsc@cref@size..\@@}%
|
421
|
+
\empty@sfcnt}
|
422
|
+
\DeclareErrorFont{OT1}{cmr}{m}{n}{10}
|
423
|
+
\fi
|
424
|
+
\def\jsc@smallskip{\vspace\jsc@smallskipamount}
|
425
|
+
\newskip\jsc@smallskipamount
|
426
|
+
\jsc@smallskipamount=3\jsc@mpt plus 1\jsc@mpt minus 1\jsc@mpt
|
427
|
+
\setlength\paperwidth{\inv@mag\paperwidth}%
|
428
|
+
\setlength\paperheight{\inv@mag\paperheight}%
|
429
|
+
\iftombow
|
430
|
+
\setlength\stockwidth{\inv@mag\stockwidth}%
|
431
|
+
\setlength\stockheight{\inv@mag\stockheight}%
|
432
|
+
\fi
|
433
|
+
\def\Cjascale{0.924690}
|
434
|
+
\ifmingoth
|
435
|
+
\DeclareFontShape{\jsc@JYn}{mc}{m}{n}{<-> s * [0.961] \jsc@pfx@ min10}{}
|
436
|
+
\DeclareFontShape{\jsc@JYn}{gt}{m}{n}{<-> s * [0.961] \jsc@pfx@ goth10}{}
|
437
|
+
\DeclareFontShape{\jsc@JTn}{mc}{m}{n}{<-> s * [0.961] \jsc@pfx@ tmin10}{}
|
438
|
+
\DeclareFontShape{\jsc@JTn}{gt}{m}{n}{<-> s * [0.961] \jsc@pfx@ tgoth10}{}
|
439
|
+
\else
|
440
|
+
\ifjisfont
|
441
|
+
\DeclareFontShape{\jsc@JYn}{mc}{m}{n}{<-> s * [0.961] \jsc@pfx@ jis}{}
|
442
|
+
\DeclareFontShape{\jsc@JYn}{gt}{m}{n}{<-> s * [0.961] \jsc@pfx@ jisg}{}
|
443
|
+
\DeclareFontShape{\jsc@JTn}{mc}{m}{n}{<-> s * [0.961] \jsc@pfx@ tmin10}{}
|
444
|
+
\DeclareFontShape{\jsc@JTn}{gt}{m}{n}{<-> s * [0.961] \jsc@pfx@ tgoth10}{}
|
445
|
+
\else
|
446
|
+
\if@jsc@uplatex
|
447
|
+
\DeclareFontShape{JY2}{mc}{m}{n}{<-> s * [0.924690] upjisr-h}{}
|
448
|
+
\DeclareFontShape{JY2}{gt}{m}{n}{<-> s * [0.924690] upjisg-h}{}
|
449
|
+
\DeclareFontShape{JT2}{mc}{m}{n}{<-> s * [0.924690] upjisr-v}{}
|
450
|
+
\DeclareFontShape{JT2}{gt}{m}{n}{<-> s * [0.924690] upjisg-v}{}
|
451
|
+
\else
|
452
|
+
\DeclareFontShape{\jsc@JYn}{mc}{m}{n}{<-> s * [0.961] \jsc@pfx@ jis}{}
|
453
|
+
\DeclareFontShape{\jsc@JYn}{gt}{m}{n}{<-> s * [0.961] \jsc@pfx@ jisg}{}
|
454
|
+
\DeclareFontShape{\jsc@JTn}{mc}{m}{n}{<-> s * [0.961] \jsc@pfx@ tmin10}{}
|
455
|
+
\DeclareFontShape{\jsc@JTn}{gt}{m}{n}{<-> s * [0.961] \jsc@pfx@ tgoth10}{}
|
456
|
+
\fi
|
457
|
+
\fi
|
458
|
+
\fi
|
459
|
+
\DeclareFontShape{\jsc@JYn}{mc}{m}{it}{<->ssub*mc/m/n}{}
|
460
|
+
\DeclareFontShape{\jsc@JYn}{mc}{m}{sl}{<->ssub*mc/m/n}{}
|
461
|
+
\DeclareFontShape{\jsc@JYn}{mc}{m}{sc}{<->ssub*mc/m/n}{}
|
462
|
+
\DeclareFontShape{\jsc@JYn}{gt}{m}{it}{<->ssub*gt/m/n}{}
|
463
|
+
\DeclareFontShape{\jsc@JYn}{gt}{m}{sl}{<->ssub*gt/m/n}{}
|
464
|
+
\DeclareFontShape{\jsc@JYn}{mc}{bx}{it}{<->ssub*gt/m/n}{}
|
465
|
+
\DeclareFontShape{\jsc@JYn}{mc}{bx}{sl}{<->ssub*gt/m/n}{}
|
466
|
+
\DeclareFontShape{\jsc@JTn}{mc}{m}{it}{<->ssub*mc/m/n}{}
|
467
|
+
\DeclareFontShape{\jsc@JTn}{mc}{m}{sl}{<->ssub*mc/m/n}{}
|
468
|
+
\DeclareFontShape{\jsc@JTn}{mc}{m}{sc}{<->ssub*mc/m/n}{}
|
469
|
+
\DeclareFontShape{\jsc@JTn}{gt}{m}{it}{<->ssub*gt/m/n}{}
|
470
|
+
\DeclareFontShape{\jsc@JTn}{gt}{m}{sl}{<->ssub*gt/m/n}{}
|
471
|
+
\DeclareFontShape{\jsc@JTn}{mc}{bx}{it}{<->ssub*gt/m/n}{}
|
472
|
+
\DeclareFontShape{\jsc@JTn}{mc}{bx}{sl}{<->ssub*gt/m/n}{}
|
473
|
+
\DeclareRobustCommand\rmfamily
|
474
|
+
{\not@math@alphabet\rmfamily\mathrm
|
475
|
+
\romanfamily\rmdefault\kanjifamily\mcdefault\selectfont}
|
476
|
+
\DeclareRobustCommand\sffamily
|
477
|
+
{\not@math@alphabet\sffamily\mathsf
|
478
|
+
\romanfamily\sfdefault\kanjifamily\gtdefault\selectfont}
|
479
|
+
\DeclareRobustCommand\ttfamily
|
480
|
+
{\not@math@alphabet\ttfamily\mathtt
|
481
|
+
\romanfamily\ttdefault\kanjifamily\gtdefault\selectfont}
|
482
|
+
\ifx\DeclareFixJFMCJKTextFontCommand\@undefined
|
483
|
+
\DeclareRobustCommand\textmc[1]{%
|
484
|
+
\relax\ifmmode \expandafter\nfss@text \fi{\mcfamily #1}}
|
485
|
+
\DeclareRobustCommand\textgt[1]{%
|
486
|
+
\relax\ifmmode \expandafter\nfss@text \fi{\gtfamily #1}}
|
487
|
+
\fi
|
488
|
+
\def\reDeclareMathAlphabet#1#2#3{%
|
489
|
+
\edef\@tempa{\expandafter\@gobble\string#2}%
|
490
|
+
\edef\@tempb{\expandafter\@gobble\string#3}%
|
491
|
+
\edef\@tempc{\string @\expandafter\@gobbletwo\string#2}%
|
492
|
+
\ifx\@tempc\@tempa%
|
493
|
+
\edef\@tempa{\expandafter\@gobbletwo\string#2}%
|
494
|
+
\edef\@tempb{\expandafter\@gobbletwo\string#3}%
|
495
|
+
\fi
|
496
|
+
\begingroup
|
497
|
+
\let\protect\noexpand
|
498
|
+
\def\@tempaa{\relax}%
|
499
|
+
\expandafter\ifx\csname RDMAorg@\@tempa\endcsname\relax
|
500
|
+
\edef\@tempaa{\expandafter\def\expandafter\noexpand%
|
501
|
+
\csname RDMAorg@\@tempa\endcsname{%
|
502
|
+
\expandafter\noexpand\csname\@tempa\endcsname}}%
|
503
|
+
\fi
|
504
|
+
\def\@tempbb{\relax}%
|
505
|
+
\expandafter\ifx\csname RDMAorg@\@tempb\endcsname\relax
|
506
|
+
\edef\@tempbb{\expandafter\def\expandafter\noexpand%
|
507
|
+
\csname RDMAorg@\@tempb\endcsname{%
|
508
|
+
\expandafter\noexpand\csname\@tempb\endcsname}}%
|
509
|
+
\fi
|
510
|
+
\edef\@tempc{\@tempaa\@tempbb}%
|
511
|
+
\expandafter\endgroup\@tempc%
|
512
|
+
\edef#1{\noexpand\protect\expandafter\noexpand\csname%
|
513
|
+
\expandafter\@gobble\string#1\space\space\endcsname}%
|
514
|
+
\expandafter\edef\csname\expandafter\@gobble\string#1\space\space\endcsname%
|
515
|
+
{\noexpand\DualLang@mathalph@bet%
|
516
|
+
{\expandafter\noexpand\csname RDMAorg@\@tempa\endcsname}%
|
517
|
+
{\expandafter\noexpand\csname RDMAorg@\@tempb\endcsname}%
|
518
|
+
}%
|
519
|
+
}
|
520
|
+
\@onlypreamble\reDeclareMathAlphabet
|
521
|
+
\def\DualLang@mathalph@bet#1#2{%
|
522
|
+
\relax\ifmmode
|
523
|
+
\ifx\math@bgroup\bgroup% 2e normal style (\mathrm{...})
|
524
|
+
\bgroup\let\DualLang@Mfontsw\DLMfontsw@standard
|
525
|
+
\else
|
526
|
+
\ifx\math@bgroup\relax% 2e two letter style (\rm->\mathrm)
|
527
|
+
\let\DualLang@Mfontsw\DLMfontsw@oldstyle
|
528
|
+
\else
|
529
|
+
\ifx\math@bgroup\@empty% 2.09 oldlfont style ({\mathrm ...})
|
530
|
+
\let\DualLang@Mfontsw\DLMfontsw@oldlfont
|
531
|
+
\else% panic! assume 2e normal style
|
532
|
+
\bgroup\let\DualLang@Mfontsw\DLMfontsw@standard
|
533
|
+
\fi
|
534
|
+
\fi
|
535
|
+
\fi
|
536
|
+
\else
|
537
|
+
\let\DualLang@Mfontsw\@firstoftwo
|
538
|
+
\fi
|
539
|
+
\DualLang@Mfontsw{#1}{#2}%
|
540
|
+
}
|
541
|
+
\def\DLMfontsw@standard#1#2#3{#1{#2{#3}}\egroup}
|
542
|
+
\def\DLMfontsw@oldstyle#1#2{#1\relax\@fontswitch\relax{#2}}
|
543
|
+
\def\DLMfontsw@oldlfont#1#2{#1\relax#2\relax}
|
544
|
+
\if@enablejfam
|
545
|
+
\DeclareSymbolFont{mincho}{\jsc@JYn}{mc}{m}{n}
|
546
|
+
\DeclareSymbolFontAlphabet{\mathmc}{mincho}
|
547
|
+
\SetSymbolFont{mincho}{bold}{\jsc@JYn}{gt}{m}{n}
|
548
|
+
\jfam\symmincho
|
549
|
+
\DeclareMathAlphabet{\mathgt}{\jsc@JYn}{gt}{m}{n}
|
550
|
+
\AtBeginDocument{%
|
551
|
+
\reDeclareMathAlphabet{\mathrm}{\@mathrm}{\@mathmc}
|
552
|
+
\reDeclareMathAlphabet{\mathbf}{\@mathbf}{\@mathgt}}
|
553
|
+
\fi
|
554
|
+
\prebreakpenalty\jis"2147=10000 % 5000 ’
|
555
|
+
\postbreakpenalty\jis"2148=10000 % 5000 “
|
556
|
+
\prebreakpenalty\jis"2149=10000 % 5000 ”
|
557
|
+
\inhibitxspcode`!=1
|
558
|
+
\inhibitxspcode`〒=2
|
559
|
+
\xspcode`+=3
|
560
|
+
\xspcode`\%=3
|
561
|
+
\xspcode`^^80=3
|
562
|
+
\xspcode`^^81=3
|
563
|
+
\xspcode`^^82=3
|
564
|
+
\xspcode`^^83=3
|
565
|
+
\xspcode`^^84=3
|
566
|
+
\xspcode`^^85=3
|
567
|
+
\xspcode`^^86=3
|
568
|
+
\xspcode`^^87=3
|
569
|
+
\xspcode`^^88=3
|
570
|
+
\xspcode`^^89=3
|
571
|
+
\xspcode`^^8a=3
|
572
|
+
\xspcode`^^8b=3
|
573
|
+
\xspcode`^^8c=3
|
574
|
+
\xspcode`^^8d=3
|
575
|
+
\xspcode`^^8e=3
|
576
|
+
\xspcode`^^8f=3
|
577
|
+
\xspcode`^^90=3
|
578
|
+
\xspcode`^^91=3
|
579
|
+
\xspcode`^^92=3
|
580
|
+
\xspcode`^^93=3
|
581
|
+
\xspcode`^^94=3
|
582
|
+
\xspcode`^^95=3
|
583
|
+
\xspcode`^^96=3
|
584
|
+
\xspcode`^^97=3
|
585
|
+
\xspcode`^^98=3
|
586
|
+
\xspcode`^^99=3
|
587
|
+
\xspcode`^^9a=3
|
588
|
+
\xspcode`^^9b=3
|
589
|
+
\xspcode`^^9c=3
|
590
|
+
\xspcode`^^9d=3
|
591
|
+
\xspcode`^^9e=3
|
592
|
+
\xspcode`^^9f=3
|
593
|
+
\xspcode`^^a0=3
|
594
|
+
\xspcode`^^a1=3
|
595
|
+
\xspcode`^^a2=3
|
596
|
+
\xspcode`^^a3=3
|
597
|
+
\xspcode`^^a4=3
|
598
|
+
\xspcode`^^a5=3
|
599
|
+
\xspcode`^^a6=3
|
600
|
+
\xspcode`^^a7=3
|
601
|
+
\xspcode`^^a8=3
|
602
|
+
\xspcode`^^a9=3
|
603
|
+
\xspcode`^^aa=3
|
604
|
+
\xspcode`^^ab=3
|
605
|
+
\xspcode`^^ac=3
|
606
|
+
\xspcode`^^ad=3
|
607
|
+
\xspcode`^^ae=3
|
608
|
+
\xspcode`^^af=3
|
609
|
+
\xspcode`^^b0=3
|
610
|
+
\xspcode`^^b1=3
|
611
|
+
\xspcode`^^b2=3
|
612
|
+
\xspcode`^^b3=3
|
613
|
+
\xspcode`^^b4=3
|
614
|
+
\xspcode`^^b5=3
|
615
|
+
\xspcode`^^b6=3
|
616
|
+
\xspcode`^^b7=3
|
617
|
+
\xspcode`^^b8=3
|
618
|
+
\xspcode`^^b9=3
|
619
|
+
\xspcode`^^ba=3
|
620
|
+
\xspcode`^^bb=3
|
621
|
+
\xspcode`^^bc=3
|
622
|
+
\xspcode`^^bd=3
|
623
|
+
\xspcode`^^be=3
|
624
|
+
\xspcode`^^bf=3
|
625
|
+
\xspcode`^^c0=3
|
626
|
+
\xspcode`^^c1=3
|
627
|
+
\xspcode`^^c2=3
|
628
|
+
\xspcode`^^c3=3
|
629
|
+
\xspcode`^^c4=3
|
630
|
+
\xspcode`^^c5=3
|
631
|
+
\xspcode`^^c6=3
|
632
|
+
\xspcode`^^c7=3
|
633
|
+
\xspcode`^^c8=3
|
634
|
+
\xspcode`^^c9=3
|
635
|
+
\xspcode`^^ca=3
|
636
|
+
\xspcode`^^cb=3
|
637
|
+
\xspcode`^^cc=3
|
638
|
+
\xspcode`^^cd=3
|
639
|
+
\xspcode`^^ce=3
|
640
|
+
\xspcode`^^cf=3
|
641
|
+
\xspcode`^^d0=3
|
642
|
+
\xspcode`^^d1=3
|
643
|
+
\xspcode`^^d2=3
|
644
|
+
\xspcode`^^d3=3
|
645
|
+
\xspcode`^^d4=3
|
646
|
+
\xspcode`^^d5=3
|
647
|
+
\xspcode`^^d6=3
|
648
|
+
\xspcode`^^d7=3
|
649
|
+
\xspcode`^^d8=3
|
650
|
+
\xspcode`^^d9=3
|
651
|
+
\xspcode`^^da=3
|
652
|
+
\xspcode`^^db=3
|
653
|
+
\xspcode`^^dc=3
|
654
|
+
\xspcode`^^dd=3
|
655
|
+
\xspcode`^^de=3
|
656
|
+
\xspcode`^^df=3
|
657
|
+
\xspcode`^^e0=3
|
658
|
+
\xspcode`^^e1=3
|
659
|
+
\xspcode`^^e2=3
|
660
|
+
\xspcode`^^e3=3
|
661
|
+
\xspcode`^^e4=3
|
662
|
+
\xspcode`^^e5=3
|
663
|
+
\xspcode`^^e6=3
|
664
|
+
\xspcode`^^e7=3
|
665
|
+
\xspcode`^^e8=3
|
666
|
+
\xspcode`^^e9=3
|
667
|
+
\xspcode`^^ea=3
|
668
|
+
\xspcode`^^eb=3
|
669
|
+
\xspcode`^^ec=3
|
670
|
+
\xspcode`^^ed=3
|
671
|
+
\xspcode`^^ee=3
|
672
|
+
\xspcode`^^ef=3
|
673
|
+
\xspcode`^^f0=3
|
674
|
+
\xspcode`^^f1=3
|
675
|
+
\xspcode`^^f2=3
|
676
|
+
\xspcode`^^f3=3
|
677
|
+
\xspcode`^^f4=3
|
678
|
+
\xspcode`^^f5=3
|
679
|
+
\xspcode`^^f6=3
|
680
|
+
\xspcode`^^f7=3
|
681
|
+
\xspcode`^^f8=3
|
682
|
+
\xspcode`^^f9=3
|
683
|
+
\xspcode`^^fa=3
|
684
|
+
\xspcode`^^fb=3
|
685
|
+
\xspcode`^^fc=3
|
686
|
+
\xspcode`^^fd=3
|
687
|
+
\xspcode`^^fe=3
|
688
|
+
\xspcode`^^ff=3
|
689
|
+
\def\@{\spacefactor3000{}}
|
690
|
+
\def\@setfontsize#1#2#3{%
|
691
|
+
\ifx\protect\@typeset@protect
|
692
|
+
\let\@currsize#1%
|
693
|
+
\fi
|
694
|
+
\fontsize{#2}{#3}\selectfont
|
695
|
+
\ifdim\parindent>\z@
|
696
|
+
\if@english
|
697
|
+
\parindent=1em
|
698
|
+
\else
|
699
|
+
\parindent=1zw
|
700
|
+
\fi
|
701
|
+
\fi
|
702
|
+
\kanjiskip=0zw plus .1zw minus .01zw
|
703
|
+
\ifdim\xkanjiskip>\z@
|
704
|
+
\if@slide \xkanjiskip=0.1em \else
|
705
|
+
\xkanjiskip=0.25em plus 0.15em minus 0.06em
|
706
|
+
\fi
|
707
|
+
\fi}
|
708
|
+
\def\jsc@setfontsize#1#2#3{%
|
709
|
+
\@setfontsize#1{#2\jsc@mpt}{#3\jsc@mpt}}
|
710
|
+
\emergencystretch 3zw
|
711
|
+
\newif\ifnarrowbaselines
|
712
|
+
\if@english
|
713
|
+
\narrowbaselinestrue
|
714
|
+
\fi
|
715
|
+
\def\narrowbaselines{%
|
716
|
+
\narrowbaselinestrue
|
717
|
+
\skip0=\abovedisplayskip
|
718
|
+
\skip2=\abovedisplayshortskip
|
719
|
+
\skip4=\belowdisplayskip
|
720
|
+
\skip6=\belowdisplayshortskip
|
721
|
+
\@currsize\selectfont
|
722
|
+
\abovedisplayskip=\skip0
|
723
|
+
\abovedisplayshortskip=\skip2
|
724
|
+
\belowdisplayskip=\skip4
|
725
|
+
\belowdisplayshortskip=\skip6\relax}
|
726
|
+
\def\widebaselines{\narrowbaselinesfalse\@currsize\selectfont}
|
727
|
+
\renewcommand{\normalsize}{%
|
728
|
+
\ifnarrowbaselines
|
729
|
+
\jsc@setfontsize\normalsize\@xpt\@xiipt
|
730
|
+
\else
|
731
|
+
\jsc@setfontsize\normalsize\@xpt{\n@baseline}%
|
732
|
+
\fi
|
733
|
+
\abovedisplayskip 11\jsc@mpt \@plus3\jsc@mpt \@minus4\jsc@mpt
|
734
|
+
\abovedisplayshortskip \z@ \@plus3\jsc@mpt
|
735
|
+
\belowdisplayskip 9\jsc@mpt \@plus3\jsc@mpt \@minus4\jsc@mpt
|
736
|
+
\belowdisplayshortskip \belowdisplayskip
|
737
|
+
\let\@listi\@listI}
|
738
|
+
\normalsize
|
739
|
+
\setbox0\hbox{\char\jis"3441}%
|
740
|
+
\setlength\Cht{\ht0}
|
741
|
+
\setlength\Cdp{\dp0}
|
742
|
+
\setlength\Cwd{\wd0}
|
743
|
+
\setlength\Cvs{\baselineskip}
|
744
|
+
\setlength\Chs{\wd0}
|
745
|
+
\setbox0=\box\voidb@x
|
746
|
+
\newcommand{\small}{%
|
747
|
+
\ifnarrowbaselines
|
748
|
+
\jsc@setfontsize\small{8.8888}{11}%
|
749
|
+
\else
|
750
|
+
\jsc@setfontsize\small{8.8888}{13.2418}%
|
751
|
+
\fi
|
752
|
+
\abovedisplayskip 9\jsc@mpt \@plus3\jsc@mpt \@minus4\jsc@mpt
|
753
|
+
\abovedisplayshortskip \z@ \@plus3\jsc@mpt
|
754
|
+
\belowdisplayskip \abovedisplayskip
|
755
|
+
\belowdisplayshortskip \belowdisplayskip
|
756
|
+
\def\@listi{\leftmargin\leftmargini
|
757
|
+
\topsep \z@
|
758
|
+
\parsep \z@
|
759
|
+
\itemsep \parsep}}
|
760
|
+
\newcommand{\footnotesize}{%
|
761
|
+
\ifnarrowbaselines
|
762
|
+
\jsc@setfontsize\footnotesize{8.8888}{11}%
|
763
|
+
\else
|
764
|
+
\jsc@setfontsize\footnotesize{8.8888}{13.2418}%
|
765
|
+
\fi
|
766
|
+
\abovedisplayskip 6\jsc@mpt \@plus2\jsc@mpt \@minus3\jsc@mpt
|
767
|
+
\abovedisplayshortskip \z@ \@plus2\jsc@mpt
|
768
|
+
\belowdisplayskip \abovedisplayskip
|
769
|
+
\belowdisplayshortskip \belowdisplayskip
|
770
|
+
\def\@listi{\leftmargin\leftmargini
|
771
|
+
\topsep \z@
|
772
|
+
\parsep \z@
|
773
|
+
\itemsep \parsep}}
|
774
|
+
\newcommand{\scriptsize}{\jsc@setfontsize\scriptsize\@viipt\@viiipt}
|
775
|
+
\newcommand{\tiny}{\jsc@setfontsize\tiny\@vpt\@vipt}
|
776
|
+
\if@twocolumn
|
777
|
+
\newcommand{\large}{\jsc@setfontsize\large{11.111}{\n@baseline}}
|
778
|
+
\else
|
779
|
+
\newcommand{\large}{\jsc@setfontsize\large{11.111}{17}}
|
780
|
+
\fi
|
781
|
+
\newcommand{\Large}{\jsc@setfontsize\Large{12.222}{21}}
|
782
|
+
\newcommand{\LARGE}{\jsc@setfontsize\LARGE\@xviipt{25}}
|
783
|
+
\newcommand{\huge}{\jsc@setfontsize\huge\@xxpt{28}}
|
784
|
+
\newcommand{\Huge}{\jsc@setfontsize\Huge\@xxvpt{33}}
|
785
|
+
\newcommand{\HUGE}{\jsc@setfontsize\HUGE{30}{40}}
|
786
|
+
\everydisplay=\expandafter{\the\everydisplay \narrowbaselines}
|
787
|
+
\newcommand{\headfont}{\gtfamily\sffamily}
|
788
|
+
\setlength\columnsep{28truebp}
|
789
|
+
\setlength\columnseprule{\z@}
|
790
|
+
\setlength\lineskip{1\jsc@mpt}
|
791
|
+
\setlength\normallineskip{1\jsc@mpt}
|
792
|
+
\setlength\lineskiplimit{1\jsc@mpt}
|
793
|
+
\setlength\normallineskiplimit{1\jsc@mpt}
|
794
|
+
\renewcommand{\baselinestretch}{}
|
795
|
+
\setlength\parskip{\z@}
|
796
|
+
\if@slide
|
797
|
+
\setlength\parindent{0zw}
|
798
|
+
\else
|
799
|
+
\setlength\parindent{1zw}
|
800
|
+
\fi
|
801
|
+
\@lowpenalty 51
|
802
|
+
\@medpenalty 151
|
803
|
+
\@highpenalty 301
|
804
|
+
\setlength\topskip{1.38zw}%% from 10\jsc@mpt (2016-08-17)
|
805
|
+
\if@slide
|
806
|
+
\setlength\headheight{0\jsc@mpt}
|
807
|
+
\else
|
808
|
+
\setlength\headheight{20\jsc@mpt}%% from 2\topskip (2016-08-17); from \topskip (2003-06-26)
|
809
|
+
\fi
|
810
|
+
\if@slide
|
811
|
+
\setlength\footskip{0pt}
|
812
|
+
\else
|
813
|
+
\setlength\footskip{0.03367\paperheight}
|
814
|
+
\ifdim\footskip<\baselineskip
|
815
|
+
\setlength\footskip{\baselineskip}
|
816
|
+
\fi
|
817
|
+
\fi
|
818
|
+
\setlength\headheight{0\jsc@mpt}
|
819
|
+
\setlength\headsep{0\jsc@mpt}
|
820
|
+
\addtolength\headsep{-\topskip}%% added (2016-10-08)
|
821
|
+
\addtolength\headsep{10\jsc@mpt}%% added (2016-10-08)
|
822
|
+
\setlength\maxdepth{.5\topskip}
|
823
|
+
\newdimen\fullwidth
|
824
|
+
\setlength\fullwidth{48zw}
|
825
|
+
\addtolength\fullwidth{\columnsep}
|
826
|
+
\setlength\textwidth{\fullwidth}
|
827
|
+
\setlength{\textheight}{47\baselineskip}
|
828
|
+
\addtolength{\textheight}{\topskip}
|
829
|
+
\addtolength{\textheight}{0.1\jsc@mpt}
|
830
|
+
\def\flushbottom{%
|
831
|
+
\def\@textbottom{\vskip \z@ \@plus.1\jsc@mpt}%
|
832
|
+
\let\@texttop\relax}
|
833
|
+
\setlength\marginparsep{\columnsep}
|
834
|
+
\setlength\marginparpush{\baselineskip}
|
835
|
+
\setlength{\oddsidemargin}{\paperwidth}
|
836
|
+
\addtolength{\oddsidemargin}{-\fullwidth}
|
837
|
+
\setlength{\oddsidemargin}{.5\oddsidemargin}
|
838
|
+
\iftombow
|
839
|
+
\addtolength{\oddsidemargin}{-1in}
|
840
|
+
\else
|
841
|
+
\addtolength{\oddsidemargin}{-\inv@mag in}
|
842
|
+
\fi
|
843
|
+
\setlength{\evensidemargin}{\oddsidemargin}
|
844
|
+
\if@mparswitch
|
845
|
+
\addtolength{\evensidemargin}{\fullwidth}
|
846
|
+
\addtolength{\evensidemargin}{-\textwidth}
|
847
|
+
\fi
|
848
|
+
\setlength\marginparwidth{\paperwidth}
|
849
|
+
\addtolength\marginparwidth{-\oddsidemargin}
|
850
|
+
\addtolength\marginparwidth{-\inv@mag in}
|
851
|
+
\addtolength\marginparwidth{-\textwidth}
|
852
|
+
\addtolength\marginparwidth{-10\jsc@mmm}
|
853
|
+
\addtolength\marginparwidth{-\marginparsep}
|
854
|
+
\@tempdima=1zw
|
855
|
+
\divide\marginparwidth\@tempdima
|
856
|
+
\multiply\marginparwidth\@tempdima
|
857
|
+
\setlength\topmargin{\paperheight}
|
858
|
+
\addtolength\topmargin{-\textheight}
|
859
|
+
\if@slide
|
860
|
+
\addtolength\topmargin{-\headheight}
|
861
|
+
\else
|
862
|
+
\addtolength\topmargin{-10\jsc@mpt}%% from -\topskip (2016-10-08); from -\headheight (2003-06-26)
|
863
|
+
\fi
|
864
|
+
\addtolength\topmargin{-\headsep}
|
865
|
+
\addtolength\topmargin{-\footskip}
|
866
|
+
\setlength\topmargin{0.5\topmargin}
|
867
|
+
\setlength\topmargin{81truebp}
|
868
|
+
\iftombow
|
869
|
+
\addtolength\topmargin{-1in}
|
870
|
+
\else
|
871
|
+
\addtolength\topmargin{-\inv@mag in}
|
872
|
+
\fi
|
873
|
+
{\footnotesize\global\setlength\footnotesep{\baselineskip}}
|
874
|
+
\setlength\footnotesep{0.7\footnotesep}
|
875
|
+
\setlength{\skip\footins}{16\jsc@mpt \@plus 5\jsc@mpt \@minus 2\jsc@mpt}
|
876
|
+
\setcounter{topnumber}{9}
|
877
|
+
\renewcommand{\topfraction}{.85}
|
878
|
+
\setcounter{bottomnumber}{9}
|
879
|
+
\renewcommand{\bottomfraction}{.8}
|
880
|
+
\setcounter{totalnumber}{20}
|
881
|
+
\renewcommand{\textfraction}{.1}
|
882
|
+
\renewcommand{\floatpagefraction}{.8}
|
883
|
+
\setcounter{dbltopnumber}{9}
|
884
|
+
\renewcommand{\dbltopfraction}{.8}
|
885
|
+
\renewcommand{\dblfloatpagefraction}{.8}
|
886
|
+
\setlength\floatsep {12\jsc@mpt \@plus 2\jsc@mpt \@minus 2\jsc@mpt}
|
887
|
+
\setlength\textfloatsep{20\jsc@mpt \@plus 2\jsc@mpt \@minus 4\jsc@mpt}
|
888
|
+
\setlength\intextsep {12\jsc@mpt \@plus 2\jsc@mpt \@minus 2\jsc@mpt}
|
889
|
+
\setlength\dblfloatsep {12\jsc@mpt \@plus 2\jsc@mpt \@minus 2\jsc@mpt}
|
890
|
+
\setlength\dbltextfloatsep{20\jsc@mpt \@plus 2\jsc@mpt \@minus 4\jsc@mpt}
|
891
|
+
\setlength\@fptop{0\jsc@mpt \@plus 1fil}
|
892
|
+
\setlength\@fpsep{8\jsc@mpt \@plus 2fil}
|
893
|
+
\setlength\@fpbot{0\jsc@mpt \@plus 1fil}
|
894
|
+
\setlength\@dblfptop{0\jsc@mpt \@plus 1fil}
|
895
|
+
\setlength\@dblfpsep{8\jsc@mpt \@plus 2fil}
|
896
|
+
\setlength\@dblfpbot{0\jsc@mpt \@plus 1fil}
|
897
|
+
\def\ps@plainfoot{%
|
898
|
+
\let\@mkboth\@gobbletwo
|
899
|
+
\let\@oddhead\@empty
|
900
|
+
\def\@oddfoot{\normalfont\hfil\thepage\hfil}%
|
901
|
+
\let\@evenhead\@empty
|
902
|
+
\let\@evenfoot\@oddfoot}
|
903
|
+
\def\ps@plainhead{%
|
904
|
+
\let\@mkboth\@gobbletwo
|
905
|
+
\let\@oddfoot\@empty
|
906
|
+
\let\@evenfoot\@empty
|
907
|
+
\def\@evenhead{%
|
908
|
+
\if@mparswitch \hss \fi
|
909
|
+
\hbox to \fullwidth{\textbf{\thepage}\hfil}%
|
910
|
+
\if@mparswitch\else \hss \fi}%
|
911
|
+
\def\@oddhead{%
|
912
|
+
\hbox to \fullwidth{\hfil\textbf{\thepage}}\hss}}
|
913
|
+
\let\ps@plain\ps@plainfoot
|
914
|
+
\if@twoside
|
915
|
+
\def\ps@headings{%
|
916
|
+
\let\@oddfoot\@empty
|
917
|
+
\let\@evenfoot\@empty
|
918
|
+
\def\@evenhead{\if@mparswitch \hss \fi
|
919
|
+
\underline{\hbox to \fullwidth{\textbf{\thepage}\hfil\leftmark}}%
|
920
|
+
\if@mparswitch\else \hss \fi}%
|
921
|
+
\def\@oddhead{%
|
922
|
+
\underline{%
|
923
|
+
\hbox to \fullwidth{{\rightmark}\hfil\textbf{\thepage}}}\hss}%
|
924
|
+
\let\@mkboth\markboth
|
925
|
+
\def\sectionmark##1{\markboth{%
|
926
|
+
\ifnum \c@secnumdepth >\z@ \thesection \hskip1zw\fi
|
927
|
+
##1}{}}%
|
928
|
+
\def\subsectionmark##1{\markright{%
|
929
|
+
\ifnum \c@secnumdepth >\@ne \thesubsection \hskip1zw\fi
|
930
|
+
##1}}%
|
931
|
+
}
|
932
|
+
\else % if not twoside
|
933
|
+
\def\ps@headings{%
|
934
|
+
\let\@oddfoot\@empty
|
935
|
+
\def\@oddhead{%
|
936
|
+
\underline{%
|
937
|
+
\hbox to \fullwidth{{\rightmark}\hfil\textbf{\thepage}}}\hss}%
|
938
|
+
\let\@mkboth\markboth
|
939
|
+
\def\sectionmark##1{\markright{%
|
940
|
+
\ifnum \c@secnumdepth >\z@ \thesection \hskip1zw\fi
|
941
|
+
##1}}}
|
942
|
+
\fi
|
943
|
+
\def\ps@myheadings{%
|
944
|
+
\let\@oddfoot\@empty\let\@evenfoot\@empty
|
945
|
+
\def\@evenhead{%
|
946
|
+
\if@mparswitch \hss \fi%
|
947
|
+
\hbox to \fullwidth{\thepage\hfil\leftmark}%
|
948
|
+
\if@mparswitch\else \hss \fi}%
|
949
|
+
\def\@oddhead{%
|
950
|
+
\hbox to \fullwidth{\rightmark\hfil\thepage}\hss}%
|
951
|
+
\let\@mkboth\@gobbletwo
|
952
|
+
\let\sectionmark\@gobble
|
953
|
+
\let\subsectionmark\@gobble
|
954
|
+
}
|
955
|
+
\def\plainifnotempty{%
|
956
|
+
\ifx \@oddhead \@empty
|
957
|
+
\ifx \@oddfoot \@empty
|
958
|
+
\else
|
959
|
+
\thispagestyle{plainfoot}%
|
960
|
+
\fi
|
961
|
+
\else
|
962
|
+
\thispagestyle{plainhead}%
|
963
|
+
\fi}
|
964
|
+
\if@titlepage
|
965
|
+
\newcommand{\maketitle}{%
|
966
|
+
\begin{titlepage}%
|
967
|
+
\let\footnotesize\small
|
968
|
+
\let\footnoterule\relax
|
969
|
+
\let\footnote\thanks
|
970
|
+
\null\vfil
|
971
|
+
\if@slide
|
972
|
+
{\footnotesize \@date}%
|
973
|
+
\begin{center}
|
974
|
+
\mbox{} \\[1zw]
|
975
|
+
\large
|
976
|
+
{\maybeblue\hrule height0\jsc@mpt depth2\jsc@mpt\relax}\par
|
977
|
+
\jsc@smallskip
|
978
|
+
\@title
|
979
|
+
\jsc@smallskip
|
980
|
+
{\maybeblue\hrule height0\jsc@mpt depth2\jsc@mpt\relax}\par
|
981
|
+
\vfill
|
982
|
+
{\small \@author}%
|
983
|
+
\end{center}
|
984
|
+
\else
|
985
|
+
\vskip 60\jsc@mpt
|
986
|
+
\begin{center}%
|
987
|
+
{\LARGE \@title \par}%
|
988
|
+
\vskip 3em%
|
989
|
+
{\large
|
990
|
+
\lineskip .75em
|
991
|
+
\begin{tabular}[t]{c}%
|
992
|
+
\@author
|
993
|
+
\end{tabular}\par}%
|
994
|
+
\vskip 1.5em
|
995
|
+
{\large \@date \par}%
|
996
|
+
\end{center}%
|
997
|
+
\fi
|
998
|
+
\par
|
999
|
+
\@thanks\vfil\null
|
1000
|
+
\end{titlepage}%
|
1001
|
+
\setcounter{footnote}{0}%
|
1002
|
+
\global\let\thanks\relax
|
1003
|
+
\global\let\maketitle\relax
|
1004
|
+
\global\let\@thanks\@empty
|
1005
|
+
\global\let\@author\@empty
|
1006
|
+
\global\let\@date\@empty
|
1007
|
+
\global\let\@title\@empty
|
1008
|
+
\global\let\title\relax
|
1009
|
+
\global\let\author\relax
|
1010
|
+
\global\let\date\relax
|
1011
|
+
\global\let\and\relax
|
1012
|
+
}%
|
1013
|
+
\else
|
1014
|
+
\newcommand{\maketitle}{\par
|
1015
|
+
\begingroup
|
1016
|
+
\renewcommand\thefootnote{\@fnsymbol\c@footnote}%
|
1017
|
+
\def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
|
1018
|
+
\long\def\@makefntext##1{\advance\leftskip 3zw
|
1019
|
+
\parindent 1zw\noindent
|
1020
|
+
\llap{\@textsuperscript{\normalfont\@thefnmark}\hskip0.3zw}##1}%
|
1021
|
+
\if@twocolumn
|
1022
|
+
\ifnum \col@number=\@ne
|
1023
|
+
\@maketitle
|
1024
|
+
\else
|
1025
|
+
\twocolumn[\@maketitle]%
|
1026
|
+
\fi
|
1027
|
+
\else
|
1028
|
+
\newpage
|
1029
|
+
\global\@topnum\z@ % Prevents figures from going at top of page.
|
1030
|
+
\@maketitle
|
1031
|
+
\fi
|
1032
|
+
\plainifnotempty
|
1033
|
+
\@thanks
|
1034
|
+
\endgroup
|
1035
|
+
\setcounter{footnote}{0}%
|
1036
|
+
\global\let\thanks\relax
|
1037
|
+
\global\let\maketitle\relax
|
1038
|
+
\global\let\@thanks\@empty
|
1039
|
+
\global\let\@author\@empty
|
1040
|
+
\global\let\@date\@empty
|
1041
|
+
\global\let\@title\@empty
|
1042
|
+
\global\let\title\relax
|
1043
|
+
\global\let\author\relax
|
1044
|
+
\global\let\date\relax
|
1045
|
+
\global\let\and\relax
|
1046
|
+
}
|
1047
|
+
\def\@maketitle{%
|
1048
|
+
\newpage\null
|
1049
|
+
\vskip 2em
|
1050
|
+
\begin{center}%
|
1051
|
+
\let\footnote\thanks
|
1052
|
+
{\LARGE \@title \par}%
|
1053
|
+
\vskip 1.5em
|
1054
|
+
{\large
|
1055
|
+
\lineskip .5em
|
1056
|
+
\begin{tabular}[t]{c}%
|
1057
|
+
\@author
|
1058
|
+
\end{tabular}\par}%
|
1059
|
+
\vskip 1em
|
1060
|
+
{\large \@date}%
|
1061
|
+
\end{center}%
|
1062
|
+
\par\vskip 1.5em
|
1063
|
+
\ifvoid\@abstractbox\else\centerline{\box\@abstractbox}\vskip1.5em\fi
|
1064
|
+
}
|
1065
|
+
\fi
|
1066
|
+
\def\@startsection#1#2#3#4#5#6{%
|
1067
|
+
\if@noskipsec \leavevmode \fi
|
1068
|
+
\par
|
1069
|
+
\@tempskipa #4\relax
|
1070
|
+
\if@english \@afterindentfalse \else \@afterindenttrue \fi
|
1071
|
+
\ifdim \@tempskipa <\z@
|
1072
|
+
\@tempskipa -\@tempskipa \@afterindentfalse
|
1073
|
+
\fi
|
1074
|
+
\if@nobreak
|
1075
|
+
\everypar{}%
|
1076
|
+
\else
|
1077
|
+
\addpenalty\@secpenalty
|
1078
|
+
\ifdim \@tempskipa >\z@
|
1079
|
+
\if@slide\else
|
1080
|
+
\null
|
1081
|
+
\vspace*{-\baselineskip}%
|
1082
|
+
\fi
|
1083
|
+
\vskip\@tempskipa
|
1084
|
+
\fi
|
1085
|
+
\fi
|
1086
|
+
\noindent
|
1087
|
+
\@ifstar
|
1088
|
+
{\@ssect{#3}{#4}{#5}{#6}}%
|
1089
|
+
{\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
|
1090
|
+
\def\@sect#1#2#3#4#5#6[#7]#8{%
|
1091
|
+
\ifnum #2>\c@secnumdepth
|
1092
|
+
\let\@svsec\@empty
|
1093
|
+
\else
|
1094
|
+
\refstepcounter{#1}%
|
1095
|
+
\protected@edef\@svsec{\@seccntformat{#1}\relax}%
|
1096
|
+
\fi
|
1097
|
+
\@tempskipa #5\relax
|
1098
|
+
\ifdim \@tempskipa<\z@
|
1099
|
+
\def\@svsechd{%
|
1100
|
+
#6{\hskip #3\relax
|
1101
|
+
\@svsec #8}%
|
1102
|
+
\csname #1mark\endcsname{#7}%
|
1103
|
+
\addcontentsline{toc}{#1}{%
|
1104
|
+
\ifnum #2>\c@secnumdepth \else
|
1105
|
+
\protect\numberline{\csname the#1\endcsname}%
|
1106
|
+
\fi
|
1107
|
+
#7}}% 目次にフルネームを載せるなら #8
|
1108
|
+
\else
|
1109
|
+
\begingroup
|
1110
|
+
\interlinepenalty \@M % 下から移動
|
1111
|
+
#6{%
|
1112
|
+
\@hangfrom{\hskip #3\relax\@svsec}%
|
1113
|
+
#8\@@par}%
|
1114
|
+
\endgroup
|
1115
|
+
\csname #1mark\endcsname{#7}%
|
1116
|
+
\addcontentsline{toc}{#1}{%
|
1117
|
+
\ifnum #2>\c@secnumdepth \else
|
1118
|
+
\protect\numberline{\csname the#1\endcsname}%
|
1119
|
+
\fi
|
1120
|
+
#7}% 目次にフルネームを載せるならここは #8
|
1121
|
+
\fi
|
1122
|
+
\@xsect{#5}}
|
1123
|
+
\def\@xsect#1{%
|
1124
|
+
\@tempskipa #1\relax
|
1125
|
+
\ifdim \@tempskipa<\z@
|
1126
|
+
\@nobreakfalse
|
1127
|
+
\global\@noskipsectrue
|
1128
|
+
\everypar{%
|
1129
|
+
\if@noskipsec
|
1130
|
+
\global\@noskipsecfalse
|
1131
|
+
{\setbox\z@\lastbox}%
|
1132
|
+
\clubpenalty\@M
|
1133
|
+
\begingroup \@svsechd \endgroup
|
1134
|
+
\unskip
|
1135
|
+
\@tempskipa #1\relax
|
1136
|
+
\hskip -\@tempskipa
|
1137
|
+
\else
|
1138
|
+
\clubpenalty \@clubpenalty
|
1139
|
+
\everypar{\everyparhook}%
|
1140
|
+
\fi\everyparhook}%
|
1141
|
+
\else
|
1142
|
+
\par \nobreak
|
1143
|
+
\vskip \@tempskipa
|
1144
|
+
\@afterheading
|
1145
|
+
\fi
|
1146
|
+
\if@slide
|
1147
|
+
{\vskip\if@twocolumn-5\jsc@mpt\else-6\jsc@mpt\fi
|
1148
|
+
\maybeblue\hrule height0\jsc@mpt depth1\jsc@mpt
|
1149
|
+
\vskip\if@twocolumn 4\jsc@mpt\else 7\jsc@mpt\fi\relax}%
|
1150
|
+
\fi
|
1151
|
+
\par % 2000-12-18
|
1152
|
+
\ignorespaces}
|
1153
|
+
\def\@ssect#1#2#3#4#5{%
|
1154
|
+
\@tempskipa #3\relax
|
1155
|
+
\ifdim \@tempskipa<\z@
|
1156
|
+
\def\@svsechd{#4{\hskip #1\relax #5}}%
|
1157
|
+
\else
|
1158
|
+
\begingroup
|
1159
|
+
#4{%
|
1160
|
+
\@hangfrom{\hskip #1}%
|
1161
|
+
\interlinepenalty \@M #5\@@par}%
|
1162
|
+
\endgroup
|
1163
|
+
\fi
|
1164
|
+
\@xsect{#3}}
|
1165
|
+
\newcommand*\chaptermark[1]{}
|
1166
|
+
\setcounter{secnumdepth}{3}
|
1167
|
+
\newcounter{part}
|
1168
|
+
\newcounter{section}
|
1169
|
+
\newcounter{subsection}[section]
|
1170
|
+
\newcounter{subsubsection}[subsection]
|
1171
|
+
\newcounter{paragraph}[subsubsection]
|
1172
|
+
\newcounter{subparagraph}[paragraph]
|
1173
|
+
\renewcommand{\thepart}{\@Roman\c@part}
|
1174
|
+
% \renewcommand{\thesection}{\@arabic\c@section}
|
1175
|
+
\renewcommand{\thesection}{\presectionname\@arabic\c@section\postsectionname}
|
1176
|
+
\renewcommand{\thesubsection}{\@arabic\c@section.\@arabic\c@subsection}
|
1177
|
+
\renewcommand{\thesubsubsection}{%
|
1178
|
+
\thesubsection.\@arabic\c@subsubsection}
|
1179
|
+
\renewcommand{\theparagraph}{%
|
1180
|
+
\thesubsubsection.\@arabic\c@paragraph}
|
1181
|
+
\renewcommand{\thesubparagraph}{%
|
1182
|
+
\theparagraph.\@arabic\c@subparagraph}
|
1183
|
+
\newcommand\part{%
|
1184
|
+
\if@noskipsec \leavevmode \fi
|
1185
|
+
\par
|
1186
|
+
\addvspace{4ex}%
|
1187
|
+
\if@english \@afterindentfalse \else \@afterindenttrue \fi
|
1188
|
+
\secdef\@part\@spart}
|
1189
|
+
\def\@part[#1]#2{%
|
1190
|
+
\ifnum \c@secnumdepth >\m@ne
|
1191
|
+
\refstepcounter{part}%
|
1192
|
+
\addcontentsline{toc}{part}{%
|
1193
|
+
\prepartname\thepart\postpartname\hspace{1zw}#1}%
|
1194
|
+
\else
|
1195
|
+
\addcontentsline{toc}{part}{#1}%
|
1196
|
+
\fi
|
1197
|
+
\markboth{}{}%
|
1198
|
+
{\parindent\z@
|
1199
|
+
\raggedright
|
1200
|
+
\interlinepenalty \@M
|
1201
|
+
\normalfont
|
1202
|
+
\ifnum \c@secnumdepth >\m@ne
|
1203
|
+
\Large\headfont\prepartname\thepart\postpartname
|
1204
|
+
\par\nobreak
|
1205
|
+
\fi
|
1206
|
+
\huge \headfont #2%
|
1207
|
+
\markboth{}{}\par}%
|
1208
|
+
\nobreak
|
1209
|
+
\vskip 3ex
|
1210
|
+
\@afterheading}
|
1211
|
+
\def\@spart#1{{%
|
1212
|
+
\parindent \z@ \raggedright
|
1213
|
+
\interlinepenalty \@M
|
1214
|
+
\normalfont
|
1215
|
+
\huge \headfont #1\par}%
|
1216
|
+
\nobreak
|
1217
|
+
\vskip 3ex
|
1218
|
+
\@afterheading}
|
1219
|
+
\if@twocolumn
|
1220
|
+
\newcommand{\section}{%
|
1221
|
+
\@startsection{section}{1}{\z@}%
|
1222
|
+
{\Cvs}{0.5\Cvs}%
|
1223
|
+
{\normalfont\large\headfont\raggedright}}
|
1224
|
+
\else
|
1225
|
+
\newcommand{\section}{%
|
1226
|
+
\if@slide\clearpage\fi
|
1227
|
+
\@startsection{section}{1}{\z@}%
|
1228
|
+
{\Cvs \@plus.5\Cdp \@minus.2\Cdp}% 前アキ
|
1229
|
+
{.5\Cvs \@plus.3\Cdp}% 後アキ
|
1230
|
+
{\normalfont\Large\headfont\raggedright}}
|
1231
|
+
\fi
|
1232
|
+
\if@twocolumn
|
1233
|
+
\newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
|
1234
|
+
{\z@}{\if@slide .4\Cvs \else \z@ \fi}%
|
1235
|
+
{\normalfont\normalsize\headfont}}
|
1236
|
+
\else
|
1237
|
+
\newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
|
1238
|
+
{\Cvs \@plus.5\Cdp \@minus.2\Cdp}% 前アキ
|
1239
|
+
{.5\Cvs \@plus.3\Cdp}% 後アキ
|
1240
|
+
{\normalfont\large\headfont}}
|
1241
|
+
\fi
|
1242
|
+
\if@twocolumn
|
1243
|
+
\newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
|
1244
|
+
{\z@}{\if@slide .4\Cvs \else \z@ \fi}%
|
1245
|
+
{\normalfont\normalsize\headfont}}
|
1246
|
+
\else
|
1247
|
+
\newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
|
1248
|
+
{\Cvs \@plus.5\Cdp \@minus.2\Cdp}%
|
1249
|
+
{\if@slide .5\Cvs \@plus.3\Cdp \else \z@ \fi}%
|
1250
|
+
{\normalfont\normalsize\headfont}}
|
1251
|
+
\fi
|
1252
|
+
\newcommand{\jsParagraphMark}{■}
|
1253
|
+
\if@twocolumn
|
1254
|
+
\newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
|
1255
|
+
{\z@}{\if@slide .4\Cvs \else -1zw\fi}% 改行せず 1zw のアキ
|
1256
|
+
{\normalfont\normalsize\headfont\jsParagraphMark}}
|
1257
|
+
\else
|
1258
|
+
\newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
|
1259
|
+
{0.5\Cvs \@plus.5\Cdp \@minus.2\Cdp}%
|
1260
|
+
{\if@slide .5\Cvs \@plus.3\Cdp \else -1zw\fi}% 改行せず 1zw のアキ
|
1261
|
+
{\normalfont\normalsize\headfont\jsParagraphMark}}
|
1262
|
+
\fi
|
1263
|
+
\if@twocolumn
|
1264
|
+
\newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
|
1265
|
+
{\z@}{\if@slide .4\Cvs \@plus.3\Cdp \else -1zw\fi}%
|
1266
|
+
{\normalfont\normalsize\headfont}}
|
1267
|
+
\else
|
1268
|
+
\newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
|
1269
|
+
{\z@}{\if@slide .5\Cvs \@plus.3\Cdp \else -1zw\fi}%
|
1270
|
+
{\normalfont\normalsize\headfont}}
|
1271
|
+
\fi
|
1272
|
+
\if@slide
|
1273
|
+
\setlength\leftmargini{1zw}
|
1274
|
+
\else
|
1275
|
+
\if@twocolumn
|
1276
|
+
\setlength\leftmargini{2zw}
|
1277
|
+
\else
|
1278
|
+
\setlength\leftmargini{3zw}
|
1279
|
+
\fi
|
1280
|
+
\fi
|
1281
|
+
\if@slide
|
1282
|
+
\setlength\leftmarginii {1zw}
|
1283
|
+
\setlength\leftmarginiii{1zw}
|
1284
|
+
\setlength\leftmarginiv {1zw}
|
1285
|
+
\setlength\leftmarginv {1zw}
|
1286
|
+
\setlength\leftmarginvi {1zw}
|
1287
|
+
\else
|
1288
|
+
\setlength\leftmarginii {2zw}
|
1289
|
+
\setlength\leftmarginiii{2zw}
|
1290
|
+
\setlength\leftmarginiv {2zw}
|
1291
|
+
\setlength\leftmarginv {1zw}
|
1292
|
+
\setlength\leftmarginvi {1zw}
|
1293
|
+
\fi
|
1294
|
+
\setlength \labelsep {0.5zw} % .5em
|
1295
|
+
\setlength \labelwidth{\leftmargini}
|
1296
|
+
\addtolength\labelwidth{-\labelsep}
|
1297
|
+
\setlength\partopsep{\z@} % {2\p@ \@plus 1\p@ \@minus 1\p@}
|
1298
|
+
\@beginparpenalty -\@lowpenalty
|
1299
|
+
\@endparpenalty -\@lowpenalty
|
1300
|
+
\@itempenalty -\@lowpenalty
|
1301
|
+
\def\@listi{\leftmargin\leftmargini
|
1302
|
+
\parsep \z@
|
1303
|
+
\topsep 0.5\baselineskip
|
1304
|
+
\itemsep \z@ \relax}
|
1305
|
+
\let\@listI\@listi
|
1306
|
+
\@listi
|
1307
|
+
\def\@listii{\leftmargin\leftmarginii
|
1308
|
+
\labelwidth\leftmarginii \advance\labelwidth-\labelsep
|
1309
|
+
\topsep \z@
|
1310
|
+
\parsep \z@
|
1311
|
+
\itemsep\parsep}
|
1312
|
+
\def\@listiii{\leftmargin\leftmarginiii
|
1313
|
+
\labelwidth\leftmarginiii \advance\labelwidth-\labelsep
|
1314
|
+
\topsep \z@
|
1315
|
+
\parsep \z@
|
1316
|
+
\itemsep\parsep}
|
1317
|
+
\def\@listiv {\leftmargin\leftmarginiv
|
1318
|
+
\labelwidth\leftmarginiv
|
1319
|
+
\advance\labelwidth-\labelsep}
|
1320
|
+
\def\@listv {\leftmargin\leftmarginv
|
1321
|
+
\labelwidth\leftmarginv
|
1322
|
+
\advance\labelwidth-\labelsep}
|
1323
|
+
\def\@listvi {\leftmargin\leftmarginvi
|
1324
|
+
\labelwidth\leftmarginvi
|
1325
|
+
\advance\labelwidth-\labelsep}
|
1326
|
+
\renewcommand{\theenumi}{\@arabic\c@enumi}
|
1327
|
+
\renewcommand{\theenumii}{\@alph\c@enumii}
|
1328
|
+
\renewcommand{\theenumiii}{\@roman\c@enumiii}
|
1329
|
+
\renewcommand{\theenumiv}{\@Alph\c@enumiv}
|
1330
|
+
\newcommand{\labelenumi}{\theenumi.}
|
1331
|
+
\newcommand{\labelenumii}{\inhibitglue(\theenumii)\inhibitglue}
|
1332
|
+
\newcommand{\labelenumiii}{\theenumiii.}
|
1333
|
+
\newcommand{\labelenumiv}{\theenumiv.}
|
1334
|
+
\renewcommand{\p@enumii}{\theenumi}
|
1335
|
+
\renewcommand{\p@enumiii}{\theenumi\inhibitglue(\theenumii)}
|
1336
|
+
\renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
|
1337
|
+
\newcommand\labelitemi{\textbullet}
|
1338
|
+
\newcommand\labelitemii{\normalfont\bfseries \textendash}
|
1339
|
+
\newcommand\labelitemiii{\textasteriskcentered}
|
1340
|
+
\newcommand\labelitemiv{\textperiodcentered}
|
1341
|
+
\newenvironment{description}{%
|
1342
|
+
\list{}{%
|
1343
|
+
\labelwidth=\leftmargin
|
1344
|
+
\labelsep=1zw
|
1345
|
+
\advance \labelwidth by -\labelsep
|
1346
|
+
\let \makelabel=\descriptionlabel}}{\endlist}
|
1347
|
+
\newcommand*\descriptionlabel[1]{\normalfont\headfont #1\hfil}
|
1348
|
+
\newbox\@abstractbox
|
1349
|
+
\if@titlepage
|
1350
|
+
\newenvironment{abstract}{%
|
1351
|
+
\titlepage
|
1352
|
+
\null\vfil
|
1353
|
+
\@beginparpenalty\@lowpenalty
|
1354
|
+
\begin{center}%
|
1355
|
+
\headfont \abstractname
|
1356
|
+
\@endparpenalty\@M
|
1357
|
+
\end{center}}%
|
1358
|
+
{\par\vfil\null\endtitlepage}
|
1359
|
+
\else
|
1360
|
+
\newenvironment{abstract}{%
|
1361
|
+
\if@twocolumn
|
1362
|
+
\ifx\maketitle\relax
|
1363
|
+
\section*{\abstractname}%
|
1364
|
+
\else
|
1365
|
+
\global\setbox\@abstractbox\hbox\bgroup
|
1366
|
+
\begin{minipage}[b]{\textwidth}
|
1367
|
+
\small\parindent1zw
|
1368
|
+
\begin{center}%
|
1369
|
+
{\headfont \abstractname\vspace{-.5em}\vspace{\z@}}%
|
1370
|
+
\end{center}%
|
1371
|
+
\list{}{%
|
1372
|
+
\listparindent\parindent
|
1373
|
+
\itemindent \listparindent
|
1374
|
+
\rightmargin \leftmargin}%
|
1375
|
+
\item\relax
|
1376
|
+
\fi
|
1377
|
+
\else
|
1378
|
+
\small
|
1379
|
+
\begin{center}%
|
1380
|
+
{\headfont \abstractname\vspace{-.5em}\vspace{\z@}}%
|
1381
|
+
\end{center}%
|
1382
|
+
\list{}{%
|
1383
|
+
\listparindent\parindent
|
1384
|
+
\itemindent \listparindent
|
1385
|
+
\rightmargin \leftmargin}%
|
1386
|
+
\item\relax
|
1387
|
+
\fi}{\if@twocolumn
|
1388
|
+
\ifx\maketitle\relax
|
1389
|
+
\else
|
1390
|
+
\endlist\end{minipage}\egroup
|
1391
|
+
\fi
|
1392
|
+
\else
|
1393
|
+
\endlist
|
1394
|
+
\fi}
|
1395
|
+
\fi
|
1396
|
+
\newenvironment{verse}{%
|
1397
|
+
\let \\=\@centercr
|
1398
|
+
\list{}{%
|
1399
|
+
\itemsep \z@
|
1400
|
+
\itemindent -2zw % 元: -1.5em
|
1401
|
+
\listparindent\itemindent
|
1402
|
+
\rightmargin \z@
|
1403
|
+
\advance\leftmargin 2zw}% 元: 1.5em
|
1404
|
+
\item\relax}{\endlist}
|
1405
|
+
\newenvironment{quotation}{%
|
1406
|
+
\list{}{%
|
1407
|
+
\listparindent\parindent
|
1408
|
+
\itemindent\listparindent
|
1409
|
+
\rightmargin \z@}%
|
1410
|
+
\item\relax}{\endlist}
|
1411
|
+
\newenvironment{quote}%
|
1412
|
+
{\list{}{\rightmargin\z@}\item\relax}{\endlist}
|
1413
|
+
\def\@begintheorem#1#2{\trivlist\labelsep=1zw
|
1414
|
+
\item[\hskip \labelsep{\headfont #1\ #2}]}
|
1415
|
+
\def\@opargbegintheorem#1#2#3{\trivlist\labelsep=1zw
|
1416
|
+
\item[\hskip \labelsep{\headfont #1\ #2(#3)}]}
|
1417
|
+
\newenvironment{titlepage}{%
|
1418
|
+
\if@twocolumn
|
1419
|
+
\@restonecoltrue\onecolumn
|
1420
|
+
\else
|
1421
|
+
\@restonecolfalse\newpage
|
1422
|
+
\fi
|
1423
|
+
\thispagestyle{empty}%
|
1424
|
+
\ifodd\c@page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017-02-24
|
1425
|
+
}%
|
1426
|
+
{\if@restonecol\twocolumn \else \newpage \fi
|
1427
|
+
\if@twoside\else
|
1428
|
+
\setcounter{page}\@ne
|
1429
|
+
\fi}
|
1430
|
+
\newcommand{\appendix}{\par
|
1431
|
+
\setcounter{section}{0}%
|
1432
|
+
\setcounter{subsection}{0}%
|
1433
|
+
\gdef\presectionname{\appendixname}%
|
1434
|
+
\gdef\postsectionname{}%
|
1435
|
+
\gdef\thesection{\presectionname\@Alph\c@section\postsectionname}%
|
1436
|
+
\gdef\thesubsection{\@Alph\c@section.\@arabic\c@subsection}}
|
1437
|
+
\setlength\arraycolsep{5\jsc@mpt}
|
1438
|
+
\setlength\tabcolsep{6\jsc@mpt}
|
1439
|
+
\setlength\arrayrulewidth{.4\jsc@mpt}
|
1440
|
+
\setlength\doublerulesep{2\jsc@mpt}
|
1441
|
+
\setlength\tabbingsep{\labelsep}
|
1442
|
+
\skip\@mpfootins = \skip\footins
|
1443
|
+
\setlength\fboxsep{3\jsc@mpt}
|
1444
|
+
\setlength\fboxrule{.4\jsc@mpt}
|
1445
|
+
\renewcommand \theequation {\@arabic\c@equation}
|
1446
|
+
\newcounter{figure}
|
1447
|
+
\renewcommand \thefigure {\@arabic\c@figure}
|
1448
|
+
\def\fps@figure{tbp}
|
1449
|
+
\def\ftype@figure{1}
|
1450
|
+
\def\ext@figure{lof}
|
1451
|
+
\def\fnum@figure{\figurename\nobreak\thefigure}
|
1452
|
+
\newenvironment{figure}%
|
1453
|
+
{\@float{figure}}%
|
1454
|
+
{\end@float}
|
1455
|
+
\newenvironment{figure*}%
|
1456
|
+
{\@dblfloat{figure}}%
|
1457
|
+
{\end@dblfloat}
|
1458
|
+
\newcounter{table}
|
1459
|
+
\renewcommand\thetable{\@arabic\c@table}
|
1460
|
+
\def\fps@table{tbp}
|
1461
|
+
\def\ftype@table{2}
|
1462
|
+
\def\ext@table{lot}
|
1463
|
+
\def\fnum@table{\tablename\nobreak\thetable}
|
1464
|
+
\newenvironment{table}%
|
1465
|
+
{\@float{table}}%
|
1466
|
+
{\end@float}
|
1467
|
+
\newenvironment{table*}%
|
1468
|
+
{\@dblfloat{table}}%
|
1469
|
+
{\end@dblfloat}
|
1470
|
+
\newlength\abovecaptionskip
|
1471
|
+
\newlength\belowcaptionskip
|
1472
|
+
\setlength\abovecaptionskip{5\jsc@mpt} % 元: 10\p@
|
1473
|
+
\setlength\belowcaptionskip{5\jsc@mpt} % 元: 0\p@
|
1474
|
+
\long\def\@makecaption#1#2{{\small
|
1475
|
+
\advance\leftskip .0628\linewidth
|
1476
|
+
\advance\rightskip .0628\linewidth
|
1477
|
+
\vskip\abovecaptionskip
|
1478
|
+
\sbox\@tempboxa{#1\hskip1zw\relax #2}%
|
1479
|
+
\ifdim \wd\@tempboxa <\hsize \centering \fi
|
1480
|
+
#1\hskip1zw\relax #2\par
|
1481
|
+
\vskip\belowcaptionskip}}
|
1482
|
+
\DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
|
1483
|
+
\DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
|
1484
|
+
\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
|
1485
|
+
\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
|
1486
|
+
\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
|
1487
|
+
\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
|
1488
|
+
\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
|
1489
|
+
\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
|
1490
|
+
\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
|
1491
|
+
\DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
|
1492
|
+
\DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
|
1493
|
+
\newcommand\@pnumwidth{1.55em}
|
1494
|
+
\newcommand\@tocrmarg{2.55em}
|
1495
|
+
\newcommand\@dotsep{4.5}
|
1496
|
+
\setcounter{tocdepth}{2}
|
1497
|
+
\newdimen\jsc@tocl@width
|
1498
|
+
\newcommand{\tableofcontents}{%
|
1499
|
+
\settowidth\jsc@tocl@width{\headfont\presectionname\postsectionname}%
|
1500
|
+
\settowidth\@tempdima{\headfont\appendixname}%
|
1501
|
+
\ifdim\jsc@tocl@width<\@tempdima\relax\setlength\jsc@tocl@width{\@tempdima}\fi
|
1502
|
+
\ifdim\jsc@tocl@width<2zw \divide\jsc@tocl@width by 2 \advance\jsc@tocl@width 1zw\fi
|
1503
|
+
\section*{\contentsname}%
|
1504
|
+
\@mkboth{\contentsname}{\contentsname}%
|
1505
|
+
\@starttoc{toc}%
|
1506
|
+
}
|
1507
|
+
\newcommand*{\l@part}[2]{%
|
1508
|
+
\ifnum \c@tocdepth >-2\relax
|
1509
|
+
\addpenalty\@secpenalty
|
1510
|
+
\addvspace{2.25em \@plus\jsc@mpt}%
|
1511
|
+
\begingroup
|
1512
|
+
\parindent \z@
|
1513
|
+
\rightskip \@tocrmarg
|
1514
|
+
\parfillskip -\rightskip
|
1515
|
+
{\leavevmode
|
1516
|
+
\large \headfont
|
1517
|
+
\setlength\@lnumwidth{4zw}%
|
1518
|
+
#1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
|
1519
|
+
\nobreak
|
1520
|
+
\endgroup
|
1521
|
+
\fi}
|
1522
|
+
\newcommand*{\l@section}[2]{%
|
1523
|
+
\ifnum \c@tocdepth >\z@
|
1524
|
+
\addpenalty{\@secpenalty}%
|
1525
|
+
\addvspace{1.0em \@plus\jsc@mpt}%
|
1526
|
+
\begingroup
|
1527
|
+
\parindent\z@
|
1528
|
+
\rightskip\@tocrmarg
|
1529
|
+
\parfillskip-\rightskip
|
1530
|
+
\leavevmode\headfont
|
1531
|
+
%\setlength\@lnumwidth{4zw}% 元1.5em [2003-03-02]
|
1532
|
+
\setlength\@lnumwidth{\jsc@tocl@width}\advance\@lnumwidth 2zw
|
1533
|
+
\advance\leftskip\@lnumwidth \hskip-\leftskip
|
1534
|
+
#1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
|
1535
|
+
\endgroup
|
1536
|
+
\fi}
|
1537
|
+
\newcommand*{\l@subsection}{%
|
1538
|
+
\@tempdima\jsc@tocl@width \advance\@tempdima -1zw
|
1539
|
+
\@dottedtocline{2}{\@tempdima}{3zw}}
|
1540
|
+
\newcommand*{\l@subsubsection}{%
|
1541
|
+
\@tempdima\jsc@tocl@width \advance\@tempdima 0zw
|
1542
|
+
\@dottedtocline{3}{\@tempdima}{4zw}}
|
1543
|
+
\newcommand*{\l@paragraph}{%
|
1544
|
+
\@tempdima\jsc@tocl@width \advance\@tempdima 1zw
|
1545
|
+
\@dottedtocline{4}{\@tempdima}{5zw}}
|
1546
|
+
\newcommand*{\l@subparagraph}{%
|
1547
|
+
\@tempdima\jsc@tocl@width \advance\@tempdima 2zw
|
1548
|
+
\@dottedtocline{5}{\@tempdima}{6zw}}
|
1549
|
+
\newdimen\@lnumwidth
|
1550
|
+
\def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}\hspace{0pt}}
|
1551
|
+
\def\jsTocLine{\leaders\hbox{%
|
1552
|
+
$\m@th \mkern \@dotsep mu\hbox{.}\mkern \@dotsep mu$}\hfill}
|
1553
|
+
\def\@dottedtocline#1#2#3#4#5{\ifnum #1>\c@tocdepth \else
|
1554
|
+
\vskip \z@ \@plus.2\jsc@mpt
|
1555
|
+
{\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
|
1556
|
+
\parindent #2\relax\@afterindenttrue
|
1557
|
+
\interlinepenalty\@M
|
1558
|
+
\leavevmode
|
1559
|
+
\@lnumwidth #3\relax
|
1560
|
+
\advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
|
1561
|
+
{#4}\nobreak
|
1562
|
+
\jsTocLine \nobreak\hb@xt@\@pnumwidth{%
|
1563
|
+
\hfil\normalfont \normalcolor #5}\par}\fi}
|
1564
|
+
\newcommand{\listoffigures}{%
|
1565
|
+
\section*{\listfigurename}%
|
1566
|
+
\@mkboth{\listfigurename}{\listfigurename}%
|
1567
|
+
\@starttoc{lof}%
|
1568
|
+
}
|
1569
|
+
\newcommand*{\l@figure}{\@dottedtocline{1}{1zw}{3.683zw}}
|
1570
|
+
\newcommand{\listoftables}{%
|
1571
|
+
\section*{\listtablename}%
|
1572
|
+
\@mkboth{\listtablename}{\listtablename}%
|
1573
|
+
\@starttoc{lot}%
|
1574
|
+
}
|
1575
|
+
\let\l@table\l@figure
|
1576
|
+
\newdimen\bibindent
|
1577
|
+
\setlength\bibindent{2zw}
|
1578
|
+
\newenvironment{thebibliography}[1]{%
|
1579
|
+
\global\let\presectionname\relax
|
1580
|
+
\global\let\postsectionname\relax
|
1581
|
+
\vspace{1.5\baselineskip}
|
1582
|
+
\subsubsection*{\refname}\@mkboth{\refname}{\refname}%
|
1583
|
+
\vspace{0.5\baselineskip}
|
1584
|
+
\list{\@biblabel{\@arabic\c@enumiv}}%
|
1585
|
+
{\settowidth\labelwidth{\@biblabel{#1}}%
|
1586
|
+
\leftmargin\labelwidth
|
1587
|
+
\advance\leftmargin\labelsep
|
1588
|
+
\@openbib@code
|
1589
|
+
\usecounter{enumiv}%
|
1590
|
+
\let\p@enumiv\@empty
|
1591
|
+
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
|
1592
|
+
\small
|
1593
|
+
\sloppy
|
1594
|
+
\clubpenalty4000
|
1595
|
+
\@clubpenalty\clubpenalty
|
1596
|
+
\widowpenalty4000%
|
1597
|
+
\sfcode`\.\@m}
|
1598
|
+
{\def\@noitemerr
|
1599
|
+
{\@latex@warning{Empty `thebibliography' environment}}%
|
1600
|
+
\endlist}
|
1601
|
+
\newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
|
1602
|
+
\let\@openbib@code\@empty
|
1603
|
+
\newenvironment{theindex}{% 索引を3段組で出力する環境
|
1604
|
+
\if@twocolumn
|
1605
|
+
\onecolumn\@restonecolfalse
|
1606
|
+
\else
|
1607
|
+
\clearpage\@restonecoltrue
|
1608
|
+
\fi
|
1609
|
+
\columnseprule.4pt \columnsep 2zw
|
1610
|
+
\ifx\multicols\@undefined
|
1611
|
+
\def\presectionname{}\def\postsectionname{}%
|
1612
|
+
\twocolumn[\section*{\indexname}]%
|
1613
|
+
\else
|
1614
|
+
\ifdim\textwidth<\fullwidth
|
1615
|
+
\setlength{\evensidemargin}{\oddsidemargin}
|
1616
|
+
\setlength{\textwidth}{\fullwidth}
|
1617
|
+
\setlength{\linewidth}{\fullwidth}
|
1618
|
+
\def\presectionname{}\def\postsectionname{}%
|
1619
|
+
\begin{multicols}{3}[\section*{\indexname}]%
|
1620
|
+
\else
|
1621
|
+
\def\presectionname{}\def\postsectionname{}%
|
1622
|
+
\begin{multicols}{2}[\section*{\indexname}]%
|
1623
|
+
\fi
|
1624
|
+
\fi
|
1625
|
+
\@mkboth{\indexname}{\indexname}%
|
1626
|
+
\plainifnotempty % \thispagestyle{plain}
|
1627
|
+
\parindent\z@
|
1628
|
+
\parskip\z@ \@plus .3\jsc@mpt\relax
|
1629
|
+
\let\item\@idxitem
|
1630
|
+
\raggedright
|
1631
|
+
\footnotesize\narrowbaselines
|
1632
|
+
}{
|
1633
|
+
\ifx\multicols\@undefined
|
1634
|
+
\if@restonecol\onecolumn\fi
|
1635
|
+
\else
|
1636
|
+
\end{multicols}
|
1637
|
+
\fi
|
1638
|
+
\clearpage
|
1639
|
+
}
|
1640
|
+
\newcommand{\@idxitem}{\par\hangindent 4zw} % 元 40pt
|
1641
|
+
\newcommand{\subitem}{\@idxitem \hspace*{2zw}} % 元 20pt
|
1642
|
+
\newcommand{\subsubitem}{\@idxitem \hspace*{3zw}} % 元 30pt
|
1643
|
+
\newcommand{\indexspace}{\par \vskip 10\jsc@mpt \@plus5\jsc@mpt \@minus3\jsc@mpt\relax}
|
1644
|
+
\newcommand\seename{\if@english see\else →\fi}
|
1645
|
+
\newcommand\alsoname{\if@english see also\else →\fi}
|
1646
|
+
\@ifl@t@r\pfmtversion{2016/09/03}
|
1647
|
+
{\jsc@needsp@tchfalse}{\jsc@needsp@tchtrue}
|
1648
|
+
\ifjsc@needsp@tch
|
1649
|
+
\let\footnotes@ve=\footnote
|
1650
|
+
\def\footnote{\inhibitglue\footnotes@ve}
|
1651
|
+
\let\footnotemarks@ve=\footnotemark
|
1652
|
+
\def\footnotemark{\inhibitglue\footnotemarks@ve}
|
1653
|
+
\fi
|
1654
|
+
\@ifl@t@r\pfmtversion{2016/04/17}
|
1655
|
+
{\jsc@needsp@tchfalse}{\jsc@needsp@tchtrue}
|
1656
|
+
\ifjsc@needsp@tch
|
1657
|
+
\renewcommand\@makefnmark{%
|
1658
|
+
\ifydir \hbox{}\hbox{\@textsuperscript{\normalfont\@thefnmark}}\hbox{}%
|
1659
|
+
\else\hbox{\yoko\@textsuperscript{\normalfont\@thefnmark}}\fi}
|
1660
|
+
\fi
|
1661
|
+
\def\thefootnote{\ifnum\c@footnote>\z@\leavevmode\lower.5ex\hbox{*}\@arabic\c@footnote\fi}
|
1662
|
+
\renewcommand{\footnoterule}{%
|
1663
|
+
\kern-3\jsc@mpt
|
1664
|
+
\hrule width .4\columnwidth height 0.4\jsc@mpt
|
1665
|
+
\kern 2.6\jsc@mpt}
|
1666
|
+
\long\def\@footnotetext{%
|
1667
|
+
\insert\footins\bgroup
|
1668
|
+
\normalfont\footnotesize
|
1669
|
+
\interlinepenalty\interfootnotelinepenalty
|
1670
|
+
\splittopskip\footnotesep
|
1671
|
+
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
|
1672
|
+
\hsize\columnwidth \@parboxrestore
|
1673
|
+
\protected@edef\@currentlabel{%
|
1674
|
+
\csname p@footnote\endcsname\@thefnmark
|
1675
|
+
}%
|
1676
|
+
\color@begingroup
|
1677
|
+
\@makefntext{%
|
1678
|
+
\rule\z@\footnotesep\ignorespaces}%
|
1679
|
+
\futurelet\jsc@next\jsc@fo@t}
|
1680
|
+
\def\jsc@fo@t{\ifcat\bgroup\noexpand\jsc@next \let\jsc@next\jsc@f@@t
|
1681
|
+
\else \let\jsc@next\jsc@f@t\fi \jsc@next}
|
1682
|
+
\def\jsc@f@@t{\bgroup\aftergroup\jsc@@foot\let\jsc@next}
|
1683
|
+
\def\jsc@f@t#1{#1\jsc@@foot}
|
1684
|
+
\def\jsc@@foot{\@finalstrut\strutbox\color@endgroup\egroup
|
1685
|
+
\ifx\pltx@foot@penalty\@undefined\else
|
1686
|
+
\ifhmode\null\fi
|
1687
|
+
\ifnum\pltx@foot@penalty=\z@\else
|
1688
|
+
\penalty\pltx@foot@penalty
|
1689
|
+
\pltx@foot@penalty\z@
|
1690
|
+
\fi
|
1691
|
+
\fi}
|
1692
|
+
\newcommand\@makefntext[1]{%
|
1693
|
+
\advance\leftskip 3zw
|
1694
|
+
\parindent 1zw
|
1695
|
+
\noindent
|
1696
|
+
\llap{\@makefnmark\hskip0.3zw}#1}
|
1697
|
+
\def\@inhibitglue{%
|
1698
|
+
\futurelet\@let@token\@@inhibitglue}
|
1699
|
+
\begingroup
|
1700
|
+
\let\GDEF=\gdef
|
1701
|
+
\let\CATCODE=\catcode
|
1702
|
+
\let\ENDGROUP=\endgroup
|
1703
|
+
\CATCODE`k=12
|
1704
|
+
\CATCODE`a=12
|
1705
|
+
\CATCODE`n=12
|
1706
|
+
\CATCODE`j=12
|
1707
|
+
\CATCODE`i=12
|
1708
|
+
\CATCODE`c=12
|
1709
|
+
\CATCODE`h=12
|
1710
|
+
\CATCODE`r=12
|
1711
|
+
\CATCODE`t=12
|
1712
|
+
\CATCODE`e=12
|
1713
|
+
\GDEF\KANJI@CHARACTER{kanji character }
|
1714
|
+
\ENDGROUP
|
1715
|
+
\def\@@inhibitglue{%
|
1716
|
+
\expandafter\expandafter\expandafter\jsc@inhibitglue\expandafter\meaning\expandafter\@let@token\KANJI@CHARACTER\relax\jsc@end}
|
1717
|
+
\expandafter\def\expandafter\jsc@inhibitglue\expandafter#\expandafter1\KANJI@CHARACTER#2#3\jsc@end{%
|
1718
|
+
\def\jsc@ig@temp{#1}%
|
1719
|
+
\ifx\jsc@ig@temp\@empty
|
1720
|
+
\ifnum\the\inhibitxspcode`#2=2\relax
|
1721
|
+
\inhibitglue
|
1722
|
+
\fi
|
1723
|
+
\fi}
|
1724
|
+
\let\everyparhook=\@inhibitglue
|
1725
|
+
\AtBeginDocument{\everypar{\everyparhook}}
|
1726
|
+
\def\@doendpe{%
|
1727
|
+
\@endpetrue
|
1728
|
+
\def\par{%
|
1729
|
+
\@restorepar\clubpenalty\@clubpenalty\everypar{\everyparhook}\par\@endpefalse}%
|
1730
|
+
\everypar{{\setbox\z@\lastbox}\everypar{\everyparhook}\@endpefalse\everyparhook}}
|
1731
|
+
\def\@setminipage{%
|
1732
|
+
\@minipagetrue
|
1733
|
+
\everypar{\@minipagefalse\everypar{\everyparhook}}%
|
1734
|
+
}
|
1735
|
+
\def\@item[#1]{%
|
1736
|
+
\if@noparitem
|
1737
|
+
\@donoparitem
|
1738
|
+
\else
|
1739
|
+
\if@inlabel
|
1740
|
+
\indent \par
|
1741
|
+
\fi
|
1742
|
+
\ifhmode
|
1743
|
+
\unskip\unskip \par
|
1744
|
+
\fi
|
1745
|
+
\if@newlist
|
1746
|
+
\if@nobreak
|
1747
|
+
\@nbitem
|
1748
|
+
\else
|
1749
|
+
\addpenalty\@beginparpenalty
|
1750
|
+
\addvspace\@topsep
|
1751
|
+
\addvspace{-\parskip}%
|
1752
|
+
\fi
|
1753
|
+
\else
|
1754
|
+
\addpenalty\@itempenalty
|
1755
|
+
\addvspace\itemsep
|
1756
|
+
\fi
|
1757
|
+
\global\@inlabeltrue
|
1758
|
+
\fi
|
1759
|
+
\everypar{%
|
1760
|
+
\@minipagefalse
|
1761
|
+
\global\@newlistfalse
|
1762
|
+
\if@inlabel
|
1763
|
+
\global\@inlabelfalse
|
1764
|
+
{\setbox\z@\lastbox
|
1765
|
+
\ifvoid\z@
|
1766
|
+
\kern-\itemindent
|
1767
|
+
\fi}%
|
1768
|
+
\box\@labels
|
1769
|
+
\penalty\z@
|
1770
|
+
\fi
|
1771
|
+
\if@nobreak
|
1772
|
+
\@nobreakfalse
|
1773
|
+
\clubpenalty \@M
|
1774
|
+
\else
|
1775
|
+
\clubpenalty \@clubpenalty
|
1776
|
+
\everypar{\everyparhook}%
|
1777
|
+
\fi\everyparhook}%
|
1778
|
+
\if@noitemarg
|
1779
|
+
\@noitemargfalse
|
1780
|
+
\if@nmbrlist
|
1781
|
+
\refstepcounter\@listctr
|
1782
|
+
\fi
|
1783
|
+
\fi
|
1784
|
+
\sbox\@tempboxa{\makelabel{#1}}%
|
1785
|
+
\global\setbox\@labels\hbox{%
|
1786
|
+
\unhbox\@labels
|
1787
|
+
\hskip \itemindent
|
1788
|
+
\hskip -\labelwidth
|
1789
|
+
\hskip -\labelsep
|
1790
|
+
\ifdim \wd\@tempboxa >\labelwidth
|
1791
|
+
\box\@tempboxa
|
1792
|
+
\else
|
1793
|
+
\hbox to\labelwidth {\unhbox\@tempboxa}%
|
1794
|
+
\fi
|
1795
|
+
\hskip \labelsep}%
|
1796
|
+
\ignorespaces}
|
1797
|
+
\def\@afterheading{%
|
1798
|
+
\@nobreaktrue
|
1799
|
+
\everypar{%
|
1800
|
+
\if@nobreak
|
1801
|
+
\@nobreakfalse
|
1802
|
+
\clubpenalty \@M
|
1803
|
+
\if@afterindent \else
|
1804
|
+
{\setbox\z@\lastbox}%
|
1805
|
+
\fi
|
1806
|
+
\else
|
1807
|
+
\clubpenalty \@clubpenalty
|
1808
|
+
\everypar{\everyparhook}%
|
1809
|
+
\fi\everyparhook}}
|
1810
|
+
\def\@gnewline #1{%
|
1811
|
+
\ifvmode
|
1812
|
+
\@nolnerr
|
1813
|
+
\else
|
1814
|
+
\unskip \reserved@e {\reserved@f#1}\nobreak \hfil \break \null
|
1815
|
+
\inhibitglue \ignorespaces
|
1816
|
+
\fi}
|
1817
|
+
\if@jslogo
|
1818
|
+
\IfFileExists{jslogo.sty}{%
|
1819
|
+
\RequirePackage{jslogo}%
|
1820
|
+
\def\小{\jslg@small}%
|
1821
|
+
\def\上小{\jslg@uppersmall}%
|
1822
|
+
}{%
|
1823
|
+
\ClassWarningNoLine{\jsc@clsname}{%
|
1824
|
+
The redefinitions of LaTeX-related logos has\MessageBreak
|
1825
|
+
been moved to jslogo.sty since 2016, but\MessageBreak
|
1826
|
+
jslogo.sty not found. Current release of\MessageBreak
|
1827
|
+
'jsclasses' includes it, so please check\MessageBreak
|
1828
|
+
the installation}%
|
1829
|
+
}
|
1830
|
+
\fi
|
1831
|
+
\newcommand{\prepartname}{\if@english Part~\else 第\fi}
|
1832
|
+
\newcommand{\postpartname}{\if@english\else 部\fi}
|
1833
|
+
\newcommand{\presectionname}{}% 第
|
1834
|
+
\newcommand{\postsectionname}{}% 節
|
1835
|
+
\newcommand{\contentsname}{\if@english Contents\else 目次\fi}
|
1836
|
+
\newcommand{\listfigurename}{\if@english List of Figures\else 図目次\fi}
|
1837
|
+
\newcommand{\listtablename}{\if@english List of Tables\else 表目次\fi}
|
1838
|
+
\newcommand{\refname}{\if@english References\else 参考文献\fi}
|
1839
|
+
\newcommand{\bibname}{\if@english Bibliography\else 参考文献\fi}
|
1840
|
+
\newcommand{\indexname}{\if@english Index\else 索引\fi}
|
1841
|
+
\newcommand{\figurename}{\if@english Fig.~\else 図\fi}
|
1842
|
+
\newcommand{\tablename}{\if@english Table~\else 表\fi}
|
1843
|
+
\newcommand{\appendixname}{\if@english \else 付録\fi}
|
1844
|
+
\newcommand{\abstractname}{\if@english Abstract\else 概要\fi}
|
1845
|
+
\newif\if西暦 \西暦true
|
1846
|
+
\def\西暦{\西暦true}
|
1847
|
+
\def\和暦{\西暦false}
|
1848
|
+
\newcount\heisei \heisei\year \advance\heisei-1988\relax
|
1849
|
+
\def\today{%
|
1850
|
+
\if@english
|
1851
|
+
\ifcase\month\or
|
1852
|
+
January\or February\or March\or April\or May\or June\or
|
1853
|
+
July\or August\or September\or October\or November\or December\fi
|
1854
|
+
\space\number\day, \number\year
|
1855
|
+
\else
|
1856
|
+
\if西暦
|
1857
|
+
\number\year 年
|
1858
|
+
\number\month 月
|
1859
|
+
\number\day 日
|
1860
|
+
\else
|
1861
|
+
平成\number\heisei 年
|
1862
|
+
\number\month 月
|
1863
|
+
\number\day 日
|
1864
|
+
\fi
|
1865
|
+
\fi}
|
1866
|
+
\hyphenation{ado-be post-script ghost-script phe-nom-e-no-log-i-cal man-u-script}
|
1867
|
+
\pagestyle{plain}
|
1868
|
+
\pagenumbering{arabic}
|
1869
|
+
\if@twocolumn
|
1870
|
+
\twocolumn
|
1871
|
+
\sloppy
|
1872
|
+
\flushbottom
|
1873
|
+
\else
|
1874
|
+
\onecolumn
|
1875
|
+
\raggedbottom
|
1876
|
+
\fi
|
1877
|
+
\if@slide
|
1878
|
+
\renewcommand\kanjifamilydefault{\gtdefault}
|
1879
|
+
\renewcommand\familydefault{\sfdefault}
|
1880
|
+
\raggedright
|
1881
|
+
\xkanjiskip=0.1em\relax
|
1882
|
+
\fi
|
1883
|
+
\endinput
|
1884
|
+
%%
|
1885
|
+
%% End of file `kiyou.cls'.
|