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 [2018/07/24 v1.8-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}
143 \def\Cjascale{0.962216}
145 \setlength\columnsep{2\Cwd}
147 \setlength\columnsep{10\p@}
149 \setlength\columnseprule{0\p@}
151 \newlength{\stockwidth}
152 \newlength{\stockheight}
153 \setlength{\stockwidth}{\paperwidth}
154 \setlength{\stockheight}{\paperheight}
155 \advance \stockwidth 2in
156 \advance \stockheight 2in
157 \ifdefined\pdfpagewidth
158 \setlength{\pdfpagewidth}{\stockwidth}
159 \setlength{\pdfpageheight}{\stockheight}
161 \setlength{\pagewidth}{\stockwidth}
162 \setlength{\pageheight}{\stockheight}
165 \ifdefined\pdfpagewidth
166 \setlength{\pdfpagewidth}{\paperwidth}
167 \setlength{\pdfpageheight}{\paperheight}
169 \setlength{\pagewidth}{\paperwidth}
170 \setlength{\pageheight}{\paperheight}
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\pltx@cleartorightpage{\clearpage\if@twoside
192 \unless\ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
193 \hbox{}\thispagestyle{empty}\newpage
194 \if@twocolumn\hbox{}\newpage\fi
196 \def\pltx@cleartoleftpage{\clearpage\if@twoside
197 \ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
198 \hbox{}\thispagestyle{empty}\newpage
199 \if@twocolumn\hbox{}\newpage\fi
201 \def\pltx@cleartooddpage{\clearpage\if@twoside
203 \hbox{}\thispagestyle{empty}\newpage
204 \if@twocolumn\hbox{}\newpage\fi
206 \def\pltx@cleartoevenpage{\clearpage\if@twoside
208 \hbox{}\thispagestyle{empty}\newpage
209 \if@twocolumn\hbox{}\newpage\fi
211 \def\ps@plain{\let\@mkboth\@gobbletwo
212 \let\ps@jpl@in\ps@plain
214 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
215 \let\@evenhead\@empty
216 \let\@evenfoot\@oddfoot}
217 \let\ps@jpl@in\ps@plain
218 \def\ps@headnombre{\let\@mkboth\@gobbletwo
219 \let\ps@jpl@in\ps@headnombre
220 \def\@evenhead{\thepage\hfil}%
221 \def\@oddhead{\hfil\thepage}%
222 \let\@oddfoot\@empty\let\@evenfoot\@empty}
223 \def\ps@footnombre{\let\@mkboth\@gobbletwo
224 \let\ps@jpl@in\ps@footnombre
225 \def\@evenfoot{\thepage\hfil}%
226 \def\@oddfoot{\hfil\thepage}%
227 \let\@oddhead\@empty\let\@evenhead\@empty}
229 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
230 \let\@oddfoot\@empty\let\@evenfoot\@empty
231 \def\@evenhead{\thepage\hfil\leftmark}%
232 \def\@oddhead{{\rightmark}\hfil\thepage}%
233 \let\@mkboth\markboth
234 \def\sectionmark##1{\markboth{%
235 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
237 \def\subsectionmark##1{\markright{%
238 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
241 \else % if not twoside
242 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
244 \def\@oddhead{{\rightmark}\hfil\thepage}%
245 \let\@mkboth\markboth
246 \def\sectionmark##1{\markright{%
247 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
252 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
253 \def\@evenhead{\leftmark\hfil}% right page
254 \def\@evenfoot{\thepage\hfil}% right page
255 \def\@oddhead{\hfil\rightmark}% left page
256 \def\@oddfoot{\hfil\thepage}% left page
257 \let\@mkboth\markboth
258 \def\sectionmark##1{\markboth{%
259 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
261 \def\subsectionmark##1{\markright{%
262 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
265 \else % if one column
266 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
267 \def\@oddhead{\hfil\rightmark}%
268 \def\@oddfoot{\hfil\thepage}%
269 \let\@mkboth\markboth
270 \def\sectionmark##1{\markright{%
271 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
275 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
276 \let\@oddfoot\@empty\let\@evenfoot\@empty
277 \def\@evenhead{\thepage\hfil\leftmark}%
278 \def\@oddhead{{\rightmark}\hfil\thepage}%
279 \let\@mkboth\@gobbletwo
280 \let\sectionmark\@gobble
281 \let\subsectionmark\@gobble
284 \newenvironment{titlepage}
286 \if@twocolumn\@restonecoltrue\onecolumn
287 \else\@restonecolfalse\newpage\fi
288 \thispagestyle{empty}%
291 {\if@restonecol\twocolumn\else\newpage\fi
294 \newenvironment{titlepage}
297 \@restonecoltrue\onecolumn
299 \@restonecolfalse\newpage
301 \thispagestyle{empty}%
302 \ifodd\c@page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017/02/15
304 {\if@restonecol\twocolumn \else \newpage \fi
306 \setcounter{page}\@ne
310 \def\p@thanks#1{\footnotemark
311 \protected@xdef\@thanks{\@thanks
312 \protect{\noindent\hbox{\yoko$\m@th^\thefootnote$}#1\protect\par}}}
314 \newcommand{\maketitle}{\begin{titlepage}%
315 \let\footnotesize\small
316 \let\footnoterule\relax
321 {\LARGE \@title \par}%
325 \begin{tabular}[t]{c}%
329 {\large \@date \par}% % Set date in \large size.
333 \setcounter{footnote}{0}%
334 \global\let\thanks\relax
335 \global\let\maketitle\relax
336 \global\let\p@thanks\relax
337 \global\let\@thanks\@empty
338 \global\let\@author\@empty
339 \global\let\@date\@empty
340 \global\let\@title\@empty
341 \global\let\title\relax
342 \global\let\author\relax
343 \global\let\date\relax
344 \global\let\and\relax
347 \newcommand{\maketitle}{\par
349 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
350 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
351 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
352 \long\def\@makefntext##1{\parindent 1em\noindent
353 \hb@xt@1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
355 \ifnum \col@number=\@ne \@maketitle
356 \else \twocolumn[\@maketitle]%
360 \global\@topnum\z@ % Prevents figures from going at top of page.
363 \thispagestyle{jpl@in}\@thanks
365 \setcounter{footnote}{0}%
366 \global\let\thanks\relax
367 \global\let\maketitle\relax
368 \global\let\@maketitle\relax
369 \global\let\p@thanks\relax
370 \global\let\@thanks\@empty
371 \global\let\@author\@empty
372 \global\let\@date\@empty
373 \global\let\@title\@empty
374 \global\let\title\relax
375 \global\let\author\relax
376 \global\let\date\relax
377 \global\let\and\relax
384 {\LARGE \@title \par}%
388 \begin{tabular}[t]{c}%
397 \newenvironment{abstract}{%
400 \@beginparpenalty\@lowpenalty
402 {\bfseries\abstractname}%
405 {\par\vfil\null\endtitlepage}
407 \newenvironment{abstract}{%
409 \section*{\abstractname}%
413 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
416 \fi}{\if@twocolumn\else\endquotation\fi}
418 \setcounter{secnumdepth}{3}
421 \newcounter{subsection}[section]
422 \newcounter{subsubsection}[subsection]
423 \newcounter{paragraph}[subsubsection]
424 \newcounter{subparagraph}[paragraph]
425 \renewcommand{\thepart}{\@Roman\c@part}
426 \renewcommand{\thesection}{\@arabic\c@section}
427 \renewcommand{\thesubsection}{\thesection.\@arabic\c@subsection}
428 \renewcommand{\thesubsubsection}{%
429 \thesubsection.\@arabic\c@subsubsection}
430 \renewcommand{\theparagraph}{%
431 \thesubsubsection.\@arabic\c@paragraph}
432 \renewcommand{\thesubparagraph}{%
433 \theparagraph.\@arabic\c@subparagraph}
435 \if@noskipsec \leavevmode \fi
438 \secdef\@part\@spart}
440 \ifnum \c@secnumdepth >\m@ne
441 \refstepcounter{part}%
442 \addcontentsline{toc}{part}{%
443 \prepartname\thepart\postpartname\hspace{1\zw}#1}%
445 \addcontentsline{toc}{part}{#1}%
448 {\parindent\z@\raggedright
449 \interlinepenalty\@M\normalfont
450 \ifnum \c@secnumdepth >\m@ne
451 \Large\bfseries\prepartname\thepart\postpartname
454 \huge\bfseries#2\par}%
455 \nobreak\vskip3ex\@afterheading}
457 \parindent\z@\raggedright
458 \interlinepenalty\@M\normalfont
459 \huge\bfseries#1\par}%
460 \nobreak\vskip3ex\@afterheading}
461 \newcommand{\section}{\@startsection{section}{1}{\z@}%
462 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
463 {.5\Cvs \@plus.3\Cvs}%
464 {\normalfont\Large\bfseries}}
465 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
466 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
467 {.5\Cvs \@plus.3\Cvs}%
468 {\normalfont\large\bfseries}}
469 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
470 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
471 {.5\Cvs \@plus.3\Cvs}%
472 {\normalfont\normalsize\bfseries}}
473 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
474 {3.25ex \@plus 1ex \@minus .2ex}%
476 {\normalfont\normalsize\bfseries}}
477 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
478 {3.25ex \@plus 1ex \@minus .2ex}%
480 {\normalfont\normalsize\bfseries}}
481 \newcommand{\appendix}{\par
482 \setcounter{section}{0}%
483 \setcounter{subsection}{0}%
484 \renewcommand{\thesection}{\@Alph\c@section}}
486 \setlength\leftmargini {2em}
488 \setlength\leftmargini {2.5em}
490 \setlength\leftmarginii {2.2em}
491 \setlength\leftmarginiii {1.87em}
492 \setlength\leftmarginiv {1.7em}
494 \setlength\leftmarginv {.5em}
495 \setlength\leftmarginvi{.5em}
497 \setlength\leftmarginv {1em}
498 \setlength\leftmarginvi{1em}
500 \setlength \labelsep {.5em}
501 \setlength \labelwidth{\leftmargini}
502 \addtolength\labelwidth{-\labelsep}
503 \@beginparpenalty -\@lowpenalty
504 \@endparpenalty -\@lowpenalty
505 \@itempenalty -\@lowpenalty
506 \renewcommand{\theenumi}{\@arabic\c@enumi}
507 \renewcommand{\theenumii}{\@alph\c@enumii}
508 \renewcommand{\theenumiii}{\@roman\c@enumiii}
509 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
510 \newcommand{\labelenumi}{\theenumi.}
511 \newcommand{\labelenumii}{(\theenumii)}
512 \newcommand{\labelenumiii}{\theenumiii.}
513 \newcommand{\labelenumiv}{\theenumiv.}
514 \renewcommand{\p@enumii}{\theenumi}
515 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
516 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
517 \renewenvironment{enumerate}
518 {\ifnum \@enumdepth >\thr@@\@toodeep\else
519 \advance\@enumdepth\@ne
520 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
521 \expandafter \list \csname label\@enumctr\endcsname{%
522 \ifnum\ltjgetparameter{direction}=3
523 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
525 \parskip\z@ \itemsep\z@ \parsep\z@
526 \labelwidth1\zw \labelsep.3\zw
527 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
528 \else\leftmargin\leftskip\fi
529 \advance\leftmargin 1\zw
531 \usecounter{\@enumctr}%
532 \def\makelabel##1{\hss\llap{##1}}}%
534 \newcommand{\labelitemi}{\textbullet}
535 \newcommand{\labelitemii}{%
536 \ifnum\ltjgetparameter{direction}=3
539 {\normalfont\bfseries\textendash}
542 \newcommand{\labelitemiii}{\textasteriskcentered}
543 \newcommand{\labelitemiv}{\textperiodcentered}
544 \renewenvironment{itemize}
545 {\ifnum \@itemdepth >\thr@@\@toodeep\else
546 \advance\@itemdepth\@ne
547 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
548 \expandafter \list \csname \@itemitem\endcsname{%
549 \ifnum\ltjgetparameter{direction}=3
550 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
552 \parskip\z@ \itemsep\z@ \parsep\z@
553 \labelwidth1\zw \labelsep.3\zw
554 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
555 \else\leftmargin\leftskip\fi
556 \advance\leftmargin 1\zw
558 \def\makelabel##1{\hss\llap{##1}}}%
560 \newenvironment{description}
561 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
562 \ifnum\ltjgetparameter{direction}=3
563 \leftmargin\leftskip \advance\leftmargin3\Cwd
564 \rightmargin\rightskip
565 \labelsep=1\zw \itemsep\z@
566 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
568 \let\makelabel\descriptionlabel}}{\endlist}
569 \newcommand{\descriptionlabel}[1]{%
570 \hspace\labelsep\normalfont\bfseries #1}
571 \newenvironment{verse}
573 \list{}{\itemsep\z@ \itemindent -1.5em%
574 \listparindent\itemindent
575 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
576 \item\relax}{\endlist}
577 \newenvironment{quotation}
578 {\list{}{\listparindent 1.5em%
579 \itemindent\listparindent
580 \rightmargin\leftmargin
581 \parsep\z@ \@plus\p@}%
582 \item\relax}{\endlist}
583 \newenvironment{quote}
584 {\list{}{\rightmargin\leftmargin}%
585 \item\relax}{\endlist}
587 \renewcommand{\thefigure}{\@arabic\c@figure}
591 \def\fnum@figure{\figurename~\thefigure}
592 \newenvironment{figure}
595 \newenvironment{figure*}
599 \renewcommand{\thetable}{\@arabic\c@table}
603 \def\fnum@table{\tablename~\thetable}
604 \newenvironment{table}
607 \newenvironment{table*}
610 \newlength\abovecaptionskip
611 \newlength\belowcaptionskip
612 \setlength\abovecaptionskip{10\p@}
613 \setlength\belowcaptionskip{0\p@}
614 \long\def\@makecaption#1#2{%
615 \vskip\abovecaptionskip
616 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
617 \else\sbox\@tempboxa{#1: #2}%
619 \ifdim \wd\@tempboxa >\hsize
620 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
621 \else #1: #2\relax\par\fi
623 \global \@minipagefalse
624 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
626 \vskip\belowcaptionskip}
627 \setlength\arraycolsep{5\p@}
628 \setlength\tabcolsep{6\p@}
629 \setlength\arrayrulewidth{.4\p@}
630 \setlength\doublerulesep{2\p@}
631 \setlength\tabbingsep{\labelsep}
632 \skip\@mpfootins = \skip\footins
633 \setlength\fboxsep{3\p@}
634 \setlength\fboxrule{.4\p@}
635 \renewcommand{\theequation}{\@arabic\c@equation}
636 \if@compatibility\else
637 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
638 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
639 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
641 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
645 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
646 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
649 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
650 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
651 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
652 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
653 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
654 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
655 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
656 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
657 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
658 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
659 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
660 \setcounter{tocdepth}{3}
661 \newcommand{\@pnumwidth}{1.55em}
662 \newcommand{\@tocrmarg}{2.55em}
663 \newcommand{\@dotsep}{4.5}
664 \newdimen\toclineskip
665 \setlength\toclineskip{\z@}
667 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
668 \def\@dottedtocline#1#2#3#4#5{%
669 \ifnum #1>\c@tocdepth \else
670 \vskip\toclineskip \@plus.2\p@
671 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
672 \parindent #2\relax\@afterindenttrue
676 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
678 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
680 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
683 \def\addcontentsline#1#2#3{%
684 \protected@write\@auxout
685 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
686 \@temptokena{\thepage}}%
687 {\string\@writefile{#1}%
688 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
690 \newcommand{\tableofcontents}{%
691 \section*{\contentsname
692 \@mkboth{\contentsname}{\contentsname}%
695 \newcommand*{\l@part}[2]{%
696 \ifnum \c@tocdepth >-2\relax
697 \addpenalty{\@secpenalty}%
698 \addvspace{2.25em \@plus\p@}%
700 \parindent\z@\rightskip\@pnumwidth
701 \parfillskip-\@pnumwidth
702 {\leavevmode\large\bfseries
703 \setlength\@lnumwidth{4\zw}%
705 \hb@xt@\@pnumwidth{\hss#2}}\par
709 \everypar{\global\@nobreakfalse\everypar{}}%
713 \newcommand*{\l@section}[2]{%
714 \ifnum \c@tocdepth >\z@
715 \addpenalty{\@secpenalty}%
716 \addvspace{1.0em \@plus\p@}%
718 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
720 \setlength\@lnumwidth{1.5em}%
721 \advance\leftskip\@lnumwidth \hskip-\leftskip
722 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
725 \newcommand*{\l@subsection} {\@dottedtocline{2}{1.5em}{2.3em}}
726 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3.8em}{3.2em}}
727 \newcommand*{\l@paragraph} {\@dottedtocline{4}{7.0em}{4.1em}}
728 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{10em}{5em}}
729 \newcommand{\listoffigures}{%
730 \section*{\listfigurename}%
731 \@mkboth{\listfigurename}{\listfigurename}%
734 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
735 \newcommand{\listoftables}{%
736 \section*{\listtablename}%
737 \@mkboth{\listtablename}{\listtablename}%
740 \let\l@table\l@figure
742 \setlength\bibindent{1.5em}
743 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
744 \newenvironment{thebibliography}[1]
745 {\section*{\refname}\@mkboth{\refname}{\refname}%
746 \list{\@biblabel{\@arabic\c@enumiv}}%
747 {\settowidth\labelwidth{\@biblabel{#1}}%
748 \leftmargin\labelwidth
749 \advance\leftmargin\labelsep
753 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
756 \@clubpenalty\clubpenalty
760 {\@latex@warning{Empty `thebibliography' environment}}%
762 \let\@openbib@code\@empty
763 \newenvironment{theindex}
764 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
765 \twocolumn[\section*{\indexname}]%
766 \@mkboth{\indexname}{\indexname}%
767 \thispagestyle{jpl@in}\parindent\z@
768 \parskip\z@ \@plus .3\p@\relax
769 \columnseprule\z@ \columnsep 35\p@
771 {\if@restonecol\onecolumn\else\clearpage\fi}
772 \newcommand{\@idxitem}{\par\hangindent 40\p@}
773 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
774 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
775 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
776 \renewcommand{\footnoterule}{%
778 \hrule\@width.4\columnwidth
780 \newcommand\@makefntext[1]{\parindent 1em
781 \noindent\hb@xt@ 1.8em{\hss\@makefnmark}#1}
785 \newcount\heisei \heisei\year \advance\heisei-1988\relax
787 \ifnum\ltjgetparameter{direction}=3
793 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
803 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
808 \newcommand{\prepartname}{第}
809 \newcommand{\postpartname}{部}
810 \newcommand{\contentsname}{目 次}
811 \newcommand{\listfigurename}{図 目 次}
812 \newcommand{\listtablename}{表 目 次}
813 \newcommand{\refname}{参考文献}
814 \newcommand{\indexname}{索 引}
815 \newcommand{\figurename}{図}
816 \newcommand{\tablename}{表}
817 \newcommand{\appendixname}{付 録}
818 \newcommand{\abstractname}{概 要}
820 \pagenumbering{arabic}
822 \fnfixbottomtrue % 2017-02-19
823 \IfFileExists{stfloats.sty}{\RequirePackage{stfloats}\fnbelowfloat}{}
835 \AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext}
836 \AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext}
839 %% End of file `ltjarticle.cls'.