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