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}
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@enablejfam \@enablejfamtrue
56 \newif\if@mathrmmc \@mathrmmcfalse
57 \DeclareOption{a4paper}{\setcounter{@paper}{1}%
58 \setlength\paperheight {297mm}%
59 \setlength\paperwidth {210mm}}
60 \DeclareOption{a5paper}{\setcounter{@paper}{2}%
61 \setlength\paperheight {210mm}
62 \setlength\paperwidth {148mm}}
63 \DeclareOption{b4paper}{\setcounter{@paper}{3}%
64 \setlength\paperheight {364mm}
65 \setlength\paperwidth {257mm}}
66 \DeclareOption{b5paper}{\setcounter{@paper}{4}%
67 \setlength\paperheight {257mm}
68 \setlength\paperwidth {182mm}}
69 \DeclareOption{a4j}{\setcounter{@paper}{1}\@stysizetrue
70 \setlength\paperheight {297mm}%
71 \setlength\paperwidth {210mm}}
72 \DeclareOption{a5j}{\setcounter{@paper}{2}\@stysizetrue
73 \setlength\paperheight {210mm}
74 \setlength\paperwidth {148mm}}
75 \DeclareOption{b4j}{\setcounter{@paper}{3}\@stysizetrue
76 \setlength\paperheight {364mm}
77 \setlength\paperwidth {257mm}}
78 \DeclareOption{b5j}{\setcounter{@paper}{4}\@stysizetrue
79 \setlength\paperheight {257mm}
80 \setlength\paperwidth {182mm}}
81 \DeclareOption{a4p}{\setcounter{@paper}{1}\@stysizetrue
82 \setlength\paperheight {297mm}%
83 \setlength\paperwidth {210mm}}
84 \DeclareOption{a5p}{\setcounter{@paper}{2}\@stysizetrue
85 \setlength\paperheight {210mm}
86 \setlength\paperwidth {148mm}}
87 \DeclareOption{b4p}{\setcounter{@paper}{3}\@stysizetrue
88 \setlength\paperheight {364mm}
89 \setlength\paperwidth {257mm}}
90 \DeclareOption{b5p}{\setcounter{@paper}{4}\@stysizetrue
91 \setlength\paperheight {257mm}
92 \setlength\paperwidth {182mm}}
94 \renewcommand{\@ptsize}{0}
96 \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
98 \DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
99 \DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
100 \DeclareOption{landscape}{\@landscapetrue
101 \setlength\@tempdima{\paperheight}%
102 \setlength\paperheight{\paperwidth}%
103 \setlength\paperwidth{\@tempdima}}
104 \DeclareOption{tombow}{%
105 \tombowtrue \tombowdatetrue
106 \setlength{\@tombowwidth}{.1\p@}%
108 \jobname\space:\space\number\year/\number\month/\number\day
109 (\number\hour:\number\minute)}
111 \DeclareOption{tombo}{%
112 \tombowtrue \tombowdatefalse
113 \setlength{\@tombowwidth}{.1\p@}%
115 \DeclareOption{mentuke}{%
116 \tombowtrue \tombowdatefalse
117 \setlength{\@tombowwidth}{\z@}%
119 %% \DeclareOption{tate}{%
120 %% \AtBeginDocument{\tate\message{《縦組モード》}%
123 \DeclareOption{oneside}{\@twosidefalse}
124 \DeclareOption{twoside}{\@twosidetrue}
125 \DeclareOption{onecolumn}{\@twocolumnfalse}
126 \DeclareOption{twocolumn}{\@twocolumntrue}
127 \DeclareOption{titlepage}{\@titlepagetrue}
128 \DeclareOption{notitlepage}{\@titlepagefalse}
129 \DeclareOption{leqno}{\input{leqno.clo}}
130 \DeclareOption{fleqn}{\input{fleqn.clo}}
131 \DeclareOption{openbib}{%
133 \renewcommand\@openbib@code{%
134 \advance\leftmargin\bibindent
135 \itemindent -\bibindent
136 \listparindent \itemindent
139 \renewcommand\newblock{\par}}}
143 \DeclareOption{disablejfam}{\@enablejfamfalse}
144 \DeclareOption{mathrmmc}{\@mathrmmctrue}
146 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
147 \DeclareOption{final}{\setlength\overfullrule{0pt}}
148 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final}
149 \ProcessOptions\relax
150 \input{ltjsize1\@ptsize.clo}
152 \setlength\columnsep{2\Cwd}
154 \setlength\columnsep{10\p@}
156 \setlength\columnseprule{0\p@}
157 \setlength{\@tempdima}{\paperwidth}
158 \setlength{\@tempdimb}{\paperheight}
160 \advance \@tempdima 2in
161 \advance \@tempdimb 2in
163 \setlength{\pdfpagewidth}{\@tempdima}
164 \setlength{\pdfpageheight}{\@tempdimb}
165 \setlength\lineskip{1\p@}
166 \setlength\normallineskip{1\p@}
167 \renewcommand{\baselinestretch}{}
168 \setlength\parskip{0\p@ \@plus \p@}
169 \setlength\parindent{1\Cwd}
173 \setcounter{topnumber}{2}
174 \setcounter{bottomnumber}{1}
175 \setcounter{totalnumber}{3}
176 \setcounter{dbltopnumber}{2}
177 \renewcommand{\topfraction}{.7}
178 \renewcommand{\bottomfraction}{.3}
179 \renewcommand{\textfraction}{.2}
180 \renewcommand{\floatpagefraction}{.5}
181 \renewcommand{\dbltopfraction}{.7}
182 \renewcommand{\dblfloatpagefraction}{.5}
183 \def\ps@plain{\let\@mkboth\@gobbletwo
184 \let\ps@jpl@in\ps@plain
186 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
187 \let\@evenhead\@empty
188 \let\@evenfoot\@oddfoot}
189 \let\ps@jpl@in\ps@plain
190 \def\ps@headnombre{\let\@mkboth\@gobbletwo
191 \let\ps@jpl@in\ps@headnombre
192 \def\@evenhead{\thepage\hfil}%
193 \def\@oddhead{\hfil\thepage}%
194 \let\@oddfoot\@empty\let\@evenfoot\@empty}
195 \def\ps@footnombre{\let\@mkboth\@gobbletwo
196 \let\ps@jpl@in\ps@footnombre
197 \def\@evenfoot{\thepage\hfil}%
198 \def\@oddfoot{\hfil\thepage}%
199 \let\@oddhead\@empty\let\@evenhead\@empty}
201 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
202 \let\@oddfoot\@empty\let\@evenfoot\@empty
203 \def\@evenhead{\thepage\hfil\leftmark}%
204 \def\@oddhead{{\rightmark}\hfil\thepage}%
205 \let\@mkboth\markboth
206 \def\sectionmark##1{\markboth{%
207 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
209 \def\subsectionmark##1{\markright{%
210 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
213 \else % if not twoside
214 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
216 \def\@oddhead{{\rightmark}\hfil\thepage}%
217 \let\@mkboth\markboth
218 \def\sectionmark##1{\markright{%
219 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
224 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
225 \def\@evenhead{\leftmark\hfil}% right page
226 \def\@evenfoot{\thepage\hfil}% right page
227 \def\@oddhead{\hfil\rightmark}% left page
228 \def\@oddfoot{\hfil\thepage}% left page
229 \let\@mkboth\markboth
230 \def\sectionmark##1{\markboth{%
231 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
233 \def\subsectionmark##1{\markright{%
234 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
237 \else % if one column
238 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
239 \def\@oddhead{\hfil\rightmark}%
240 \def\@oddfoot{\hfil\thepage}%
241 \let\@mkboth\markboth
242 \def\sectionmark##1{\markright{%
243 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
247 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
248 \let\@oddfoot\@empty\let\@evenfoot\@empty
249 \def\@evenhead{\thepage\hfil\leftmark}%
250 \def\@oddhead{{\rightmark}\hfil\thepage}%
251 \let\@mkboth\@gobbletwo
252 \let\sectionmark\@gobble
253 \let\subsectionmark\@gobble
256 \newenvironment{titlepage}
258 \if@twocolumn\@restonecoltrue\onecolumn
259 \else\@restonecolfalse\newpage\fi
260 \thispagestyle{empty}%
263 {\if@restonecol\twocolumn\else\newpage\fi
266 \newenvironment{titlepage}
269 \@restonecoltrue\onecolumn
271 \@restonecolfalse\newpage
273 \thispagestyle{empty}%
274 \setcounter{page}\@ne
276 {\if@restonecol\twocolumn \else \newpage \fi
278 \setcounter{page}\@ne
282 \def\p@thanks#1{\footnotemark
283 \protected@xdef\@thanks{\@thanks
284 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
286 \newcommand{\maketitle}{\begin{titlepage}%
287 \let\footnotesize\small
288 \let\footnoterule\relax
293 {\LARGE \@title \par}%
297 \begin{tabular}[t]{c}%
301 {\large \@date \par}% % Set date in \large size.
305 \setcounter{footnote}{0}%
306 \global\let\thanks\relax
307 \global\let\maketitle\relax
308 \global\let\p@thanks\relax
309 \global\let\@thanks\@empty
310 \global\let\@author\@empty
311 \global\let\@date\@empty
312 \global\let\@title\@empty
313 \global\let\title\relax
314 \global\let\author\relax
315 \global\let\date\relax
316 \global\let\and\relax
319 \newcommand{\maketitle}{\par
321 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
322 \def\@makefnmark{\hbox{\ifydir $\m@th^{\@thefnmark}$
323 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
324 \long\def\@makefntext##1{\parindent 1em\noindent
325 \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
327 \ifnum \col@number=\@ne \@maketitle
328 \else \twocolumn[\@maketitle]%
332 \global\@topnum\z@ % Prevents figures from going at top of page.
335 \thispagestyle{jpl@in}\@thanks
337 \setcounter{footnote}{0}%
338 \global\let\thanks\relax
339 \global\let\maketitle\relax
340 \global\let\p@thanks\relax
341 \global\let\@thanks\@empty
342 \global\let\@author\@empty
343 \global\let\@date\@empty
344 \global\let\@title\@empty
345 \global\let\title\relax
346 \global\let\author\relax
347 \global\let\date\relax
348 \global\let\and\relax
355 {\LARGE \@title \par}%
359 \begin{tabular}[t]{c}%
368 \newenvironment{abstract}{%
371 \@beginparpenalty\@lowpenalty
373 {\bfseries\abstractname}%
376 {\par\vfil\null\endtitlepage}
378 \newenvironment{abstract}{%
380 \section*{\abstractname}%
384 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
387 \fi}{\if@twocolumn\else\endquotation\fi}
389 \setcounter{secnumdepth}{3}
392 \newcounter{subsection}[section]
393 \newcounter{subsubsection}[subsection]
394 \newcounter{paragraph}[subsubsection]
395 \newcounter{subparagraph}[paragraph]
396 \renewcommand{\thepart}{\@Roman\c@part}
397 \renewcommand{\thesection}{\@arabic\c@section}
398 \renewcommand{\thesubsection}{\thesection.\@arabic\c@subsection}
399 \renewcommand{\thesubsubsection}{%
400 \thesubsection.\@arabic\c@subsubsection}
401 \renewcommand{\theparagraph}{%
402 \thesubsubsection.\@arabic\c@paragraph}
403 \renewcommand{\thesubparagraph}{%
404 \theparagraph.\@arabic\c@subparagraph}
405 \newcommand{\part}{\par\addvspace{4ex}%
407 \secdef\@part\@spart}
409 \ifnum \c@secnumdepth >\m@ne
410 \refstepcounter{part}%
411 \addcontentsline{toc}{part}{%
412 \prepartname\thepart\postpartname\hspace{1\zw}#1}%
414 \addcontentsline{toc}{part}{#1}%
417 {\parindent\z@\raggedright
418 \interlinepenalty\@M\reset@font
419 \ifnum \c@secnumdepth >\m@ne
420 \Large\bfseries\prepartname\thepart\postpartname
423 \huge\bfseries#2\par}%
424 \nobreak\vskip3ex\@afterheading}
426 \parindent\z@\raggedright
427 \interlinepenalty\@M\reset@font
428 \huge\bfseries#1\par}%
429 \nobreak\vskip3ex\@afterheading}
430 \newcommand{\section}{\@startsection{section}{1}{\z@}%
431 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
432 {.5\Cvs \@plus.3\Cvs}%
433 {\reset@font\Large\bfseries}}
434 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
435 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
436 {.5\Cvs \@plus.3\Cvs}%
437 {\reset@font\large\bfseries}}
438 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
439 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
440 {.5\Cvs \@plus.3\Cvs}%
441 {\reset@font\normalsize\bfseries}}
442 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
443 {3.25ex \@plus 1ex \@minus .2ex}%
445 {\reset@font\normalsize\bfseries}}
446 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
447 {3.25ex \@plus 1ex \@minus .2ex}%
449 {\reset@font\normalsize\bfseries}}
450 \newcommand{\appendix}{\par
451 \setcounter{section}{0}%
452 \setcounter{subsection}{0}%
453 \renewcommand{\thesection}{\@Alph\c@section}}
455 \setlength\leftmargini {2em}
457 \setlength\leftmargini {2.5em}
459 \setlength\leftmarginii {2.2em}
460 \setlength\leftmarginiii {1.87em}
461 \setlength\leftmarginiv {1.7em}
463 \setlength\leftmarginv {.5em}
464 \setlength\leftmarginvi{.5em}
466 \setlength\leftmarginv {1em}
467 \setlength\leftmarginvi{1em}
469 \setlength \labelsep {.5em}
470 \setlength \labelwidth{\leftmargini}
471 \addtolength\labelwidth{-\labelsep}
472 \@beginparpenalty -\@lowpenalty
473 \@endparpenalty -\@lowpenalty
474 \@itempenalty -\@lowpenalty
475 \renewcommand{\theenumi}{\@arabic\c@enumi}
476 \renewcommand{\theenumii}{\@alph\c@enumii}
477 \renewcommand{\theenumiii}{\@roman\c@enumiii}
478 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
479 \newcommand{\labelenumi}{\theenumi.}
480 \newcommand{\labelenumii}{(\theenumii)}
481 \newcommand{\labelenumiii}{\theenumiii.}
482 \newcommand{\labelenumiv}{\theenumiv.}
483 \renewcommand{\p@enumii}{\theenumi}
484 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
485 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
486 \renewenvironment{enumerate}
487 {\ifnum \@enumdepth >\thr@@\@toodeep\else
488 \advance\@enumdepth\@ne
489 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
490 \list{\csname label\@enumctr\endcsname}{%
492 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
494 \parskip\z@ \itemsep\z@ \parsep\z@
495 \labelwidth1\zw \labelsep.3\zw
496 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
497 \else\leftmargin\leftskip\fi
498 \advance\leftmargin 1\zw
500 \usecounter{\@enumctr}%
501 \def\makelabel##1{\hss\llap{##1}}}%
503 \newcommand{\labelitemi}{\textbullet}
504 \newcommand{\labelitemii}{%
508 {\normalfont\bfseries\textendash}
511 \newcommand{\labelitemiii}{\textasteriskcentered}
512 \newcommand{\labelitemiv}{\textperiodcentered}
513 \renewenvironment{itemize}
514 {\ifnum \@itemdepth >\thr@@\@toodeep\else
515 \advance\@itemdepth\@ne
516 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
518 \list{\csname \@itemitem\endcsname}{%
520 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
522 \parskip\z@ \itemsep\z@ \parsep\z@
523 \labelwidth1\zw \labelsep.3\zw
524 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
525 \else\leftmargin\leftskip\fi
526 \advance\leftmargin 1\zw
528 \def\makelabel##1{\hss\llap{##1}}}%
530 \newenvironment{description}
531 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
533 \leftmargin\leftskip \advance\leftmargin3\Cwd
534 \rightmargin\rightskip
535 \labelsep=1\zw \itemsep\z@
536 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
538 \let\makelabel\descriptionlabel}}{\endlist}
539 \newcommand{\descriptionlabel}[1]{%
540 \hspace\labelsep\normalfont\bfseries #1}
541 \newenvironment{verse}
543 \list{}{\itemsep\z@ \itemindent -1.5em%
544 \listparindent\itemindent
545 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
546 \item\relax}{\endlist}
547 \newenvironment{quotation}
548 {\list{}{\listparindent 1.5em%
549 \itemindent\listparindent
550 \rightmargin\leftmargin
551 \parsep\z@ \@plus\p@}%
552 \item\relax}{\endlist}
553 \newenvironment{quote}
554 {\list{}{\rightmargin\leftmargin}%
555 \item\relax}{\endlist}
557 \renewcommand{\thefigure}{\@arabic\c@figure}
561 \def\fnum@figure{\figurename~\thefigure}
562 \newenvironment{figure}
565 \newenvironment{figure*}
569 \renewcommand{\thetable}{\@arabic\c@table}
573 \def\fnum@table{\tablename~\thetable}
574 \newenvironment{table}
577 \newenvironment{table*}
580 \newlength\abovecaptionskip
581 \newlength\belowcaptionskip
582 \setlength\abovecaptionskip{10\p@}
583 \setlength\belowcaptionskip{0\p@}
584 \long\def\@makecaption#1#2{%
585 \vskip\abovecaptionskip
586 \iftdir\sbox\@tempboxa{#1\hskip1\zw#2}%
587 \else\sbox\@tempboxa{#1: #2}%
589 \ifdim \wd\@tempboxa >\hsize
590 \iftdir #1\hskip1\zw#2\relax\par
591 \else #1: #2\relax\par\fi
593 \global \@minipagefalse
594 \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
596 \vskip\belowcaptionskip}
597 \setlength\arraycolsep{5\p@}
598 \setlength\tabcolsep{6\p@}
599 \setlength\arrayrulewidth{.4\p@}
600 \setlength\doublerulesep{2\p@}
601 \setlength\tabbingsep{\labelsep}
602 \skip\@mpfootins = \skip\footins
603 \setlength\fboxsep{3\p@}
604 \setlength\fboxrule{.4\p@}
605 \renewcommand{\theequation}{\@arabic\c@equation}
606 \if@compatibility\else
607 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
608 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
609 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
611 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
615 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
616 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
619 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
620 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
621 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
622 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
623 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
624 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
625 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
626 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
627 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
628 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
629 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
630 \setcounter{tocdepth}{3}
631 \newcommand{\@pnumwidth}{1.55em}
632 \newcommand{\@tocrmarg}{2.55em}
633 \newcommand{\@dotsep}{4.5}
634 \newdimen\toclineskip
635 \setlength\toclineskip{\z@}
637 \def\numberline#1{\hbox to\@lnumwidth{#1\hfil}}
638 \def\@dottedtocline#1#2#3#4#5{%
639 \ifnum #1>\c@tocdepth \else
640 \vskip\toclineskip \@plus.2\p@
641 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
642 \parindent #2\relax\@afterindenttrue
646 \advance\leftskip \@lnumwidth \hbox{}\hskip -\leftskip
648 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
650 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
653 \def\addcontentsline#1#2#3{%
654 \protected@write\@auxout
655 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
656 \@temptokena{\thepage}}%
657 {\string\@writefile{#1}%
658 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
660 \newcommand{\tableofcontents}{%
661 \section*{\contentsname
662 \@mkboth{\contentsname}{\contentsname}%
665 \newcommand*{\l@part}[2]{%
666 \ifnum \c@tocdepth >-2\relax
667 \addpenalty{\@secpenalty}%
668 \addvspace{2.25em \@plus\p@}%
670 \parindent\z@\rightskip\@pnumwidth
671 \parfillskip-\@pnumwidth
672 {\leavevmode\large\bfseries
673 \setlength\@lnumwidth{4\zw}%
675 \hbox to\@pnumwidth{\hss#2}}\par
679 \everypar{\global\@nobreakfalse\everypar{}}%
683 \newcommand*{\l@section}[2]{%
684 \ifnum \c@tocdepth >\z@
685 \addpenalty{\@secpenalty}%
686 \addvspace{1.0em \@plus\p@}%
688 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
690 \setlength\@lnumwidth{1.5em}%
691 \advance\leftskip\@lnumwidth \hskip-\leftskip
692 #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
695 \newcommand*{\l@subsection} {\@dottedtocline{2}{1.5em}{2.3em}}
696 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3.8em}{3.2em}}
697 \newcommand*{\l@paragraph} {\@dottedtocline{4}{7.0em}{4.1em}}
698 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{10em}{5em}}
699 \newcommand{\listoffigures}{%
700 \section*{\listfigurename
701 \@mkboth{\listfigurename}{\listfigurename}}%
704 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
705 \newcommand{\listoftables}{%
706 \section*{\listtablename
707 \@mkboth{\listtablename}{\listtablename}}%
710 \let\l@table\l@figure
712 \setlength\bibindent{1.5em}
713 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
714 \newenvironment{thebibliography}[1]
715 {\section*{\refname\@mkboth{\refname}{\refname}}%
716 \list{\@biblabel{\@arabic\c@enumiv}}%
717 {\settowidth\labelwidth{\@biblabel{#1}}%
718 \leftmargin\labelwidth
719 \advance\leftmargin\labelsep
723 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
726 \@clubpenalty\clubpenalty
730 {\@latex@warning{Empty `thebibliography' environment}}%
732 \let\@openbib@code\@empty
733 \newenvironment{theindex}
734 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
735 \columnseprule\z@ \columnsep 35\p@
736 \twocolumn[\section*{\indexname}]%
737 \@mkboth{\indexname}{\indexname}%
738 \thispagestyle{jpl@in}\parindent\z@
739 \parskip\z@ \@plus .3\p@\relax
741 {\if@restonecol\onecolumn\else\clearpage\fi}
742 \newcommand{\@idxitem}{\par\hangindent 40\p@}
743 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
744 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
745 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
746 \renewcommand{\footnoterule}{%
748 \hrule width .4\columnwidth
750 \newcommand\@makefntext[1]{\parindent 1em
751 \noindent\hbox to 1.8em{\hss\@makefnmark}#1}
752 \newif\ifSeireki \Seirekifalse
753 \def\Seireki{\Seirekitrue}
754 \def\Wareki{\Seirekifalse}
755 \newcount\heisei \heisei\year \advance\heisei-1988\relax
759 \kansuji\number\year 年
760 \kansuji\number\month 月
761 \kansuji\number\day 日
763 平成\ifnum\heisei=1 元年\else\kansuji\number\heisei 年\fi
764 \kansuji\number\month 月
765 \kansuji\number\day 日
773 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
778 \newcommand{\prepartname}{第}
779 \newcommand{\postpartname}{部}
780 \newcommand{\contentsname}{目 次}
781 \newcommand{\listfigurename}{図 目 次}
782 \newcommand{\listtablename}{表 目 次}
783 \newcommand{\refname}{参考文献}
784 \newcommand{\indexname}{索 引}
785 \newcommand{\figurename}{図}
786 \newcommand{\tablename}{表}
787 \newcommand{\appendixname}{付 録}
788 \newcommand{\abstractname}{概 要}
790 \pagenumbering{arabic}
805 %% End of file `ltjarticle.cls'.