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