2 %% This is file `ltjarticle.cls',
3 %% generated with the docstrip utility.
5 %% The original source files were:
7 %% ltjclasses.dtx (with options: `article,yoko')
11 %% For the copyright see the source file.
13 %% Any modified versions of this file must be renamed
14 %% with new filenames distinct from ltjarticle.cls.
16 %% For distribution of the original source see the terms
17 %% for copying and modification in the file ltjclasses.dtx.
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 %% File: ltjclasses.dtx
25 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
26 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
27 %% Digits \0\1\2\3\4\5\6\7\8\9
28 %% Exclamation \! Double quote \" Hash (number) \#
29 %% Dollar \$ Percent \% Ampersand \&
30 %% Acute accent \' Left paren \( Right paren \)
31 %% Asterisk \* Plus \+ Comma \,
32 %% Minus \- Point \. Solidus \/
33 %% Colon \: Semicolon \; Less than \<
34 %% Equals \= Greater than \> Question mark \?
35 %% Commercial at \@ Left bracket \[ Backslash \\
36 %% Right bracket \] Circumflex \^ Underscore \_
37 %% Grave accent \` Left brace \{ Vertical bar \|
38 %% Right brace \} Tilde \~}
40 \NeedsTeXFormat{LaTeX2e}
41 \ProvidesClass{ltjarticle}
42 [2016/01/31 v1.6-ltj-11
43 Standard LuaLaTeX-ja class]
44 \RequirePackage{luatexja}
46 \newif\if@landscape \@landscapefalse
47 \newcommand{\@ptsize}{}
51 \hour\time \divide\hour by 60\relax
52 \@tempcnta\hour \multiply\@tempcnta 60\relax
53 \minute\time \advance\minute-\@tempcnta
54 \newif\if@stysize \@stysizefalse
55 \newif\if@mathrmmc \@mathrmmcfalse
56 \DeclareOption{a4paper}{\setcounter{@paper}{1}%
57 \setlength\paperheight {297mm}%
58 \setlength\paperwidth {210mm}}
59 \DeclareOption{a5paper}{\setcounter{@paper}{2}%
60 \setlength\paperheight {210mm}
61 \setlength\paperwidth {148mm}}
62 \DeclareOption{b4paper}{\setcounter{@paper}{3}%
63 \setlength\paperheight {364mm}
64 \setlength\paperwidth {257mm}}
65 \DeclareOption{b5paper}{\setcounter{@paper}{4}%
66 \setlength\paperheight {257mm}
67 \setlength\paperwidth {182mm}}
68 \DeclareOption{a4j}{\setcounter{@paper}{1}\@stysizetrue
69 \setlength\paperheight {297mm}%
70 \setlength\paperwidth {210mm}}
71 \DeclareOption{a5j}{\setcounter{@paper}{2}\@stysizetrue
72 \setlength\paperheight {210mm}
73 \setlength\paperwidth {148mm}}
74 \DeclareOption{b4j}{\setcounter{@paper}{3}\@stysizetrue
75 \setlength\paperheight {364mm}
76 \setlength\paperwidth {257mm}}
77 \DeclareOption{b5j}{\setcounter{@paper}{4}\@stysizetrue
78 \setlength\paperheight {257mm}
79 \setlength\paperwidth {182mm}}
80 \DeclareOption{a4p}{\setcounter{@paper}{1}\@stysizetrue
81 \setlength\paperheight {297mm}%
82 \setlength\paperwidth {210mm}}
83 \DeclareOption{a5p}{\setcounter{@paper}{2}\@stysizetrue
84 \setlength\paperheight {210mm}
85 \setlength\paperwidth {148mm}}
86 \DeclareOption{b4p}{\setcounter{@paper}{3}\@stysizetrue
87 \setlength\paperheight {364mm}
88 \setlength\paperwidth {257mm}}
89 \DeclareOption{b5p}{\setcounter{@paper}{4}\@stysizetrue
90 \setlength\paperheight {257mm}
91 \setlength\paperwidth {182mm}}
93 \renewcommand{\@ptsize}{0}
95 \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
97 \DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
98 \DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
99 \DeclareOption{landscape}{\@landscapetrue
100 \setlength\@tempdima{\paperheight}%
101 \setlength\paperheight{\paperwidth}%
102 \setlength\paperwidth{\@tempdima}}
103 \DeclareOption{tombow}{%
104 \tombowtrue \tombowdatetrue
105 \setlength{\@tombowwidth}{.1\p@}%
107 \jobname\space:\space\number\year/\number\month/\number\day
108 (\number\hour:\number\minute)}
110 \DeclareOption{tombo}{%
111 \tombowtrue \tombowdatefalse
112 \setlength{\@tombowwidth}{.1\p@}%
114 \DeclareOption{mentuke}{%
115 \tombowtrue \tombowdatefalse
116 \setlength{\@tombowwidth}{\z@}%
118 \DeclareOption{tate}{%
119 \tate\AtBeginDocument{\message{《縦組モード》}\adjustbaseline}%
121 \DeclareOption{oneside}{\@twosidefalse}
122 \DeclareOption{twoside}{\@twosidetrue}
123 \DeclareOption{onecolumn}{\@twocolumnfalse}
124 \DeclareOption{twocolumn}{\@twocolumntrue}
125 \DeclareOption{titlepage}{\@titlepagetrue}
126 \DeclareOption{notitlepage}{\@titlepagefalse}
127 \DeclareOption{leqno}{\input{leqno.clo}}
128 \DeclareOption{fleqn}{\input{fleqn.clo}}
129 \DeclareOption{openbib}{%
131 \renewcommand\@openbib@code{%
132 \advance\leftmargin\bibindent
133 \itemindent -\bibindent
134 \listparindent \itemindent
137 \renewcommand\newblock{\par}}}
141 \DeclareOption{disablejfam}{%
142 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
143 \DeclareOption{mathrmmc}{\@mathrmmctrue}
145 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
146 \DeclareOption{final}{\setlength\overfullrule{0pt}}
147 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
148 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
149 'ltj.jclasses_load_jfm', 1)}
150 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
151 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
152 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
153 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
154 \ltjglobalsetparameter{differentjfm=both}
155 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
156 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final}
157 \ProcessOptions\relax
158 \input{ltjsize1\@ptsize.clo}
160 \setlength\columnsep{2\Cwd}
162 \setlength\columnsep{10\p@}
164 \setlength\columnseprule{0\p@}
165 \setlength{\@tempdima}{\paperwidth}
166 \setlength{\@tempdimb}{\paperheight}
167 \ifdefined\pdfpagewidth
169 \advance \@tempdima 2in
170 \advance \@tempdimb 2in
172 \setlength{\pdfpagewidth}{\@tempdima}
173 \setlength{\pdfpageheight}{\@tempdimb}
176 \advance \@tempdima 2in
177 \advance \@tempdimb 2in
179 \setlength{\pagewidth}{\@tempdima}
180 \setlength{\pageheight}{\@tempdimb}
182 \setlength\lineskip{1\p@}
183 \setlength\normallineskip{1\p@}
184 \renewcommand{\baselinestretch}{}
185 \setlength\parskip{0\p@ \@plus \p@}
186 \setlength\parindent{1\Cwd}
190 \setcounter{topnumber}{2}
191 \setcounter{bottomnumber}{1}
192 \setcounter{totalnumber}{3}
193 \setcounter{dbltopnumber}{2}
194 \renewcommand{\topfraction}{.7}
195 \renewcommand{\bottomfraction}{.3}
196 \renewcommand{\textfraction}{.2}
197 \renewcommand{\floatpagefraction}{.5}
198 \renewcommand{\dbltopfraction}{.7}
199 \renewcommand{\dblfloatpagefraction}{.5}
200 \def\ps@plain{\let\@mkboth\@gobbletwo
201 \let\ps@jpl@in\ps@plain
203 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
204 \let\@evenhead\@empty
205 \let\@evenfoot\@oddfoot}
206 \let\ps@jpl@in\ps@plain
207 \def\ps@headnombre{\let\@mkboth\@gobbletwo
208 \let\ps@jpl@in\ps@headnombre
209 \def\@evenhead{\thepage\hfil}%
210 \def\@oddhead{\hfil\thepage}%
211 \let\@oddfoot\@empty\let\@evenfoot\@empty}
212 \def\ps@footnombre{\let\@mkboth\@gobbletwo
213 \let\ps@jpl@in\ps@footnombre
214 \def\@evenfoot{\thepage\hfil}%
215 \def\@oddfoot{\hfil\thepage}%
216 \let\@oddhead\@empty\let\@evenhead\@empty}
218 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
219 \let\@oddfoot\@empty\let\@evenfoot\@empty
220 \def\@evenhead{\thepage\hfil\leftmark}%
221 \def\@oddhead{{\rightmark}\hfil\thepage}%
222 \let\@mkboth\markboth
223 \def\sectionmark##1{\markboth{%
224 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
226 \def\subsectionmark##1{\markright{%
227 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
230 \else % if not twoside
231 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
233 \def\@oddhead{{\rightmark}\hfil\thepage}%
234 \let\@mkboth\markboth
235 \def\sectionmark##1{\markright{%
236 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
241 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
242 \def\@evenhead{\leftmark\hfil}% right page
243 \def\@evenfoot{\thepage\hfil}% right page
244 \def\@oddhead{\hfil\rightmark}% left page
245 \def\@oddfoot{\hfil\thepage}% left page
246 \let\@mkboth\markboth
247 \def\sectionmark##1{\markboth{%
248 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
250 \def\subsectionmark##1{\markright{%
251 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
254 \else % if one column
255 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
256 \def\@oddhead{\hfil\rightmark}%
257 \def\@oddfoot{\hfil\thepage}%
258 \let\@mkboth\markboth
259 \def\sectionmark##1{\markright{%
260 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
264 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
265 \let\@oddfoot\@empty\let\@evenfoot\@empty
266 \def\@evenhead{\thepage\hfil\leftmark}%
267 \def\@oddhead{{\rightmark}\hfil\thepage}%
268 \let\@mkboth\@gobbletwo
269 \let\sectionmark\@gobble
270 \let\subsectionmark\@gobble
273 \newenvironment{titlepage}
275 \if@twocolumn\@restonecoltrue\onecolumn
276 \else\@restonecolfalse\newpage\fi
277 \thispagestyle{empty}%
280 {\if@restonecol\twocolumn\else\newpage\fi
283 \newenvironment{titlepage}
286 \@restonecoltrue\onecolumn
288 \@restonecolfalse\newpage
290 \thispagestyle{empty}%
291 \setcounter{page}\@ne
293 {\if@restonecol\twocolumn \else \newpage \fi
295 \setcounter{page}\@ne
299 \def\p@thanks#1{\footnotemark
300 \protected@xdef\@thanks{\@thanks
301 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
303 \newcommand{\maketitle}{\begin{titlepage}%
304 \let\footnotesize\small
305 \let\footnoterule\relax
310 {\LARGE \@title \par}%
314 \begin{tabular}[t]{c}%
318 {\large \@date \par}% % Set date in \large size.
322 \setcounter{footnote}{0}%
323 \global\let\thanks\relax
324 \global\let\maketitle\relax
325 \global\let\p@thanks\relax
326 \global\let\@thanks\@empty
327 \global\let\@author\@empty
328 \global\let\@date\@empty
329 \global\let\@title\@empty
330 \global\let\title\relax
331 \global\let\author\relax
332 \global\let\date\relax
333 \global\let\and\relax
336 \newcommand{\maketitle}{\par
338 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
339 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
340 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
341 \long\def\@makefntext##1{\parindent 1em\noindent
342 \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
344 \ifnum \col@number=\@ne \@maketitle
345 \else \twocolumn[\@maketitle]%
349 \global\@topnum\z@ % Prevents figures from going at top of page.
352 \thispagestyle{jpl@in}\@thanks
354 \setcounter{footnote}{0}%
355 \global\let\thanks\relax
356 \global\let\maketitle\relax
357 \global\let\p@thanks\relax
358 \global\let\@thanks\@empty
359 \global\let\@author\@empty
360 \global\let\@date\@empty
361 \global\let\@title\@empty
362 \global\let\title\relax
363 \global\let\author\relax
364 \global\let\date\relax
365 \global\let\and\relax
372 {\LARGE \@title \par}%
376 \begin{tabular}[t]{c}%
385 \newenvironment{abstract}{%
388 \@beginparpenalty\@lowpenalty
390 {\bfseries\abstractname}%
393 {\par\vfil\null\endtitlepage}
395 \newenvironment{abstract}{%
397 \section*{\abstractname}%
401 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
404 \fi}{\if@twocolumn\else\endquotation\fi}
406 \setcounter{secnumdepth}{3}
409 \newcounter{subsection}[section]
410 \newcounter{subsubsection}[subsection]
411 \newcounter{paragraph}[subsubsection]
412 \newcounter{subparagraph}[paragraph]
413 \renewcommand{\thepart}{\@Roman\c@part}
414 \renewcommand{\thesection}{\@arabic\c@section}
415 \renewcommand{\thesubsection}{\thesection.\@arabic\c@subsection}
416 \renewcommand{\thesubsubsection}{%
417 \thesubsection.\@arabic\c@subsubsection}
418 \renewcommand{\theparagraph}{%
419 \thesubsubsection.\@arabic\c@paragraph}
420 \renewcommand{\thesubparagraph}{%
421 \theparagraph.\@arabic\c@subparagraph}
422 \newcommand{\part}{\par\addvspace{4ex}%
424 \secdef\@part\@spart}
426 \ifnum \c@secnumdepth >\m@ne
427 \refstepcounter{part}%
428 \addcontentsline{toc}{part}{%
429 \prepartname\thepart\postpartname\hspace{1\zw}#1}%
431 \addcontentsline{toc}{part}{#1}%
434 {\parindent\z@\raggedright
435 \interlinepenalty\@M\reset@font
436 \ifnum \c@secnumdepth >\m@ne
437 \Large\bfseries\prepartname\thepart\postpartname
440 \huge\bfseries#2\par}%
441 \nobreak\vskip3ex\@afterheading}
443 \parindent\z@\raggedright
444 \interlinepenalty\@M\reset@font
445 \huge\bfseries#1\par}%
446 \nobreak\vskip3ex\@afterheading}
447 \newcommand{\section}{\@startsection{section}{1}{\z@}%
448 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
449 {.5\Cvs \@plus.3\Cvs}%
450 {\reset@font\Large\bfseries}}
451 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
452 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
453 {.5\Cvs \@plus.3\Cvs}%
454 {\reset@font\large\bfseries}}
455 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
456 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
457 {.5\Cvs \@plus.3\Cvs}%
458 {\reset@font\normalsize\bfseries}}
459 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
460 {3.25ex \@plus 1ex \@minus .2ex}%
462 {\reset@font\normalsize\bfseries}}
463 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
464 {3.25ex \@plus 1ex \@minus .2ex}%
466 {\reset@font\normalsize\bfseries}}
467 \newcommand{\appendix}{\par
468 \setcounter{section}{0}%
469 \setcounter{subsection}{0}%
470 \renewcommand{\thesection}{\@Alph\c@section}}
472 \setlength\leftmargini {2em}
474 \setlength\leftmargini {2.5em}
476 \setlength\leftmarginii {2.2em}
477 \setlength\leftmarginiii {1.87em}
478 \setlength\leftmarginiv {1.7em}
480 \setlength\leftmarginv {.5em}
481 \setlength\leftmarginvi{.5em}
483 \setlength\leftmarginv {1em}
484 \setlength\leftmarginvi{1em}
486 \setlength \labelsep {.5em}
487 \setlength \labelwidth{\leftmargini}
488 \addtolength\labelwidth{-\labelsep}
489 \@beginparpenalty -\@lowpenalty
490 \@endparpenalty -\@lowpenalty
491 \@itempenalty -\@lowpenalty
492 \renewcommand{\theenumi}{\@arabic\c@enumi}
493 \renewcommand{\theenumii}{\@alph\c@enumii}
494 \renewcommand{\theenumiii}{\@roman\c@enumiii}
495 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
496 \newcommand{\labelenumi}{\theenumi.}
497 \newcommand{\labelenumii}{(\theenumii)}
498 \newcommand{\labelenumiii}{\theenumiii.}
499 \newcommand{\labelenumiv}{\theenumiv.}
500 \renewcommand{\p@enumii}{\theenumi}
501 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
502 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
503 \renewenvironment{enumerate}
504 {\ifnum \@enumdepth >\thr@@\@toodeep\else
505 \advance\@enumdepth\@ne
506 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
507 \list{\csname label\@enumctr\endcsname}{%
508 \ifnum\ltjgetparameter{direction}=3
509 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
511 \parskip\z@ \itemsep\z@ \parsep\z@
512 \labelwidth1\zw \labelsep.3\zw
513 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
514 \else\leftmargin\leftskip\fi
515 \advance\leftmargin 1\zw
517 \usecounter{\@enumctr}%
518 \def\makelabel##1{\hss\llap{##1}}}%
520 \newcommand{\labelitemi}{\textbullet}
521 \newcommand{\labelitemii}{%
522 \ifnum\ltjgetparameter{direction}=3
525 {\normalfont\bfseries\textendash}
528 \newcommand{\labelitemiii}{\textasteriskcentered}
529 \newcommand{\labelitemiv}{\textperiodcentered}
530 \renewenvironment{itemize}
531 {\ifnum \@itemdepth >\thr@@\@toodeep\else
532 \advance\@itemdepth\@ne
533 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
535 \list{\csname \@itemitem\endcsname}{%
536 \ifnum\ltjgetparameter{direction}=3
537 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
539 \parskip\z@ \itemsep\z@ \parsep\z@
540 \labelwidth1\zw \labelsep.3\zw
541 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
542 \else\leftmargin\leftskip\fi
543 \advance\leftmargin 1\zw
545 \def\makelabel##1{\hss\llap{##1}}}%
547 \newenvironment{description}
548 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
549 \ifnum\ltjgetparameter{direction}=3
550 \leftmargin\leftskip \advance\leftmargin3\Cwd
551 \rightmargin\rightskip
552 \labelsep=1\zw \itemsep\z@
553 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
555 \let\makelabel\descriptionlabel}}{\endlist}
556 \newcommand{\descriptionlabel}[1]{%
557 \hspace\labelsep\normalfont\bfseries #1}
558 \newenvironment{verse}
560 \list{}{\itemsep\z@ \itemindent -1.5em%
561 \listparindent\itemindent
562 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
563 \item\relax}{\endlist}
564 \newenvironment{quotation}
565 {\list{}{\listparindent 1.5em%
566 \itemindent\listparindent
567 \rightmargin\leftmargin
568 \parsep\z@ \@plus\p@}%
569 \item\relax}{\endlist}
570 \newenvironment{quote}
571 {\list{}{\rightmargin\leftmargin}%
572 \item\relax}{\endlist}
574 \renewcommand{\thefigure}{\@arabic\c@figure}
578 \def\fnum@figure{\figurename~\thefigure}
579 \newenvironment{figure}
582 \newenvironment{figure*}
586 \renewcommand{\thetable}{\@arabic\c@table}
590 \def\fnum@table{\tablename~\thetable}
591 \newenvironment{table}
594 \newenvironment{table*}
597 \newlength\abovecaptionskip
598 \newlength\belowcaptionskip
599 \setlength\abovecaptionskip{10\p@}
600 \setlength\belowcaptionskip{0\p@}
601 \long\def\@makecaption#1#2{%
602 \vskip\abovecaptionskip
603 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
604 \else\sbox\@tempboxa{#1: #2}%
606 \ifdim \wd\@tempboxa >\hsize
607 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
608 \else #1: #2\relax\par\fi
610 \global \@minipagefalse
611 \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
613 \vskip\belowcaptionskip}
614 \setlength\arraycolsep{5\p@}
615 \setlength\tabcolsep{6\p@}
616 \setlength\arrayrulewidth{.4\p@}
617 \setlength\doublerulesep{2\p@}
618 \setlength\tabbingsep{\labelsep}
619 \skip\@mpfootins = \skip\footins
620 \setlength\fboxsep{3\p@}
621 \setlength\fboxrule{.4\p@}
622 \renewcommand{\theequation}{\@arabic\c@equation}
623 \if@compatibility\else
624 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
625 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
626 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
628 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
632 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
633 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
636 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
637 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
638 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
639 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
640 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
641 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
642 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
643 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
644 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
645 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
646 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
647 \setcounter{tocdepth}{3}
648 \newcommand{\@pnumwidth}{1.55em}
649 \newcommand{\@tocrmarg}{2.55em}
650 \newcommand{\@dotsep}{4.5}
651 \newdimen\toclineskip
652 \setlength\toclineskip{\z@}
654 \def\numberline#1{\hbox to\@lnumwidth{#1\hfil}}
655 \def\@dottedtocline#1#2#3#4#5{%
656 \ifnum #1>\c@tocdepth \else
657 \vskip\toclineskip \@plus.2\p@
658 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
659 \parindent #2\relax\@afterindenttrue
663 \advance\leftskip \@lnumwidth \hbox{}\hskip -\leftskip
665 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
667 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
670 \def\addcontentsline#1#2#3{%
671 \protected@write\@auxout
672 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
673 \@temptokena{\thepage}}%
674 {\string\@writefile{#1}%
675 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
677 \newcommand{\tableofcontents}{%
678 \section*{\contentsname
679 \@mkboth{\contentsname}{\contentsname}%
682 \newcommand*{\l@part}[2]{%
683 \ifnum \c@tocdepth >-2\relax
684 \addpenalty{\@secpenalty}%
685 \addvspace{2.25em \@plus\p@}%
687 \parindent\z@\rightskip\@pnumwidth
688 \parfillskip-\@pnumwidth
689 {\leavevmode\large\bfseries
690 \setlength\@lnumwidth{4\zw}%
692 \hbox to\@pnumwidth{\hss#2}}\par
696 \everypar{\global\@nobreakfalse\everypar{}}%
700 \newcommand*{\l@section}[2]{%
701 \ifnum \c@tocdepth >\z@
702 \addpenalty{\@secpenalty}%
703 \addvspace{1.0em \@plus\p@}%
705 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
707 \setlength\@lnumwidth{1.5em}%
708 \advance\leftskip\@lnumwidth \hskip-\leftskip
709 #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
712 \newcommand*{\l@subsection} {\@dottedtocline{2}{1.5em}{2.3em}}
713 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3.8em}{3.2em}}
714 \newcommand*{\l@paragraph} {\@dottedtocline{4}{7.0em}{4.1em}}
715 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{10em}{5em}}
716 \newcommand{\listoffigures}{%
717 \section*{\listfigurename
718 \@mkboth{\listfigurename}{\listfigurename}}%
721 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
722 \newcommand{\listoftables}{%
723 \section*{\listtablename
724 \@mkboth{\listtablename}{\listtablename}}%
727 \let\l@table\l@figure
729 \setlength\bibindent{1.5em}
730 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
731 \newenvironment{thebibliography}[1]
732 {\section*{\refname\@mkboth{\refname}{\refname}}%
733 \list{\@biblabel{\@arabic\c@enumiv}}%
734 {\settowidth\labelwidth{\@biblabel{#1}}%
735 \leftmargin\labelwidth
736 \advance\leftmargin\labelsep
740 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
743 \@clubpenalty\clubpenalty
747 {\@latex@warning{Empty `thebibliography' environment}}%
749 \let\@openbib@code\@empty
750 \newenvironment{theindex}
751 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
752 \columnseprule\z@ \columnsep 35\p@
753 \twocolumn[\section*{\indexname}]%
754 \@mkboth{\indexname}{\indexname}%
755 \thispagestyle{jpl@in}\parindent\z@
756 \parskip\z@ \@plus .3\p@\relax
758 {\if@restonecol\onecolumn\else\clearpage\fi}
759 \newcommand{\@idxitem}{\par\hangindent 40\p@}
760 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
761 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
762 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
763 \renewcommand{\footnoterule}{%
765 \hrule width .4\columnwidth
767 \newcommand\@makefntext[1]{\parindent 1em
768 \noindent\hbox to 1.8em{\hss\@makefnmark}#1}
772 \newcount\heisei \heisei\year \advance\heisei-1988\relax
774 \ifnum\ltjgetparameter{direction}=3
780 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
790 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
795 \newcommand{\prepartname}{第}
796 \newcommand{\postpartname}{部}
797 \newcommand{\contentsname}{目 次}
798 \newcommand{\listfigurename}{図 目 次}
799 \newcommand{\listtablename}{表 目 次}
800 \newcommand{\refname}{参考文献}
801 \newcommand{\indexname}{索 引}
802 \newcommand{\figurename}{図}
803 \newcommand{\tablename}{表}
804 \newcommand{\appendixname}{付 録}
805 \newcommand{\abstractname}{概 要}
807 \pagenumbering{arabic}
822 %% End of file `ltjarticle.cls'.