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 [2014/11/15 v1.6-ltj-7
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 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final}
148 \ProcessOptions\relax
149 \input{ltjsize1\@ptsize.clo}
150 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
151 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
152 'ltj.jclasses_load_jfm', 1)}
153 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
154 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
155 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
156 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
157 \ltjglobalsetparameter{differentjfm=both}
158 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
160 \setlength\columnsep{2\Cwd}
162 \setlength\columnsep{10\p@}
164 \setlength\columnseprule{0\p@}
165 \setlength{\@tempdima}{\paperwidth}
166 \setlength{\@tempdimb}{\paperheight}
168 \advance \@tempdima 2in
169 \advance \@tempdimb 2in
171 \setlength{\pdfpagewidth}{\@tempdima}
172 \setlength{\pdfpageheight}{\@tempdimb}
173 \setlength\lineskip{1\p@}
174 \setlength\normallineskip{1\p@}
175 \renewcommand{\baselinestretch}{}
176 \setlength\parskip{0\p@ \@plus \p@}
177 \setlength\parindent{1\Cwd}
181 \setcounter{topnumber}{2}
182 \setcounter{bottomnumber}{1}
183 \setcounter{totalnumber}{3}
184 \setcounter{dbltopnumber}{2}
185 \renewcommand{\topfraction}{.7}
186 \renewcommand{\bottomfraction}{.3}
187 \renewcommand{\textfraction}{.2}
188 \renewcommand{\floatpagefraction}{.5}
189 \renewcommand{\dbltopfraction}{.7}
190 \renewcommand{\dblfloatpagefraction}{.5}
191 \def\ps@plain{\let\@mkboth\@gobbletwo
192 \let\ps@jpl@in\ps@plain
194 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
195 \let\@evenhead\@empty
196 \let\@evenfoot\@oddfoot}
197 \let\ps@jpl@in\ps@plain
198 \def\ps@headnombre{\let\@mkboth\@gobbletwo
199 \let\ps@jpl@in\ps@headnombre
200 \def\@evenhead{\thepage\hfil}%
201 \def\@oddhead{\hfil\thepage}%
202 \let\@oddfoot\@empty\let\@evenfoot\@empty}
203 \def\ps@footnombre{\let\@mkboth\@gobbletwo
204 \let\ps@jpl@in\ps@footnombre
205 \def\@evenfoot{\thepage\hfil}%
206 \def\@oddfoot{\hfil\thepage}%
207 \let\@oddhead\@empty\let\@evenhead\@empty}
209 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
210 \let\@oddfoot\@empty\let\@evenfoot\@empty
211 \def\@evenhead{\thepage\hfil\leftmark}%
212 \def\@oddhead{{\rightmark}\hfil\thepage}%
213 \let\@mkboth\markboth
214 \def\sectionmark##1{\markboth{%
215 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
217 \def\subsectionmark##1{\markright{%
218 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
221 \else % if not twoside
222 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
224 \def\@oddhead{{\rightmark}\hfil\thepage}%
225 \let\@mkboth\markboth
226 \def\sectionmark##1{\markright{%
227 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
232 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
233 \def\@evenhead{\leftmark\hfil}% right page
234 \def\@evenfoot{\thepage\hfil}% right page
235 \def\@oddhead{\hfil\rightmark}% left page
236 \def\@oddfoot{\hfil\thepage}% left page
237 \let\@mkboth\markboth
238 \def\sectionmark##1{\markboth{%
239 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
241 \def\subsectionmark##1{\markright{%
242 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
245 \else % if one column
246 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
247 \def\@oddhead{\hfil\rightmark}%
248 \def\@oddfoot{\hfil\thepage}%
249 \let\@mkboth\markboth
250 \def\sectionmark##1{\markright{%
251 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
255 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
256 \let\@oddfoot\@empty\let\@evenfoot\@empty
257 \def\@evenhead{\thepage\hfil\leftmark}%
258 \def\@oddhead{{\rightmark}\hfil\thepage}%
259 \let\@mkboth\@gobbletwo
260 \let\sectionmark\@gobble
261 \let\subsectionmark\@gobble
264 \newenvironment{titlepage}
266 \if@twocolumn\@restonecoltrue\onecolumn
267 \else\@restonecolfalse\newpage\fi
268 \thispagestyle{empty}%
271 {\if@restonecol\twocolumn\else\newpage\fi
274 \newenvironment{titlepage}
277 \@restonecoltrue\onecolumn
279 \@restonecolfalse\newpage
281 \thispagestyle{empty}%
282 \setcounter{page}\@ne
284 {\if@restonecol\twocolumn \else \newpage \fi
286 \setcounter{page}\@ne
290 \def\p@thanks#1{\footnotemark
291 \protected@xdef\@thanks{\@thanks
292 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
294 \newcommand{\maketitle}{\begin{titlepage}%
295 \let\footnotesize\small
296 \let\footnoterule\relax
301 {\LARGE \@title \par}%
305 \begin{tabular}[t]{c}%
309 {\large \@date \par}% % Set date in \large size.
313 \setcounter{footnote}{0}%
314 \global\let\thanks\relax
315 \global\let\maketitle\relax
316 \global\let\p@thanks\relax
317 \global\let\@thanks\@empty
318 \global\let\@author\@empty
319 \global\let\@date\@empty
320 \global\let\@title\@empty
321 \global\let\title\relax
322 \global\let\author\relax
323 \global\let\date\relax
324 \global\let\and\relax
327 \newcommand{\maketitle}{\par
329 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
330 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
331 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
332 \long\def\@makefntext##1{\parindent 1em\noindent
333 \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
335 \ifnum \col@number=\@ne \@maketitle
336 \else \twocolumn[\@maketitle]%
340 \global\@topnum\z@ % Prevents figures from going at top of page.
343 \thispagestyle{jpl@in}\@thanks
345 \setcounter{footnote}{0}%
346 \global\let\thanks\relax
347 \global\let\maketitle\relax
348 \global\let\p@thanks\relax
349 \global\let\@thanks\@empty
350 \global\let\@author\@empty
351 \global\let\@date\@empty
352 \global\let\@title\@empty
353 \global\let\title\relax
354 \global\let\author\relax
355 \global\let\date\relax
356 \global\let\and\relax
363 {\LARGE \@title \par}%
367 \begin{tabular}[t]{c}%
376 \newenvironment{abstract}{%
379 \@beginparpenalty\@lowpenalty
381 {\bfseries\abstractname}%
384 {\par\vfil\null\endtitlepage}
386 \newenvironment{abstract}{%
388 \section*{\abstractname}%
392 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
395 \fi}{\if@twocolumn\else\endquotation\fi}
397 \setcounter{secnumdepth}{3}
400 \newcounter{subsection}[section]
401 \newcounter{subsubsection}[subsection]
402 \newcounter{paragraph}[subsubsection]
403 \newcounter{subparagraph}[paragraph]
404 \renewcommand{\thepart}{\@Roman\c@part}
405 \renewcommand{\thesection}{\@arabic\c@section}
406 \renewcommand{\thesubsection}{\thesection.\@arabic\c@subsection}
407 \renewcommand{\thesubsubsection}{%
408 \thesubsection.\@arabic\c@subsubsection}
409 \renewcommand{\theparagraph}{%
410 \thesubsubsection.\@arabic\c@paragraph}
411 \renewcommand{\thesubparagraph}{%
412 \theparagraph.\@arabic\c@subparagraph}
413 \newcommand{\part}{\par\addvspace{4ex}%
415 \secdef\@part\@spart}
417 \ifnum \c@secnumdepth >\m@ne
418 \refstepcounter{part}%
419 \addcontentsline{toc}{part}{%
420 \prepartname\thepart\postpartname\hspace{1\zw}#1}%
422 \addcontentsline{toc}{part}{#1}%
425 {\parindent\z@\raggedright
426 \interlinepenalty\@M\reset@font
427 \ifnum \c@secnumdepth >\m@ne
428 \Large\bfseries\prepartname\thepart\postpartname
431 \huge\bfseries#2\par}%
432 \nobreak\vskip3ex\@afterheading}
434 \parindent\z@\raggedright
435 \interlinepenalty\@M\reset@font
436 \huge\bfseries#1\par}%
437 \nobreak\vskip3ex\@afterheading}
438 \newcommand{\section}{\@startsection{section}{1}{\z@}%
439 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
440 {.5\Cvs \@plus.3\Cvs}%
441 {\reset@font\Large\bfseries}}
442 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
443 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
444 {.5\Cvs \@plus.3\Cvs}%
445 {\reset@font\large\bfseries}}
446 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
447 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
448 {.5\Cvs \@plus.3\Cvs}%
449 {\reset@font\normalsize\bfseries}}
450 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
451 {3.25ex \@plus 1ex \@minus .2ex}%
453 {\reset@font\normalsize\bfseries}}
454 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
455 {3.25ex \@plus 1ex \@minus .2ex}%
457 {\reset@font\normalsize\bfseries}}
458 \newcommand{\appendix}{\par
459 \setcounter{section}{0}%
460 \setcounter{subsection}{0}%
461 \renewcommand{\thesection}{\@Alph\c@section}}
463 \setlength\leftmargini {2em}
465 \setlength\leftmargini {2.5em}
467 \setlength\leftmarginii {2.2em}
468 \setlength\leftmarginiii {1.87em}
469 \setlength\leftmarginiv {1.7em}
471 \setlength\leftmarginv {.5em}
472 \setlength\leftmarginvi{.5em}
474 \setlength\leftmarginv {1em}
475 \setlength\leftmarginvi{1em}
477 \setlength \labelsep {.5em}
478 \setlength \labelwidth{\leftmargini}
479 \addtolength\labelwidth{-\labelsep}
480 \@beginparpenalty -\@lowpenalty
481 \@endparpenalty -\@lowpenalty
482 \@itempenalty -\@lowpenalty
483 \renewcommand{\theenumi}{\@arabic\c@enumi}
484 \renewcommand{\theenumii}{\@alph\c@enumii}
485 \renewcommand{\theenumiii}{\@roman\c@enumiii}
486 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
487 \newcommand{\labelenumi}{\theenumi.}
488 \newcommand{\labelenumii}{(\theenumii)}
489 \newcommand{\labelenumiii}{\theenumiii.}
490 \newcommand{\labelenumiv}{\theenumiv.}
491 \renewcommand{\p@enumii}{\theenumi}
492 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
493 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
494 \renewenvironment{enumerate}
495 {\ifnum \@enumdepth >\thr@@\@toodeep\else
496 \advance\@enumdepth\@ne
497 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
498 \list{\csname label\@enumctr\endcsname}{%
499 \ifnum\ltjgetparameter{direction}=3
500 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
502 \parskip\z@ \itemsep\z@ \parsep\z@
503 \labelwidth1\zw \labelsep.3\zw
504 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
505 \else\leftmargin\leftskip\fi
506 \advance\leftmargin 1\zw
508 \usecounter{\@enumctr}%
509 \def\makelabel##1{\hss\llap{##1}}}%
511 \newcommand{\labelitemi}{\textbullet}
512 \newcommand{\labelitemii}{%
513 \ifnum\ltjgetparameter{direction}=3
516 {\normalfont\bfseries\textendash}
519 \newcommand{\labelitemiii}{\textasteriskcentered}
520 \newcommand{\labelitemiv}{\textperiodcentered}
521 \renewenvironment{itemize}
522 {\ifnum \@itemdepth >\thr@@\@toodeep\else
523 \advance\@itemdepth\@ne
524 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
526 \list{\csname \@itemitem\endcsname}{%
527 \ifnum\ltjgetparameter{direction}=3
528 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
530 \parskip\z@ \itemsep\z@ \parsep\z@
531 \labelwidth1\zw \labelsep.3\zw
532 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
533 \else\leftmargin\leftskip\fi
534 \advance\leftmargin 1\zw
536 \def\makelabel##1{\hss\llap{##1}}}%
538 \newenvironment{description}
539 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
540 \ifnum\ltjgetparameter{direction}=3
541 \leftmargin\leftskip \advance\leftmargin3\Cwd
542 \rightmargin\rightskip
543 \labelsep=1\zw \itemsep\z@
544 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
546 \let\makelabel\descriptionlabel}}{\endlist}
547 \newcommand{\descriptionlabel}[1]{%
548 \hspace\labelsep\normalfont\bfseries #1}
549 \newenvironment{verse}
551 \list{}{\itemsep\z@ \itemindent -1.5em%
552 \listparindent\itemindent
553 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
554 \item\relax}{\endlist}
555 \newenvironment{quotation}
556 {\list{}{\listparindent 1.5em%
557 \itemindent\listparindent
558 \rightmargin\leftmargin
559 \parsep\z@ \@plus\p@}%
560 \item\relax}{\endlist}
561 \newenvironment{quote}
562 {\list{}{\rightmargin\leftmargin}%
563 \item\relax}{\endlist}
565 \renewcommand{\thefigure}{\@arabic\c@figure}
569 \def\fnum@figure{\figurename~\thefigure}
570 \newenvironment{figure}
573 \newenvironment{figure*}
577 \renewcommand{\thetable}{\@arabic\c@table}
581 \def\fnum@table{\tablename~\thetable}
582 \newenvironment{table}
585 \newenvironment{table*}
588 \newlength\abovecaptionskip
589 \newlength\belowcaptionskip
590 \setlength\abovecaptionskip{10\p@}
591 \setlength\belowcaptionskip{0\p@}
592 \long\def\@makecaption#1#2{%
593 \vskip\abovecaptionskip
594 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
595 \else\sbox\@tempboxa{#1: #2}%
597 \ifdim \wd\@tempboxa >\hsize
598 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
599 \else #1: #2\relax\par\fi
601 \global \@minipagefalse
602 \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
604 \vskip\belowcaptionskip}
605 \setlength\arraycolsep{5\p@}
606 \setlength\tabcolsep{6\p@}
607 \setlength\arrayrulewidth{.4\p@}
608 \setlength\doublerulesep{2\p@}
609 \setlength\tabbingsep{\labelsep}
610 \skip\@mpfootins = \skip\footins
611 \setlength\fboxsep{3\p@}
612 \setlength\fboxrule{.4\p@}
613 \renewcommand{\theequation}{\@arabic\c@equation}
614 \if@compatibility\else
615 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
616 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
617 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
619 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
623 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
624 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
627 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
628 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
629 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
630 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
631 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
632 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
633 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
634 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
635 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
636 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
637 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
638 \setcounter{tocdepth}{3}
639 \newcommand{\@pnumwidth}{1.55em}
640 \newcommand{\@tocrmarg}{2.55em}
641 \newcommand{\@dotsep}{4.5}
642 \newdimen\toclineskip
643 \setlength\toclineskip{\z@}
645 \def\numberline#1{\hbox to\@lnumwidth{#1\hfil}}
646 \def\@dottedtocline#1#2#3#4#5{%
647 \ifnum #1>\c@tocdepth \else
648 \vskip\toclineskip \@plus.2\p@
649 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
650 \parindent #2\relax\@afterindenttrue
654 \advance\leftskip \@lnumwidth \hbox{}\hskip -\leftskip
656 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
658 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
661 \def\addcontentsline#1#2#3{%
662 \protected@write\@auxout
663 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
664 \@temptokena{\thepage}}%
665 {\string\@writefile{#1}%
666 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
668 \newcommand{\tableofcontents}{%
669 \section*{\contentsname
670 \@mkboth{\contentsname}{\contentsname}%
673 \newcommand*{\l@part}[2]{%
674 \ifnum \c@tocdepth >-2\relax
675 \addpenalty{\@secpenalty}%
676 \addvspace{2.25em \@plus\p@}%
678 \parindent\z@\rightskip\@pnumwidth
679 \parfillskip-\@pnumwidth
680 {\leavevmode\large\bfseries
681 \setlength\@lnumwidth{4\zw}%
683 \hbox to\@pnumwidth{\hss#2}}\par
687 \everypar{\global\@nobreakfalse\everypar{}}%
691 \newcommand*{\l@section}[2]{%
692 \ifnum \c@tocdepth >\z@
693 \addpenalty{\@secpenalty}%
694 \addvspace{1.0em \@plus\p@}%
696 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
698 \setlength\@lnumwidth{1.5em}%
699 \advance\leftskip\@lnumwidth \hskip-\leftskip
700 #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
703 \newcommand*{\l@subsection} {\@dottedtocline{2}{1.5em}{2.3em}}
704 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3.8em}{3.2em}}
705 \newcommand*{\l@paragraph} {\@dottedtocline{4}{7.0em}{4.1em}}
706 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{10em}{5em}}
707 \newcommand{\listoffigures}{%
708 \section*{\listfigurename
709 \@mkboth{\listfigurename}{\listfigurename}}%
712 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
713 \newcommand{\listoftables}{%
714 \section*{\listtablename
715 \@mkboth{\listtablename}{\listtablename}}%
718 \let\l@table\l@figure
720 \setlength\bibindent{1.5em}
721 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
722 \newenvironment{thebibliography}[1]
723 {\section*{\refname\@mkboth{\refname}{\refname}}%
724 \list{\@biblabel{\@arabic\c@enumiv}}%
725 {\settowidth\labelwidth{\@biblabel{#1}}%
726 \leftmargin\labelwidth
727 \advance\leftmargin\labelsep
731 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
734 \@clubpenalty\clubpenalty
738 {\@latex@warning{Empty `thebibliography' environment}}%
740 \let\@openbib@code\@empty
741 \newenvironment{theindex}
742 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
743 \columnseprule\z@ \columnsep 35\p@
744 \twocolumn[\section*{\indexname}]%
745 \@mkboth{\indexname}{\indexname}%
746 \thispagestyle{jpl@in}\parindent\z@
747 \parskip\z@ \@plus .3\p@\relax
749 {\if@restonecol\onecolumn\else\clearpage\fi}
750 \newcommand{\@idxitem}{\par\hangindent 40\p@}
751 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
752 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
753 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
754 \renewcommand{\footnoterule}{%
756 \hrule width .4\columnwidth
758 \newcommand\@makefntext[1]{\parindent 1em
759 \noindent\hbox to 1.8em{\hss\@makefnmark}#1}
763 \newcount\heisei \heisei\year \advance\heisei-1988\relax
765 \ifnum\ltjgetparameter{direction}=3
767 \kansuji\number\year 年
768 \kansuji\number\month 月
769 \kansuji\number\day 日
771 平成\ifnum\heisei=1 元年\else\kansuji\number\heisei 年\fi
772 \kansuji\number\month 月
773 \kansuji\number\day 日
781 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
786 \newcommand{\prepartname}{第}
787 \newcommand{\postpartname}{部}
788 \newcommand{\contentsname}{目 次}
789 \newcommand{\listfigurename}{図 目 次}
790 \newcommand{\listtablename}{表 目 次}
791 \newcommand{\refname}{参考文献}
792 \newcommand{\indexname}{索 引}
793 \newcommand{\figurename}{図}
794 \newcommand{\tablename}{表}
795 \newcommand{\appendixname}{付 録}
796 \newcommand{\abstractname}{概 要}
798 \pagenumbering{arabic}
813 %% End of file `ltjarticle.cls'.