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 [2017/01/17 v1.7c-ltj-12
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@}
150 \newlength{\stockwidth}
151 \newlength{\stockheight}
152 \setlength{\stockwidth}{\paperwidth}
153 \setlength{\stockheight}{\paperheight}
154 \advance \stockwidth 2in
155 \advance \stockheight 2in
156 \ifdefined\pdfpagewidth
157 \setlength{\pdfpagewidth}{\stockwidth}
158 \setlength{\pdfpageheight}{\stockheight}
160 \setlength{\pagewidth}{\stockwidth}
161 \setlength{\pageheight}{\stockheight}
164 \ifdefined\pdfpagewidth
165 \setlength{\pdfpagewidth}{\paperwidth}
166 \setlength{\pdfpageheight}{\paperheight}
168 \setlength{\pagewidth}{\paperwidth}
169 \setlength{\pageheight}{\paperheight}
172 \setlength\lineskip{1\p@}
173 \setlength\normallineskip{1\p@}
174 \renewcommand{\baselinestretch}{}
175 \setlength\parskip{0\p@ \@plus \p@}
176 \setlength\parindent{1\Cwd}
180 \setcounter{topnumber}{2}
181 \setcounter{bottomnumber}{1}
182 \setcounter{totalnumber}{3}
183 \setcounter{dbltopnumber}{2}
184 \renewcommand{\topfraction}{.7}
185 \renewcommand{\bottomfraction}{.3}
186 \renewcommand{\textfraction}{.2}
187 \renewcommand{\floatpagefraction}{.5}
188 \renewcommand{\dbltopfraction}{.7}
189 \renewcommand{\dblfloatpagefraction}{.5}
190 \def\ps@plain{\let\@mkboth\@gobbletwo
191 \let\ps@jpl@in\ps@plain
193 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
194 \let\@evenhead\@empty
195 \let\@evenfoot\@oddfoot}
196 \let\ps@jpl@in\ps@plain
197 \def\ps@headnombre{\let\@mkboth\@gobbletwo
198 \let\ps@jpl@in\ps@headnombre
199 \def\@evenhead{\thepage\hfil}%
200 \def\@oddhead{\hfil\thepage}%
201 \let\@oddfoot\@empty\let\@evenfoot\@empty}
202 \def\ps@footnombre{\let\@mkboth\@gobbletwo
203 \let\ps@jpl@in\ps@footnombre
204 \def\@evenfoot{\thepage\hfil}%
205 \def\@oddfoot{\hfil\thepage}%
206 \let\@oddhead\@empty\let\@evenhead\@empty}
208 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
209 \let\@oddfoot\@empty\let\@evenfoot\@empty
210 \def\@evenhead{\thepage\hfil\leftmark}%
211 \def\@oddhead{{\rightmark}\hfil\thepage}%
212 \let\@mkboth\markboth
213 \def\sectionmark##1{\markboth{%
214 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
216 \def\subsectionmark##1{\markright{%
217 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
220 \else % if not twoside
221 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
223 \def\@oddhead{{\rightmark}\hfil\thepage}%
224 \let\@mkboth\markboth
225 \def\sectionmark##1{\markright{%
226 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
231 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
232 \def\@evenhead{\leftmark\hfil}% right page
233 \def\@evenfoot{\thepage\hfil}% right page
234 \def\@oddhead{\hfil\rightmark}% left page
235 \def\@oddfoot{\hfil\thepage}% left page
236 \let\@mkboth\markboth
237 \def\sectionmark##1{\markboth{%
238 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
240 \def\subsectionmark##1{\markright{%
241 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
244 \else % if one column
245 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
246 \def\@oddhead{\hfil\rightmark}%
247 \def\@oddfoot{\hfil\thepage}%
248 \let\@mkboth\markboth
249 \def\sectionmark##1{\markright{%
250 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
254 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
255 \let\@oddfoot\@empty\let\@evenfoot\@empty
256 \def\@evenhead{\thepage\hfil\leftmark}%
257 \def\@oddhead{{\rightmark}\hfil\thepage}%
258 \let\@mkboth\@gobbletwo
259 \let\sectionmark\@gobble
260 \let\subsectionmark\@gobble
263 \newenvironment{titlepage}
265 \if@twocolumn\@restonecoltrue\onecolumn
266 \else\@restonecolfalse\newpage\fi
267 \thispagestyle{empty}%
270 {\if@restonecol\twocolumn\else\newpage\fi
273 \newenvironment{titlepage}
276 \@restonecoltrue\onecolumn
278 \@restonecolfalse\newpage
280 \thispagestyle{empty}%
281 \setcounter{page}\@ne
283 {\if@restonecol\twocolumn \else \newpage \fi
285 \setcounter{page}\@ne
289 \def\p@thanks#1{\footnotemark
290 \protected@xdef\@thanks{\@thanks
291 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
293 \newcommand{\maketitle}{\begin{titlepage}%
294 \let\footnotesize\small
295 \let\footnoterule\relax
300 {\LARGE \@title \par}%
304 \begin{tabular}[t]{c}%
308 {\large \@date \par}% % Set date in \large size.
312 \setcounter{footnote}{0}%
313 \global\let\thanks\relax
314 \global\let\maketitle\relax
315 \global\let\p@thanks\relax
316 \global\let\@thanks\@empty
317 \global\let\@author\@empty
318 \global\let\@date\@empty
319 \global\let\@title\@empty
320 \global\let\title\relax
321 \global\let\author\relax
322 \global\let\date\relax
323 \global\let\and\relax
326 \newcommand{\maketitle}{\par
328 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
329 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
330 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
331 \long\def\@makefntext##1{\parindent 1em\noindent
332 \hb@xt@1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
334 \ifnum \col@number=\@ne \@maketitle
335 \else \twocolumn[\@maketitle]%
339 \global\@topnum\z@ % Prevents figures from going at top of page.
342 \thispagestyle{jpl@in}\@thanks
344 \setcounter{footnote}{0}%
345 \global\let\thanks\relax
346 \global\let\maketitle\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}
414 \if@noskipsec \leavevmode \fi
417 \secdef\@part\@spart}
419 \ifnum \c@secnumdepth >\m@ne
420 \refstepcounter{part}%
421 \addcontentsline{toc}{part}{%
422 \prepartname\thepart\postpartname\hspace{1\zw}#1}%
424 \addcontentsline{toc}{part}{#1}%
427 {\parindent\z@\raggedright
428 \interlinepenalty\@M\normalfont
429 \ifnum \c@secnumdepth >\m@ne
430 \Large\bfseries\prepartname\thepart\postpartname
433 \huge\bfseries#2\par}%
434 \nobreak\vskip3ex\@afterheading}
436 \parindent\z@\raggedright
437 \interlinepenalty\@M\normalfont
438 \huge\bfseries#1\par}%
439 \nobreak\vskip3ex\@afterheading}
440 \newcommand{\section}{\@startsection{section}{1}{\z@}%
441 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
442 {.5\Cvs \@plus.3\Cvs}%
443 {\normalfont\Large\bfseries}}
444 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
445 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
446 {.5\Cvs \@plus.3\Cvs}%
447 {\normalfont\large\bfseries}}
448 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
449 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
450 {.5\Cvs \@plus.3\Cvs}%
451 {\normalfont\normalsize\bfseries}}
452 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
453 {3.25ex \@plus 1ex \@minus .2ex}%
455 {\normalfont\normalsize\bfseries}}
456 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
457 {3.25ex \@plus 1ex \@minus .2ex}%
459 {\normalfont\normalsize\bfseries}}
460 \newcommand{\appendix}{\par
461 \setcounter{section}{0}%
462 \setcounter{subsection}{0}%
463 \renewcommand{\thesection}{\@Alph\c@section}}
465 \setlength\leftmargini {2em}
467 \setlength\leftmargini {2.5em}
469 \setlength\leftmarginii {2.2em}
470 \setlength\leftmarginiii {1.87em}
471 \setlength\leftmarginiv {1.7em}
473 \setlength\leftmarginv {.5em}
474 \setlength\leftmarginvi{.5em}
476 \setlength\leftmarginv {1em}
477 \setlength\leftmarginvi{1em}
479 \setlength \labelsep {.5em}
480 \setlength \labelwidth{\leftmargini}
481 \addtolength\labelwidth{-\labelsep}
482 \@beginparpenalty -\@lowpenalty
483 \@endparpenalty -\@lowpenalty
484 \@itempenalty -\@lowpenalty
485 \renewcommand{\theenumi}{\@arabic\c@enumi}
486 \renewcommand{\theenumii}{\@alph\c@enumii}
487 \renewcommand{\theenumiii}{\@roman\c@enumiii}
488 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
489 \newcommand{\labelenumi}{\theenumi.}
490 \newcommand{\labelenumii}{(\theenumii)}
491 \newcommand{\labelenumiii}{\theenumiii.}
492 \newcommand{\labelenumiv}{\theenumiv.}
493 \renewcommand{\p@enumii}{\theenumi}
494 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
495 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
496 \renewenvironment{enumerate}
497 {\ifnum \@enumdepth >\thr@@\@toodeep\else
498 \advance\@enumdepth\@ne
499 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
500 \expandafter \list \csname label\@enumctr\endcsname{%
501 \ifnum\ltjgetparameter{direction}=3
502 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
504 \parskip\z@ \itemsep\z@ \parsep\z@
505 \labelwidth1\zw \labelsep.3\zw
506 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
507 \else\leftmargin\leftskip\fi
508 \advance\leftmargin 1\zw
510 \usecounter{\@enumctr}%
511 \def\makelabel##1{\hss\llap{##1}}}%
513 \newcommand{\labelitemi}{\textbullet}
514 \newcommand{\labelitemii}{%
515 \ifnum\ltjgetparameter{direction}=3
518 {\normalfont\bfseries\textendash}
521 \newcommand{\labelitemiii}{\textasteriskcentered}
522 \newcommand{\labelitemiv}{\textperiodcentered}
523 \renewenvironment{itemize}
524 {\ifnum \@itemdepth >\thr@@\@toodeep\else
525 \advance\@itemdepth\@ne
526 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
527 \expandafter \list \csname \@itemitem\endcsname{%
528 \ifnum\ltjgetparameter{direction}=3
529 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
531 \parskip\z@ \itemsep\z@ \parsep\z@
532 \labelwidth1\zw \labelsep.3\zw
533 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
534 \else\leftmargin\leftskip\fi
535 \advance\leftmargin 1\zw
537 \def\makelabel##1{\hss\llap{##1}}}%
539 \newenvironment{description}
540 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
541 \ifnum\ltjgetparameter{direction}=3
542 \leftmargin\leftskip \advance\leftmargin3\Cwd
543 \rightmargin\rightskip
544 \labelsep=1\zw \itemsep\z@
545 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
547 \let\makelabel\descriptionlabel}}{\endlist}
548 \newcommand{\descriptionlabel}[1]{%
549 \hspace\labelsep\normalfont\bfseries #1}
550 \newenvironment{verse}
552 \list{}{\itemsep\z@ \itemindent -1.5em%
553 \listparindent\itemindent
554 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
555 \item\relax}{\endlist}
556 \newenvironment{quotation}
557 {\list{}{\listparindent 1.5em%
558 \itemindent\listparindent
559 \rightmargin\leftmargin
560 \parsep\z@ \@plus\p@}%
561 \item\relax}{\endlist}
562 \newenvironment{quote}
563 {\list{}{\rightmargin\leftmargin}%
564 \item\relax}{\endlist}
566 \renewcommand{\thefigure}{\@arabic\c@figure}
570 \def\fnum@figure{\figurename~\thefigure}
571 \newenvironment{figure}
574 \newenvironment{figure*}
578 \renewcommand{\thetable}{\@arabic\c@table}
582 \def\fnum@table{\tablename~\thetable}
583 \newenvironment{table}
586 \newenvironment{table*}
589 \newlength\abovecaptionskip
590 \newlength\belowcaptionskip
591 \setlength\abovecaptionskip{10\p@}
592 \setlength\belowcaptionskip{0\p@}
593 \long\def\@makecaption#1#2{%
594 \vskip\abovecaptionskip
595 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
596 \else\sbox\@tempboxa{#1: #2}%
598 \ifdim \wd\@tempboxa >\hsize
599 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
600 \else #1: #2\relax\par\fi
602 \global \@minipagefalse
603 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
605 \vskip\belowcaptionskip}
606 \setlength\arraycolsep{5\p@}
607 \setlength\tabcolsep{6\p@}
608 \setlength\arrayrulewidth{.4\p@}
609 \setlength\doublerulesep{2\p@}
610 \setlength\tabbingsep{\labelsep}
611 \skip\@mpfootins = \skip\footins
612 \setlength\fboxsep{3\p@}
613 \setlength\fboxrule{.4\p@}
614 \renewcommand{\theequation}{\@arabic\c@equation}
615 \if@compatibility\else
616 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
617 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
618 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
620 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
624 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
625 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
628 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
629 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
630 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
631 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
632 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
633 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
634 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
635 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
636 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
637 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
638 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
639 \setcounter{tocdepth}{3}
640 \newcommand{\@pnumwidth}{1.55em}
641 \newcommand{\@tocrmarg}{2.55em}
642 \newcommand{\@dotsep}{4.5}
643 \newdimen\toclineskip
644 \setlength\toclineskip{\z@}
646 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
647 \def\@dottedtocline#1#2#3#4#5{%
648 \ifnum #1>\c@tocdepth \else
649 \vskip\toclineskip \@plus.2\p@
650 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
651 \parindent #2\relax\@afterindenttrue
655 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
657 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
659 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
662 \def\addcontentsline#1#2#3{%
663 \protected@write\@auxout
664 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
665 \@temptokena{\thepage}}%
666 {\string\@writefile{#1}%
667 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
669 \newcommand{\tableofcontents}{%
670 \section*{\contentsname
671 \@mkboth{\contentsname}{\contentsname}%
674 \newcommand*{\l@part}[2]{%
675 \ifnum \c@tocdepth >-2\relax
676 \addpenalty{\@secpenalty}%
677 \addvspace{2.25em \@plus\p@}%
679 \parindent\z@\rightskip\@pnumwidth
680 \parfillskip-\@pnumwidth
681 {\leavevmode\large\bfseries
682 \setlength\@lnumwidth{4\zw}%
684 \hb@xt@\@pnumwidth{\hss#2}}\par
688 \everypar{\global\@nobreakfalse\everypar{}}%
692 \newcommand*{\l@section}[2]{%
693 \ifnum \c@tocdepth >\z@
694 \addpenalty{\@secpenalty}%
695 \addvspace{1.0em \@plus\p@}%
697 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
699 \setlength\@lnumwidth{1.5em}%
700 \advance\leftskip\@lnumwidth \hskip-\leftskip
701 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
704 \newcommand*{\l@subsection} {\@dottedtocline{2}{1.5em}{2.3em}}
705 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3.8em}{3.2em}}
706 \newcommand*{\l@paragraph} {\@dottedtocline{4}{7.0em}{4.1em}}
707 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{10em}{5em}}
708 \newcommand{\listoffigures}{%
709 \section*{\listfigurename}%
710 \@mkboth{\listfigurename}{\listfigurename}%
713 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
714 \newcommand{\listoftables}{%
715 \section*{\listtablename}%
716 \@mkboth{\listtablename}{\listtablename}%
719 \let\l@table\l@figure
721 \setlength\bibindent{1.5em}
722 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
723 \newenvironment{thebibliography}[1]
724 {\section*{\refname}\@mkboth{\refname}{\refname}%
725 \list{\@biblabel{\@arabic\c@enumiv}}%
726 {\settowidth\labelwidth{\@biblabel{#1}}%
727 \leftmargin\labelwidth
728 \advance\leftmargin\labelsep
732 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
735 \@clubpenalty\clubpenalty
739 {\@latex@warning{Empty `thebibliography' environment}}%
741 \let\@openbib@code\@empty
742 \newenvironment{theindex}
743 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
744 \twocolumn[\section*{\indexname}]%
745 \@mkboth{\indexname}{\indexname}%
746 \thispagestyle{jpl@in}\parindent\z@
747 \parskip\z@ \@plus .3\p@\relax
748 \columnseprule\z@ \columnsep 35\p@
750 {\if@restonecol\onecolumn\else\clearpage\fi}
751 \newcommand{\@idxitem}{\par\hangindent 40\p@}
752 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
753 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
754 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
755 \renewcommand{\footnoterule}{%
757 \hrule\@width.4\columnwidth
759 \newcommand\@makefntext[1]{\parindent 1em
760 \noindent\hb@xt@ 1.8em{\hss\@makefnmark}#1}
764 \newcount\heisei \heisei\year \advance\heisei-1988\relax
766 \ifnum\ltjgetparameter{direction}=3
772 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
782 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
787 \newcommand{\prepartname}{第}
788 \newcommand{\postpartname}{部}
789 \newcommand{\contentsname}{目 次}
790 \newcommand{\listfigurename}{図 目 次}
791 \newcommand{\listtablename}{表 目 次}
792 \newcommand{\refname}{参考文献}
793 \newcommand{\indexname}{索 引}
794 \newcommand{\figurename}{図}
795 \newcommand{\tablename}{表}
796 \newcommand{\appendixname}{付 録}
797 \newcommand{\abstractname}{概 要}
799 \pagenumbering{arabic}
814 %% End of file `ltjarticle.cls'.