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