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/08/31 v1.7f-ltj-15
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(\number\year-\two@digits\month-\two@digits\day
92 \space\two@digits\hour:\two@digits\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\pltx@cleartorightpage{\clearpage\if@twoside
191 \unless\ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
192 \hbox{}\thispagestyle{empty}\newpage
193 \if@twocolumn\hbox{}\newpage\fi
195 \def\pltx@cleartoleftpage{\clearpage\if@twoside
196 \ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
197 \hbox{}\thispagestyle{empty}\newpage
198 \if@twocolumn\hbox{}\newpage\fi
200 \def\pltx@cleartooddpage{\clearpage\if@twoside
202 \hbox{}\thispagestyle{empty}\newpage
203 \if@twocolumn\hbox{}\newpage\fi
205 \def\pltx@cleartoevenpage{\clearpage\if@twoside
207 \hbox{}\thispagestyle{empty}\newpage
208 \if@twocolumn\hbox{}\newpage\fi
210 \def\ps@plain{\let\@mkboth\@gobbletwo
211 \let\ps@jpl@in\ps@plain
213 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
214 \let\@evenhead\@empty
215 \let\@evenfoot\@oddfoot}
216 \let\ps@jpl@in\ps@plain
217 \def\ps@headnombre{\let\@mkboth\@gobbletwo
218 \let\ps@jpl@in\ps@headnombre
219 \def\@evenhead{\thepage\hfil}%
220 \def\@oddhead{\hfil\thepage}%
221 \let\@oddfoot\@empty\let\@evenfoot\@empty}
222 \def\ps@footnombre{\let\@mkboth\@gobbletwo
223 \let\ps@jpl@in\ps@footnombre
224 \def\@evenfoot{\thepage\hfil}%
225 \def\@oddfoot{\hfil\thepage}%
226 \let\@oddhead\@empty\let\@evenhead\@empty}
228 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
229 \let\@oddfoot\@empty\let\@evenfoot\@empty
230 \def\@evenhead{\thepage\hfil\leftmark}%
231 \def\@oddhead{{\rightmark}\hfil\thepage}%
232 \let\@mkboth\markboth
233 \def\sectionmark##1{\markboth{%
234 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
236 \def\subsectionmark##1{\markright{%
237 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
240 \else % if not twoside
241 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
243 \def\@oddhead{{\rightmark}\hfil\thepage}%
244 \let\@mkboth\markboth
245 \def\sectionmark##1{\markright{%
246 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
251 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
252 \def\@evenhead{\leftmark\hfil}% right page
253 \def\@evenfoot{\thepage\hfil}% right page
254 \def\@oddhead{\hfil\rightmark}% left page
255 \def\@oddfoot{\hfil\thepage}% left page
256 \let\@mkboth\markboth
257 \def\sectionmark##1{\markboth{%
258 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
260 \def\subsectionmark##1{\markright{%
261 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
264 \else % if one column
265 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
266 \def\@oddhead{\hfil\rightmark}%
267 \def\@oddfoot{\hfil\thepage}%
268 \let\@mkboth\markboth
269 \def\sectionmark##1{\markright{%
270 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
274 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
275 \let\@oddfoot\@empty\let\@evenfoot\@empty
276 \def\@evenhead{\thepage\hfil\leftmark}%
277 \def\@oddhead{{\rightmark}\hfil\thepage}%
278 \let\@mkboth\@gobbletwo
279 \let\sectionmark\@gobble
280 \let\subsectionmark\@gobble
283 \newenvironment{titlepage}
285 \if@twocolumn\@restonecoltrue\onecolumn
286 \else\@restonecolfalse\newpage\fi
287 \thispagestyle{empty}%
290 {\if@restonecol\twocolumn\else\newpage\fi
293 \newenvironment{titlepage}
296 \@restonecoltrue\onecolumn
298 \@restonecolfalse\newpage
300 \thispagestyle{empty}%
301 \ifodd\c@page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017/02/15
303 {\if@restonecol\twocolumn \else \newpage \fi
305 \setcounter{page}\@ne
309 \def\p@thanks#1{\footnotemark
310 \protected@xdef\@thanks{\@thanks
311 \protect{\noindent\hbox{\yoko$\m@th^\thefootnote$}#1\protect\par}}}
313 \newcommand{\maketitle}{\begin{titlepage}%
314 \let\footnotesize\small
315 \let\footnoterule\relax
320 {\LARGE \@title \par}%
324 \begin{tabular}[t]{c}%
328 {\large \@date \par}% % Set date in \large size.
332 \setcounter{footnote}{0}%
333 \global\let\thanks\relax
334 \global\let\maketitle\relax
335 \global\let\p@thanks\relax
336 \global\let\@thanks\@empty
337 \global\let\@author\@empty
338 \global\let\@date\@empty
339 \global\let\@title\@empty
340 \global\let\title\relax
341 \global\let\author\relax
342 \global\let\date\relax
343 \global\let\and\relax
346 \newcommand{\maketitle}{\par
348 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
349 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
350 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
351 \long\def\@makefntext##1{\parindent 1em\noindent
352 \hb@xt@1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
354 \ifnum \col@number=\@ne \@maketitle
355 \else \twocolumn[\@maketitle]%
359 \global\@topnum\z@ % Prevents figures from going at top of page.
362 \thispagestyle{jpl@in}\@thanks
364 \setcounter{footnote}{0}%
365 \global\let\thanks\relax
366 \global\let\maketitle\relax
367 \global\let\@maketitle\relax
368 \global\let\p@thanks\relax
369 \global\let\@thanks\@empty
370 \global\let\@author\@empty
371 \global\let\@date\@empty
372 \global\let\@title\@empty
373 \global\let\title\relax
374 \global\let\author\relax
375 \global\let\date\relax
376 \global\let\and\relax
383 {\LARGE \@title \par}%
387 \begin{tabular}[t]{c}%
396 \newenvironment{abstract}{%
399 \@beginparpenalty\@lowpenalty
401 {\bfseries\abstractname}%
404 {\par\vfil\null\endtitlepage}
406 \newenvironment{abstract}{%
408 \section*{\abstractname}%
412 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
415 \fi}{\if@twocolumn\else\endquotation\fi}
417 \setcounter{secnumdepth}{3}
420 \newcounter{subsection}[section]
421 \newcounter{subsubsection}[subsection]
422 \newcounter{paragraph}[subsubsection]
423 \newcounter{subparagraph}[paragraph]
424 \renewcommand{\thepart}{\@Roman\c@part}
425 \renewcommand{\thesection}{\@arabic\c@section}
426 \renewcommand{\thesubsection}{\thesection.\@arabic\c@subsection}
427 \renewcommand{\thesubsubsection}{%
428 \thesubsection.\@arabic\c@subsubsection}
429 \renewcommand{\theparagraph}{%
430 \thesubsubsection.\@arabic\c@paragraph}
431 \renewcommand{\thesubparagraph}{%
432 \theparagraph.\@arabic\c@subparagraph}
434 \if@noskipsec \leavevmode \fi
437 \secdef\@part\@spart}
439 \ifnum \c@secnumdepth >\m@ne
440 \refstepcounter{part}%
441 \addcontentsline{toc}{part}{%
442 \prepartname\thepart\postpartname\hspace{1\zw}#1}%
444 \addcontentsline{toc}{part}{#1}%
447 {\parindent\z@\raggedright
448 \interlinepenalty\@M\normalfont
449 \ifnum \c@secnumdepth >\m@ne
450 \Large\bfseries\prepartname\thepart\postpartname
453 \huge\bfseries#2\par}%
454 \nobreak\vskip3ex\@afterheading}
456 \parindent\z@\raggedright
457 \interlinepenalty\@M\normalfont
458 \huge\bfseries#1\par}%
459 \nobreak\vskip3ex\@afterheading}
460 \newcommand{\section}{\@startsection{section}{1}{\z@}%
461 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
462 {.5\Cvs \@plus.3\Cvs}%
463 {\normalfont\Large\bfseries}}
464 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
465 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
466 {.5\Cvs \@plus.3\Cvs}%
467 {\normalfont\large\bfseries}}
468 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
469 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
470 {.5\Cvs \@plus.3\Cvs}%
471 {\normalfont\normalsize\bfseries}}
472 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
473 {3.25ex \@plus 1ex \@minus .2ex}%
475 {\normalfont\normalsize\bfseries}}
476 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
477 {3.25ex \@plus 1ex \@minus .2ex}%
479 {\normalfont\normalsize\bfseries}}
480 \newcommand{\appendix}{\par
481 \setcounter{section}{0}%
482 \setcounter{subsection}{0}%
483 \renewcommand{\thesection}{\@Alph\c@section}}
485 \setlength\leftmargini {2em}
487 \setlength\leftmargini {2.5em}
489 \setlength\leftmarginii {2.2em}
490 \setlength\leftmarginiii {1.87em}
491 \setlength\leftmarginiv {1.7em}
493 \setlength\leftmarginv {.5em}
494 \setlength\leftmarginvi{.5em}
496 \setlength\leftmarginv {1em}
497 \setlength\leftmarginvi{1em}
499 \setlength \labelsep {.5em}
500 \setlength \labelwidth{\leftmargini}
501 \addtolength\labelwidth{-\labelsep}
502 \@beginparpenalty -\@lowpenalty
503 \@endparpenalty -\@lowpenalty
504 \@itempenalty -\@lowpenalty
505 \renewcommand{\theenumi}{\@arabic\c@enumi}
506 \renewcommand{\theenumii}{\@alph\c@enumii}
507 \renewcommand{\theenumiii}{\@roman\c@enumiii}
508 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
509 \newcommand{\labelenumi}{\theenumi.}
510 \newcommand{\labelenumii}{(\theenumii)}
511 \newcommand{\labelenumiii}{\theenumiii.}
512 \newcommand{\labelenumiv}{\theenumiv.}
513 \renewcommand{\p@enumii}{\theenumi}
514 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
515 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
516 \renewenvironment{enumerate}
517 {\ifnum \@enumdepth >\thr@@\@toodeep\else
518 \advance\@enumdepth\@ne
519 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
520 \expandafter \list \csname label\@enumctr\endcsname{%
521 \ifnum\ltjgetparameter{direction}=3
522 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
524 \parskip\z@ \itemsep\z@ \parsep\z@
525 \labelwidth1\zw \labelsep.3\zw
526 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
527 \else\leftmargin\leftskip\fi
528 \advance\leftmargin 1\zw
530 \usecounter{\@enumctr}%
531 \def\makelabel##1{\hss\llap{##1}}}%
533 \newcommand{\labelitemi}{\textbullet}
534 \newcommand{\labelitemii}{%
535 \ifnum\ltjgetparameter{direction}=3
538 {\normalfont\bfseries\textendash}
541 \newcommand{\labelitemiii}{\textasteriskcentered}
542 \newcommand{\labelitemiv}{\textperiodcentered}
543 \renewenvironment{itemize}
544 {\ifnum \@itemdepth >\thr@@\@toodeep\else
545 \advance\@itemdepth\@ne
546 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
547 \expandafter \list \csname \@itemitem\endcsname{%
548 \ifnum\ltjgetparameter{direction}=3
549 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
551 \parskip\z@ \itemsep\z@ \parsep\z@
552 \labelwidth1\zw \labelsep.3\zw
553 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
554 \else\leftmargin\leftskip\fi
555 \advance\leftmargin 1\zw
557 \def\makelabel##1{\hss\llap{##1}}}%
559 \newenvironment{description}
560 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
561 \ifnum\ltjgetparameter{direction}=3
562 \leftmargin\leftskip \advance\leftmargin3\Cwd
563 \rightmargin\rightskip
564 \labelsep=1\zw \itemsep\z@
565 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
567 \let\makelabel\descriptionlabel}}{\endlist}
568 \newcommand{\descriptionlabel}[1]{%
569 \hspace\labelsep\normalfont\bfseries #1}
570 \newenvironment{verse}
572 \list{}{\itemsep\z@ \itemindent -1.5em%
573 \listparindent\itemindent
574 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
575 \item\relax}{\endlist}
576 \newenvironment{quotation}
577 {\list{}{\listparindent 1.5em%
578 \itemindent\listparindent
579 \rightmargin\leftmargin
580 \parsep\z@ \@plus\p@}%
581 \item\relax}{\endlist}
582 \newenvironment{quote}
583 {\list{}{\rightmargin\leftmargin}%
584 \item\relax}{\endlist}
586 \renewcommand{\thefigure}{\@arabic\c@figure}
590 \def\fnum@figure{\figurename~\thefigure}
591 \newenvironment{figure}
594 \newenvironment{figure*}
598 \renewcommand{\thetable}{\@arabic\c@table}
602 \def\fnum@table{\tablename~\thetable}
603 \newenvironment{table}
606 \newenvironment{table*}
609 \newlength\abovecaptionskip
610 \newlength\belowcaptionskip
611 \setlength\abovecaptionskip{10\p@}
612 \setlength\belowcaptionskip{0\p@}
613 \long\def\@makecaption#1#2{%
614 \vskip\abovecaptionskip
615 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
616 \else\sbox\@tempboxa{#1: #2}%
618 \ifdim \wd\@tempboxa >\hsize
619 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
620 \else #1: #2\relax\par\fi
622 \global \@minipagefalse
623 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
625 \vskip\belowcaptionskip}
626 \setlength\arraycolsep{5\p@}
627 \setlength\tabcolsep{6\p@}
628 \setlength\arrayrulewidth{.4\p@}
629 \setlength\doublerulesep{2\p@}
630 \setlength\tabbingsep{\labelsep}
631 \skip\@mpfootins = \skip\footins
632 \setlength\fboxsep{3\p@}
633 \setlength\fboxrule{.4\p@}
634 \renewcommand{\theequation}{\@arabic\c@equation}
635 \if@compatibility\else
636 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
637 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
638 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
640 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
644 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
645 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
648 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
649 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
650 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
651 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
652 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
653 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
654 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
655 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
656 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
657 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
658 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
659 \setcounter{tocdepth}{3}
660 \newcommand{\@pnumwidth}{1.55em}
661 \newcommand{\@tocrmarg}{2.55em}
662 \newcommand{\@dotsep}{4.5}
663 \newdimen\toclineskip
664 \setlength\toclineskip{\z@}
666 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
667 \def\@dottedtocline#1#2#3#4#5{%
668 \ifnum #1>\c@tocdepth \else
669 \vskip\toclineskip \@plus.2\p@
670 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
671 \parindent #2\relax\@afterindenttrue
675 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
677 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
679 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
682 \def\addcontentsline#1#2#3{%
683 \protected@write\@auxout
684 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
685 \@temptokena{\thepage}}%
686 {\string\@writefile{#1}%
687 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
689 \newcommand{\tableofcontents}{%
690 \section*{\contentsname
691 \@mkboth{\contentsname}{\contentsname}%
694 \newcommand*{\l@part}[2]{%
695 \ifnum \c@tocdepth >-2\relax
696 \addpenalty{\@secpenalty}%
697 \addvspace{2.25em \@plus\p@}%
699 \parindent\z@\rightskip\@pnumwidth
700 \parfillskip-\@pnumwidth
701 {\leavevmode\large\bfseries
702 \setlength\@lnumwidth{4\zw}%
704 \hb@xt@\@pnumwidth{\hss#2}}\par
708 \everypar{\global\@nobreakfalse\everypar{}}%
712 \newcommand*{\l@section}[2]{%
713 \ifnum \c@tocdepth >\z@
714 \addpenalty{\@secpenalty}%
715 \addvspace{1.0em \@plus\p@}%
717 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
719 \setlength\@lnumwidth{1.5em}%
720 \advance\leftskip\@lnumwidth \hskip-\leftskip
721 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
724 \newcommand*{\l@subsection} {\@dottedtocline{2}{1.5em}{2.3em}}
725 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3.8em}{3.2em}}
726 \newcommand*{\l@paragraph} {\@dottedtocline{4}{7.0em}{4.1em}}
727 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{10em}{5em}}
728 \newcommand{\listoffigures}{%
729 \section*{\listfigurename}%
730 \@mkboth{\listfigurename}{\listfigurename}%
733 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
734 \newcommand{\listoftables}{%
735 \section*{\listtablename}%
736 \@mkboth{\listtablename}{\listtablename}%
739 \let\l@table\l@figure
741 \setlength\bibindent{1.5em}
742 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
743 \newenvironment{thebibliography}[1]
744 {\section*{\refname}\@mkboth{\refname}{\refname}%
745 \list{\@biblabel{\@arabic\c@enumiv}}%
746 {\settowidth\labelwidth{\@biblabel{#1}}%
747 \leftmargin\labelwidth
748 \advance\leftmargin\labelsep
752 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
755 \@clubpenalty\clubpenalty
759 {\@latex@warning{Empty `thebibliography' environment}}%
761 \let\@openbib@code\@empty
762 \newenvironment{theindex}
763 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
764 \twocolumn[\section*{\indexname}]%
765 \@mkboth{\indexname}{\indexname}%
766 \thispagestyle{jpl@in}\parindent\z@
767 \parskip\z@ \@plus .3\p@\relax
768 \columnseprule\z@ \columnsep 35\p@
770 {\if@restonecol\onecolumn\else\clearpage\fi}
771 \newcommand{\@idxitem}{\par\hangindent 40\p@}
772 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
773 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
774 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
775 \renewcommand{\footnoterule}{%
777 \hrule\@width.4\columnwidth
779 \newcommand\@makefntext[1]{\parindent 1em
780 \noindent\hb@xt@ 1.8em{\hss\@makefnmark}#1}
784 \newcount\heisei \heisei\year \advance\heisei-1988\relax
786 \ifnum\ltjgetparameter{direction}=3
792 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
802 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
807 \newcommand{\prepartname}{第}
808 \newcommand{\postpartname}{部}
809 \newcommand{\contentsname}{目 次}
810 \newcommand{\listfigurename}{図 目 次}
811 \newcommand{\listtablename}{表 目 次}
812 \newcommand{\refname}{参考文献}
813 \newcommand{\indexname}{索 引}
814 \newcommand{\figurename}{図}
815 \newcommand{\tablename}{表}
816 \newcommand{\appendixname}{付 録}
817 \newcommand{\abstractname}{概 要}
819 \pagenumbering{arabic}
821 \fnfixbottomtrue % 2017-02-19
822 \IfFileExists{stfloats.sty}{\RequirePackage{stfloats}\fnbelowfloat}{}
834 \AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext}
835 \AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext}
838 %% End of file `ltjarticle.cls'.