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
24 \NeedsTeXFormat{LaTeX2e}
25 \ProvidesClass{ltjarticle}
26 [2016/12/30 v1.7c-ltj-11
27 Standard LuaLaTeX-ja class]
28 \RequirePackage{luatexja}
30 \newif\if@landscape \@landscapefalse
31 \newcommand{\@ptsize}{}
35 \hour\time \divide\hour by 60\relax
36 \@tempcnta\hour \multiply\@tempcnta 60\relax
37 \minute\time \advance\minute-\@tempcnta
38 \newif\if@stysize \@stysizefalse
39 \newif\if@mathrmmc \@mathrmmcfalse
40 \DeclareOption{a4paper}{\setcounter{@paper}{1}%
41 \setlength\paperheight {297mm}%
42 \setlength\paperwidth {210mm}}
43 \DeclareOption{a5paper}{\setcounter{@paper}{2}%
44 \setlength\paperheight {210mm}
45 \setlength\paperwidth {148mm}}
46 \DeclareOption{b4paper}{\setcounter{@paper}{3}%
47 \setlength\paperheight {364mm}
48 \setlength\paperwidth {257mm}}
49 \DeclareOption{b5paper}{\setcounter{@paper}{4}%
50 \setlength\paperheight {257mm}
51 \setlength\paperwidth {182mm}}
52 \DeclareOption{a4j}{\setcounter{@paper}{1}\@stysizetrue
53 \setlength\paperheight {297mm}%
54 \setlength\paperwidth {210mm}}
55 \DeclareOption{a5j}{\setcounter{@paper}{2}\@stysizetrue
56 \setlength\paperheight {210mm}
57 \setlength\paperwidth {148mm}}
58 \DeclareOption{b4j}{\setcounter{@paper}{3}\@stysizetrue
59 \setlength\paperheight {364mm}
60 \setlength\paperwidth {257mm}}
61 \DeclareOption{b5j}{\setcounter{@paper}{4}\@stysizetrue
62 \setlength\paperheight {257mm}
63 \setlength\paperwidth {182mm}}
64 \DeclareOption{a4p}{\setcounter{@paper}{1}\@stysizetrue
65 \setlength\paperheight {297mm}%
66 \setlength\paperwidth {210mm}}
67 \DeclareOption{a5p}{\setcounter{@paper}{2}\@stysizetrue
68 \setlength\paperheight {210mm}
69 \setlength\paperwidth {148mm}}
70 \DeclareOption{b4p}{\setcounter{@paper}{3}\@stysizetrue
71 \setlength\paperheight {364mm}
72 \setlength\paperwidth {257mm}}
73 \DeclareOption{b5p}{\setcounter{@paper}{4}\@stysizetrue
74 \setlength\paperheight {257mm}
75 \setlength\paperwidth {182mm}}
77 \renewcommand{\@ptsize}{0}
79 \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
81 \DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
82 \DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
83 \DeclareOption{landscape}{\@landscapetrue
84 \setlength\@tempdima{\paperheight}%
85 \setlength\paperheight{\paperwidth}%
86 \setlength\paperwidth{\@tempdima}}
87 \DeclareOption{tombow}{%
88 \tombowtrue \tombowdatetrue
89 \setlength{\@tombowwidth}{.1\p@}%
91 \jobname\space:\space\number\year/\number\month/\number\day
92 (\number\hour:\number\minute)}
94 \DeclareOption{tombo}{%
95 \tombowtrue \tombowdatefalse
96 \setlength{\@tombowwidth}{.1\p@}%
98 \DeclareOption{mentuke}{%
99 \tombowtrue \tombowdatefalse
100 \setlength{\@tombowwidth}{\z@}%
102 \DeclareOption{tate}{%
103 \tate\AtBeginDocument{\message{《縦組モード》}\adjustbaseline}%
105 \DeclareOption{oneside}{\@twosidefalse}
106 \DeclareOption{twoside}{\@twosidetrue}
107 \DeclareOption{onecolumn}{\@twocolumnfalse}
108 \DeclareOption{twocolumn}{\@twocolumntrue}
109 \DeclareOption{titlepage}{\@titlepagetrue}
110 \DeclareOption{notitlepage}{\@titlepagefalse}
111 \DeclareOption{leqno}{\input{leqno.clo}}
112 \DeclareOption{fleqn}{\input{fleqn.clo}}
113 \DeclareOption{openbib}{%
115 \renewcommand\@openbib@code{%
116 \advance\leftmargin\bibindent
117 \itemindent -\bibindent
118 \listparindent \itemindent
121 \renewcommand\newblock{\par}}}
125 \DeclareOption{disablejfam}{%
126 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
127 \DeclareOption{mathrmmc}{\@mathrmmctrue}
129 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
130 \DeclareOption{final}{\setlength\overfullrule{0pt}}
131 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
132 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
133 'ltj.jclasses_load_jfm', 1)}
134 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
135 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
136 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
137 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
138 \ltjglobalsetparameter{differentjfm=both}
139 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
140 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final}
141 \ProcessOptions\relax
142 \input{ltjsize1\@ptsize.clo}
144 \setlength\columnsep{2\Cwd}
146 \setlength\columnsep{10\p@}
148 \setlength\columnseprule{0\p@}
149 \newlength{\stockwidth}
150 \newlength{\stockheight}
151 \setlength{\stockwidth}{\paperwidth}
152 \setlength{\stockheight}{\paperheight}
154 \advance \stockwidth 2in
155 \advance \stockheight 2in
157 \ifdefined\pdfpagewidth
158 \setlength{\pdfpagewidth}{\stockwidth}
159 \setlength{\pdfpageheight}{\stockheight}
161 \setlength{\pagewidth}{\stockwidth}
162 \setlength{\pageheight}{\stockheight}
164 \setlength\lineskip{1\p@}
165 \setlength\normallineskip{1\p@}
166 \renewcommand{\baselinestretch}{}
167 \setlength\parskip{0\p@ \@plus \p@}
168 \setlength\parindent{1\Cwd}
172 \setcounter{topnumber}{2}
173 \setcounter{bottomnumber}{1}
174 \setcounter{totalnumber}{3}
175 \setcounter{dbltopnumber}{2}
176 \renewcommand{\topfraction}{.7}
177 \renewcommand{\bottomfraction}{.3}
178 \renewcommand{\textfraction}{.2}
179 \renewcommand{\floatpagefraction}{.5}
180 \renewcommand{\dbltopfraction}{.7}
181 \renewcommand{\dblfloatpagefraction}{.5}
182 \def\ps@plain{\let\@mkboth\@gobbletwo
183 \let\ps@jpl@in\ps@plain
185 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
186 \let\@evenhead\@empty
187 \let\@evenfoot\@oddfoot}
188 \let\ps@jpl@in\ps@plain
189 \def\ps@headnombre{\let\@mkboth\@gobbletwo
190 \let\ps@jpl@in\ps@headnombre
191 \def\@evenhead{\thepage\hfil}%
192 \def\@oddhead{\hfil\thepage}%
193 \let\@oddfoot\@empty\let\@evenfoot\@empty}
194 \def\ps@footnombre{\let\@mkboth\@gobbletwo
195 \let\ps@jpl@in\ps@footnombre
196 \def\@evenfoot{\thepage\hfil}%
197 \def\@oddfoot{\hfil\thepage}%
198 \let\@oddhead\@empty\let\@evenhead\@empty}
200 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
201 \let\@oddfoot\@empty\let\@evenfoot\@empty
202 \def\@evenhead{\thepage\hfil\leftmark}%
203 \def\@oddhead{{\rightmark}\hfil\thepage}%
204 \let\@mkboth\markboth
205 \def\sectionmark##1{\markboth{%
206 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
208 \def\subsectionmark##1{\markright{%
209 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
212 \else % if not twoside
213 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
215 \def\@oddhead{{\rightmark}\hfil\thepage}%
216 \let\@mkboth\markboth
217 \def\sectionmark##1{\markright{%
218 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
223 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
224 \def\@evenhead{\leftmark\hfil}% right page
225 \def\@evenfoot{\thepage\hfil}% right page
226 \def\@oddhead{\hfil\rightmark}% left page
227 \def\@oddfoot{\hfil\thepage}% left page
228 \let\@mkboth\markboth
229 \def\sectionmark##1{\markboth{%
230 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
232 \def\subsectionmark##1{\markright{%
233 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
236 \else % if one column
237 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
238 \def\@oddhead{\hfil\rightmark}%
239 \def\@oddfoot{\hfil\thepage}%
240 \let\@mkboth\markboth
241 \def\sectionmark##1{\markright{%
242 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
246 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
247 \let\@oddfoot\@empty\let\@evenfoot\@empty
248 \def\@evenhead{\thepage\hfil\leftmark}%
249 \def\@oddhead{{\rightmark}\hfil\thepage}%
250 \let\@mkboth\@gobbletwo
251 \let\sectionmark\@gobble
252 \let\subsectionmark\@gobble
255 \newenvironment{titlepage}
257 \if@twocolumn\@restonecoltrue\onecolumn
258 \else\@restonecolfalse\newpage\fi
259 \thispagestyle{empty}%
262 {\if@restonecol\twocolumn\else\newpage\fi
265 \newenvironment{titlepage}
268 \@restonecoltrue\onecolumn
270 \@restonecolfalse\newpage
272 \thispagestyle{empty}%
273 \setcounter{page}\@ne
275 {\if@restonecol\twocolumn \else \newpage \fi
277 \setcounter{page}\@ne
281 \def\p@thanks#1{\footnotemark
282 \protected@xdef\@thanks{\@thanks
283 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
285 \newcommand{\maketitle}{\begin{titlepage}%
286 \let\footnotesize\small
287 \let\footnoterule\relax
292 {\LARGE \@title \par}%
296 \begin{tabular}[t]{c}%
300 {\large \@date \par}% % Set date in \large size.
304 \setcounter{footnote}{0}%
305 \global\let\thanks\relax
306 \global\let\maketitle\relax
307 \global\let\p@thanks\relax
308 \global\let\@thanks\@empty
309 \global\let\@author\@empty
310 \global\let\@date\@empty
311 \global\let\@title\@empty
312 \global\let\title\relax
313 \global\let\author\relax
314 \global\let\date\relax
315 \global\let\and\relax
318 \newcommand{\maketitle}{\par
320 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
321 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
322 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
323 \long\def\@makefntext##1{\parindent 1em\noindent
324 \hb@xt@1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
326 \ifnum \col@number=\@ne \@maketitle
327 \else \twocolumn[\@maketitle]%
331 \global\@topnum\z@ % Prevents figures from going at top of page.
334 \thispagestyle{jpl@in}\@thanks
336 \setcounter{footnote}{0}%
337 \global\let\thanks\relax
338 \global\let\maketitle\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}
406 \if@noskipsec \leavevmode \fi
409 \secdef\@part\@spart}
411 \ifnum \c@secnumdepth >\m@ne
412 \refstepcounter{part}%
413 \addcontentsline{toc}{part}{%
414 \prepartname\thepart\postpartname\hspace{1\zw}#1}%
416 \addcontentsline{toc}{part}{#1}%
419 {\parindent\z@\raggedright
420 \interlinepenalty\@M\normalfont
421 \ifnum \c@secnumdepth >\m@ne
422 \Large\bfseries\prepartname\thepart\postpartname
425 \huge\bfseries#2\par}%
426 \nobreak\vskip3ex\@afterheading}
428 \parindent\z@\raggedright
429 \interlinepenalty\@M\normalfont
430 \huge\bfseries#1\par}%
431 \nobreak\vskip3ex\@afterheading}
432 \newcommand{\section}{\@startsection{section}{1}{\z@}%
433 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
434 {.5\Cvs \@plus.3\Cvs}%
435 {\normalfont\Large\bfseries}}
436 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
437 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
438 {.5\Cvs \@plus.3\Cvs}%
439 {\normalfont\large\bfseries}}
440 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
441 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
442 {.5\Cvs \@plus.3\Cvs}%
443 {\normalfont\normalsize\bfseries}}
444 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
445 {3.25ex \@plus 1ex \@minus .2ex}%
447 {\normalfont\normalsize\bfseries}}
448 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
449 {3.25ex \@plus 1ex \@minus .2ex}%
451 {\normalfont\normalsize\bfseries}}
452 \newcommand{\appendix}{\par
453 \setcounter{section}{0}%
454 \setcounter{subsection}{0}%
455 \renewcommand{\thesection}{\@Alph\c@section}}
457 \setlength\leftmargini {2em}
459 \setlength\leftmargini {2.5em}
461 \setlength\leftmarginii {2.2em}
462 \setlength\leftmarginiii {1.87em}
463 \setlength\leftmarginiv {1.7em}
465 \setlength\leftmarginv {.5em}
466 \setlength\leftmarginvi{.5em}
468 \setlength\leftmarginv {1em}
469 \setlength\leftmarginvi{1em}
471 \setlength \labelsep {.5em}
472 \setlength \labelwidth{\leftmargini}
473 \addtolength\labelwidth{-\labelsep}
474 \@beginparpenalty -\@lowpenalty
475 \@endparpenalty -\@lowpenalty
476 \@itempenalty -\@lowpenalty
477 \renewcommand{\theenumi}{\@arabic\c@enumi}
478 \renewcommand{\theenumii}{\@alph\c@enumii}
479 \renewcommand{\theenumiii}{\@roman\c@enumiii}
480 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
481 \newcommand{\labelenumi}{\theenumi.}
482 \newcommand{\labelenumii}{(\theenumii)}
483 \newcommand{\labelenumiii}{\theenumiii.}
484 \newcommand{\labelenumiv}{\theenumiv.}
485 \renewcommand{\p@enumii}{\theenumi}
486 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
487 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
488 \renewenvironment{enumerate}
489 {\ifnum \@enumdepth >\thr@@\@toodeep\else
490 \advance\@enumdepth\@ne
491 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
492 \expandafter \list \csname label\@enumctr\endcsname{%
493 \ifnum\ltjgetparameter{direction}=3
494 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
496 \parskip\z@ \itemsep\z@ \parsep\z@
497 \labelwidth1\zw \labelsep.3\zw
498 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
499 \else\leftmargin\leftskip\fi
500 \advance\leftmargin 1\zw
502 \usecounter{\@enumctr}%
503 \def\makelabel##1{\hss\llap{##1}}}%
505 \newcommand{\labelitemi}{\textbullet}
506 \newcommand{\labelitemii}{%
507 \ifnum\ltjgetparameter{direction}=3
510 {\normalfont\bfseries\textendash}
513 \newcommand{\labelitemiii}{\textasteriskcentered}
514 \newcommand{\labelitemiv}{\textperiodcentered}
515 \renewenvironment{itemize}
516 {\ifnum \@itemdepth >\thr@@\@toodeep\else
517 \advance\@itemdepth\@ne
518 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
519 \expandafter \list \csname \@itemitem\endcsname{%
520 \ifnum\ltjgetparameter{direction}=3
521 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
523 \parskip\z@ \itemsep\z@ \parsep\z@
524 \labelwidth1\zw \labelsep.3\zw
525 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
526 \else\leftmargin\leftskip\fi
527 \advance\leftmargin 1\zw
529 \def\makelabel##1{\hss\llap{##1}}}%
531 \newenvironment{description}
532 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
533 \ifnum\ltjgetparameter{direction}=3
534 \leftmargin\leftskip \advance\leftmargin3\Cwd
535 \rightmargin\rightskip
536 \labelsep=1\zw \itemsep\z@
537 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
539 \let\makelabel\descriptionlabel}}{\endlist}
540 \newcommand{\descriptionlabel}[1]{%
541 \hspace\labelsep\normalfont\bfseries #1}
542 \newenvironment{verse}
544 \list{}{\itemsep\z@ \itemindent -1.5em%
545 \listparindent\itemindent
546 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
547 \item\relax}{\endlist}
548 \newenvironment{quotation}
549 {\list{}{\listparindent 1.5em%
550 \itemindent\listparindent
551 \rightmargin\leftmargin
552 \parsep\z@ \@plus\p@}%
553 \item\relax}{\endlist}
554 \newenvironment{quote}
555 {\list{}{\rightmargin\leftmargin}%
556 \item\relax}{\endlist}
558 \renewcommand{\thefigure}{\@arabic\c@figure}
562 \def\fnum@figure{\figurename~\thefigure}
563 \newenvironment{figure}
566 \newenvironment{figure*}
570 \renewcommand{\thetable}{\@arabic\c@table}
574 \def\fnum@table{\tablename~\thetable}
575 \newenvironment{table}
578 \newenvironment{table*}
581 \newlength\abovecaptionskip
582 \newlength\belowcaptionskip
583 \setlength\abovecaptionskip{10\p@}
584 \setlength\belowcaptionskip{0\p@}
585 \long\def\@makecaption#1#2{%
586 \vskip\abovecaptionskip
587 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
588 \else\sbox\@tempboxa{#1: #2}%
590 \ifdim \wd\@tempboxa >\hsize
591 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
592 \else #1: #2\relax\par\fi
594 \global \@minipagefalse
595 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
597 \vskip\belowcaptionskip}
598 \setlength\arraycolsep{5\p@}
599 \setlength\tabcolsep{6\p@}
600 \setlength\arrayrulewidth{.4\p@}
601 \setlength\doublerulesep{2\p@}
602 \setlength\tabbingsep{\labelsep}
603 \skip\@mpfootins = \skip\footins
604 \setlength\fboxsep{3\p@}
605 \setlength\fboxrule{.4\p@}
606 \renewcommand{\theequation}{\@arabic\c@equation}
607 \if@compatibility\else
608 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
609 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
610 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
612 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
616 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
617 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
620 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
621 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
622 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
623 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
624 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
625 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
626 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
627 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
628 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
629 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
630 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
631 \setcounter{tocdepth}{3}
632 \newcommand{\@pnumwidth}{1.55em}
633 \newcommand{\@tocrmarg}{2.55em}
634 \newcommand{\@dotsep}{4.5}
635 \newdimen\toclineskip
636 \setlength\toclineskip{\z@}
638 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
639 \def\@dottedtocline#1#2#3#4#5{%
640 \ifnum #1>\c@tocdepth \else
641 \vskip\toclineskip \@plus.2\p@
642 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
643 \parindent #2\relax\@afterindenttrue
647 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
649 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
651 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
654 \def\addcontentsline#1#2#3{%
655 \protected@write\@auxout
656 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
657 \@temptokena{\thepage}}%
658 {\string\@writefile{#1}%
659 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
661 \newcommand{\tableofcontents}{%
662 \section*{\contentsname
663 \@mkboth{\contentsname}{\contentsname}%
666 \newcommand*{\l@part}[2]{%
667 \ifnum \c@tocdepth >-2\relax
668 \addpenalty{\@secpenalty}%
669 \addvspace{2.25em \@plus\p@}%
671 \parindent\z@\rightskip\@pnumwidth
672 \parfillskip-\@pnumwidth
673 {\leavevmode\large\bfseries
674 \setlength\@lnumwidth{4\zw}%
676 \hb@xt@\@pnumwidth{\hss#2}}\par
680 \everypar{\global\@nobreakfalse\everypar{}}%
684 \newcommand*{\l@section}[2]{%
685 \ifnum \c@tocdepth >\z@
686 \addpenalty{\@secpenalty}%
687 \addvspace{1.0em \@plus\p@}%
689 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
691 \setlength\@lnumwidth{1.5em}%
692 \advance\leftskip\@lnumwidth \hskip-\leftskip
693 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
696 \newcommand*{\l@subsection} {\@dottedtocline{2}{1.5em}{2.3em}}
697 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3.8em}{3.2em}}
698 \newcommand*{\l@paragraph} {\@dottedtocline{4}{7.0em}{4.1em}}
699 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{10em}{5em}}
700 \newcommand{\listoffigures}{%
701 \section*{\listfigurename}%
702 \@mkboth{\listfigurename}{\listfigurename}%
705 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
706 \newcommand{\listoftables}{%
707 \section*{\listtablename}%
708 \@mkboth{\listtablename}{\listtablename}%
711 \let\l@table\l@figure
713 \setlength\bibindent{1.5em}
714 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
715 \newenvironment{thebibliography}[1]
716 {\section*{\refname}\@mkboth{\refname}{\refname}%
717 \list{\@biblabel{\@arabic\c@enumiv}}%
718 {\settowidth\labelwidth{\@biblabel{#1}}%
719 \leftmargin\labelwidth
720 \advance\leftmargin\labelsep
724 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
727 \@clubpenalty\clubpenalty
731 {\@latex@warning{Empty `thebibliography' environment}}%
733 \let\@openbib@code\@empty
734 \newenvironment{theindex}
735 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
736 \twocolumn[\section*{\indexname}]%
737 \@mkboth{\indexname}{\indexname}%
738 \thispagestyle{jpl@in}\parindent\z@
739 \parskip\z@ \@plus .3\p@\relax
740 \columnseprule\z@ \columnsep 35\p@
742 {\if@restonecol\onecolumn\else\clearpage\fi}
743 \newcommand{\@idxitem}{\par\hangindent 40\p@}
744 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
745 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
746 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
747 \renewcommand{\footnoterule}{%
749 \hrule\@width.4\columnwidth
751 \newcommand\@makefntext[1]{\parindent 1em
752 \noindent\hb@xt@ 1.8em{\hss\@makefnmark}#1}
756 \newcount\heisei \heisei\year \advance\heisei-1988\relax
758 \ifnum\ltjgetparameter{direction}=3
764 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
774 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
779 \newcommand{\prepartname}{第}
780 \newcommand{\postpartname}{部}
781 \newcommand{\contentsname}{目 次}
782 \newcommand{\listfigurename}{図 目 次}
783 \newcommand{\listtablename}{表 目 次}
784 \newcommand{\refname}{参考文献}
785 \newcommand{\indexname}{索 引}
786 \newcommand{\figurename}{図}
787 \newcommand{\tablename}{表}
788 \newcommand{\appendixname}{付 録}
789 \newcommand{\abstractname}{概 要}
791 \pagenumbering{arabic}
806 %% End of file `ltjarticle.cls'.