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