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 \NeedsTeXFormat{LaTeX2e}
26 \ProvidesClass{ltjarticle}
27 [2019/04/06 v1.8b-ltj-16
28 Standard LuaLaTeX-ja class]
29 \RequirePackage{luatexja}
31 \newif\if@landscape \@landscapefalse
32 \newcommand{\@ptsize}{}
36 \hour\time \divide\hour by 60\relax
37 \@tempcnta\hour \multiply\@tempcnta 60\relax
38 \minute\time \advance\minute-\@tempcnta
39 \newif\if@stysize \@stysizefalse
40 \newif\if@mathrmmc \@mathrmmcfalse
41 \DeclareOption{a4paper}{\setcounter{@paper}{1}%
42 \setlength\paperheight {297mm}%
43 \setlength\paperwidth {210mm}}
44 \DeclareOption{a5paper}{\setcounter{@paper}{2}%
45 \setlength\paperheight {210mm}
46 \setlength\paperwidth {148mm}}
47 \DeclareOption{b4paper}{\setcounter{@paper}{3}%
48 \setlength\paperheight {364mm}
49 \setlength\paperwidth {257mm}}
50 \DeclareOption{b5paper}{\setcounter{@paper}{4}%
51 \setlength\paperheight {257mm}
52 \setlength\paperwidth {182mm}}
53 \DeclareOption{a4j}{\setcounter{@paper}{1}\@stysizetrue
54 \setlength\paperheight {297mm}%
55 \setlength\paperwidth {210mm}}
56 \DeclareOption{a5j}{\setcounter{@paper}{2}\@stysizetrue
57 \setlength\paperheight {210mm}
58 \setlength\paperwidth {148mm}}
59 \DeclareOption{b4j}{\setcounter{@paper}{3}\@stysizetrue
60 \setlength\paperheight {364mm}
61 \setlength\paperwidth {257mm}}
62 \DeclareOption{b5j}{\setcounter{@paper}{4}\@stysizetrue
63 \setlength\paperheight {257mm}
64 \setlength\paperwidth {182mm}}
65 \DeclareOption{a4p}{\setcounter{@paper}{1}\@stysizetrue
66 \setlength\paperheight {297mm}%
67 \setlength\paperwidth {210mm}}
68 \DeclareOption{a5p}{\setcounter{@paper}{2}\@stysizetrue
69 \setlength\paperheight {210mm}
70 \setlength\paperwidth {148mm}}
71 \DeclareOption{b4p}{\setcounter{@paper}{3}\@stysizetrue
72 \setlength\paperheight {364mm}
73 \setlength\paperwidth {257mm}}
74 \DeclareOption{b5p}{\setcounter{@paper}{4}\@stysizetrue
75 \setlength\paperheight {257mm}
76 \setlength\paperwidth {182mm}}
78 \renewcommand{\@ptsize}{0}
80 \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
82 \DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
83 \DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
84 \DeclareOption{landscape}{\@landscapetrue
85 \setlength\@tempdima{\paperheight}%
86 \setlength\paperheight{\paperwidth}%
87 \setlength\paperwidth{\@tempdima}}
88 \DeclareOption{tombow}{%
89 \tombowtrue \tombowdatetrue
90 \setlength{\@tombowwidth}{.1\p@}%
92 \jobname\space(\number\year-\two@digits\month-\two@digits\day
93 \space\two@digits\hour:\two@digits\minute)}%
95 \DeclareOption{tombo}{%
96 \tombowtrue \tombowdatefalse
97 \setlength{\@tombowwidth}{.1\p@}%
99 \DeclareOption{mentuke}{%
100 \tombowtrue \tombowdatefalse
101 \setlength{\@tombowwidth}{\z@}%
103 \DeclareOption{tate}{%
104 \tate\AtBeginDocument{\message{《縦組モード》}\adjustbaseline}%
106 \DeclareOption{oneside}{\@twosidefalse}
107 \DeclareOption{twoside}{\@twosidetrue}
108 \DeclareOption{onecolumn}{\@twocolumnfalse}
109 \DeclareOption{twocolumn}{\@twocolumntrue}
110 \DeclareOption{titlepage}{\@titlepagetrue}
111 \DeclareOption{notitlepage}{\@titlepagefalse}
112 \DeclareOption{leqno}{\input{leqno.clo}}
113 \DeclareOption{fleqn}{\input{fleqn.clo}}
114 \DeclareOption{openbib}{%
116 \renewcommand\@openbib@code{%
117 \advance\leftmargin\bibindent
118 \itemindent -\bibindent
119 \listparindent \itemindent
122 \renewcommand\newblock{\par}}}
126 \DeclareOption{mathrmmc}{\@mathrmmctrue}
128 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
129 \DeclareOption{final}{\setlength\overfullrule{0pt}}
130 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
131 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
132 'ltj.jclasses_load_jfm', 1)}
133 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
134 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
135 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
136 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
137 \ltjglobalsetparameter{differentjfm=both}
138 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
139 \DeclareOption{disablejfam}{}
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 \unless\ifltj@disablejfam
637 \if@compatibility\else
638 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
639 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
640 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
642 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
646 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
647 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
651 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
652 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
653 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
654 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
655 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
656 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
657 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
658 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
659 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
660 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
661 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
662 \setcounter{tocdepth}{3}
663 \newcommand{\@pnumwidth}{1.55em}
664 \newcommand{\@tocrmarg}{2.55em}
665 \newcommand{\@dotsep}{4.5}
666 \newdimen\toclineskip
667 \setlength\toclineskip{\z@}
669 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
670 \def\@dottedtocline#1#2#3#4#5{%
671 \ifnum #1>\c@tocdepth \else
672 \vskip\toclineskip \@plus.2\p@
673 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
674 \parindent #2\relax\@afterindenttrue
678 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
680 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
682 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
685 \providecommand*\protected@file@percent{}
686 \def\addcontentsline#1#2#3{%
687 \protected@write\@auxout
688 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
689 \@temptokena{\thepage}}%
690 {\string\@writefile{#1}%
691 {\protect\contentsline{#2}{#3}{\the\@temptokena}%
692 \protected@file@percent}}%
694 \newcommand{\tableofcontents}{%
695 \section*{\contentsname
696 \@mkboth{\contentsname}{\contentsname}%
699 \newcommand*{\l@part}[2]{%
700 \ifnum \c@tocdepth >-2\relax
701 \addpenalty{\@secpenalty}%
702 \addvspace{2.25em \@plus\p@}%
704 \parindent\z@\rightskip\@pnumwidth
705 \parfillskip-\@pnumwidth
706 {\leavevmode\large\bfseries
707 \setlength\@lnumwidth{4\zw}%
709 \hb@xt@\@pnumwidth{\hss#2}}\par
713 \everypar{\global\@nobreakfalse\everypar{}}%
717 \newcommand*{\l@section}[2]{%
718 \ifnum \c@tocdepth >\z@
719 \addpenalty{\@secpenalty}%
720 \addvspace{1.0em \@plus\p@}%
722 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
724 \setlength\@lnumwidth{1.5em}%
725 \advance\leftskip\@lnumwidth \hskip-\leftskip
726 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
729 \newcommand*{\l@subsection} {\@dottedtocline{2}{1.5em}{2.3em}}
730 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3.8em}{3.2em}}
731 \newcommand*{\l@paragraph} {\@dottedtocline{4}{7.0em}{4.1em}}
732 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{10em}{5em}}
733 \newcommand{\listoffigures}{%
734 \section*{\listfigurename}%
735 \@mkboth{\listfigurename}{\listfigurename}%
738 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
739 \newcommand{\listoftables}{%
740 \section*{\listtablename}%
741 \@mkboth{\listtablename}{\listtablename}%
744 \let\l@table\l@figure
746 \setlength\bibindent{1.5em}
747 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
748 \newenvironment{thebibliography}[1]
749 {\section*{\refname}\@mkboth{\refname}{\refname}%
750 \list{\@biblabel{\@arabic\c@enumiv}}%
751 {\settowidth\labelwidth{\@biblabel{#1}}%
752 \leftmargin\labelwidth
753 \advance\leftmargin\labelsep
757 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
760 \@clubpenalty\clubpenalty
764 {\@latex@warning{Empty `thebibliography' environment}}%
766 \let\@openbib@code\@empty
767 \newenvironment{theindex}
768 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
769 \twocolumn[\section*{\indexname}]%
770 \@mkboth{\indexname}{\indexname}%
771 \thispagestyle{jpl@in}\parindent\z@
772 \parskip\z@ \@plus .3\p@\relax
773 \columnseprule\z@ \columnsep 35\p@
775 {\if@restonecol\onecolumn\else\clearpage\fi}
776 \newcommand{\@idxitem}{\par\hangindent 40\p@}
777 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
778 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
779 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
780 \renewcommand{\footnoterule}{%
782 \hrule\@width.4\columnwidth
784 \newcommand\@makefntext[1]{\parindent 1em
785 \noindent\hb@xt@ 1.8em{\hss\@makefnmark}#1}
789 \newcount\heisei \heisei\year \advance\heisei-1988\relax
790 \def\pltx@today@year@#1{%
791 \ifnum\numexpr\year-#1=1 元\else
792 \ifnum\ltjgetparameter{direction}=3
793 \kansuji\numexpr\year-#1\relax
795 \number\numexpr\year-#1\relax\nobreak
799 \def\pltx@today@year{%
800 \ifnum\numexpr\year*10000+\month*100+\day<19890108
801 昭和\pltx@today@year@{1925}%
802 \else\ifnum\numexpr\year*10000+\month*100+\day<20190501
803 平成\pltx@today@year@{1988}%
805 令和\pltx@today@year@{2018}%
809 \ifnum\ltjgetparameter{direction}=3 \kansuji\year
810 \else\number\year\nobreak\fi 年
814 \ifnum\ltjgetparameter{direction}=3
818 \number\month\nobreak 月
819 \number\day\nobreak 日
821 \newcommand{\prepartname}{第}
822 \newcommand{\postpartname}{部}
823 \newcommand{\contentsname}{目 次}
824 \newcommand{\listfigurename}{図 目 次}
825 \newcommand{\listtablename}{表 目 次}
826 \newcommand{\refname}{参考文献}
827 \newcommand{\indexname}{索 引}
828 \newcommand{\figurename}{図}
829 \newcommand{\tablename}{表}
830 \newcommand{\appendixname}{付 録}
831 \newcommand{\abstractname}{概 要}
833 \pagenumbering{arabic}
835 \fnfixbottomtrue % 2017-02-19
836 \IfFileExists{stfloats.sty}{\RequirePackage{stfloats}\fnbelowfloat}{}
848 \AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext}
849 \AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext}
852 %% End of file `ltjarticle.cls'.