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