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/10/08 v1.8-ltj-16
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{mathrmmc}{\@mathrmmctrue}
127 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
128 \DeclareOption{final}{\setlength\overfullrule{0pt}}
129 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
130 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
131 'ltj.jclasses_load_jfm', 1)}
132 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
133 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
134 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
135 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
136 \ltjglobalsetparameter{differentjfm=both}
137 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
138 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final}
139 \ProcessOptions\relax
140 \input{ltjsize1\@ptsize.clo}
141 \def\Cjascale{0.962216}
143 \setlength\columnsep{2\Cwd}
145 \setlength\columnsep{10\p@}
147 \setlength\columnseprule{0\p@}
149 \newlength{\stockwidth}
150 \newlength{\stockheight}
151 \setlength{\stockwidth}{\paperwidth}
152 \setlength{\stockheight}{\paperheight}
153 \advance \stockwidth 2in
154 \advance \stockheight 2in
155 \ifdefined\pdfpagewidth
156 \setlength{\pdfpagewidth}{\stockwidth}
157 \setlength{\pdfpageheight}{\stockheight}
159 \setlength{\pagewidth}{\stockwidth}
160 \setlength{\pageheight}{\stockheight}
163 \ifdefined\pdfpagewidth
164 \setlength{\pdfpagewidth}{\paperwidth}
165 \setlength{\pdfpageheight}{\paperheight}
167 \setlength{\pagewidth}{\paperwidth}
168 \setlength{\pageheight}{\paperheight}
171 \setlength\lineskip{1\p@}
172 \setlength\normallineskip{1\p@}
173 \renewcommand{\baselinestretch}{}
174 \setlength\parskip{0\p@ \@plus \p@}
175 \setlength\parindent{1\Cwd}
179 \setcounter{topnumber}{2}
180 \setcounter{bottomnumber}{1}
181 \setcounter{totalnumber}{3}
182 \setcounter{dbltopnumber}{2}
183 \renewcommand{\topfraction}{.7}
184 \renewcommand{\bottomfraction}{.3}
185 \renewcommand{\textfraction}{.2}
186 \renewcommand{\floatpagefraction}{.5}
187 \renewcommand{\dbltopfraction}{.7}
188 \renewcommand{\dblfloatpagefraction}{.5}
189 \def\pltx@cleartorightpage{\clearpage\if@twoside
190 \unless\ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
191 \hbox{}\thispagestyle{empty}\newpage
192 \if@twocolumn\hbox{}\newpage\fi
194 \def\pltx@cleartoleftpage{\clearpage\if@twoside
195 \ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
196 \hbox{}\thispagestyle{empty}\newpage
197 \if@twocolumn\hbox{}\newpage\fi
199 \def\pltx@cleartooddpage{\clearpage\if@twoside
201 \hbox{}\thispagestyle{empty}\newpage
202 \if@twocolumn\hbox{}\newpage\fi
204 \def\pltx@cleartoevenpage{\clearpage\if@twoside
206 \hbox{}\thispagestyle{empty}\newpage
207 \if@twocolumn\hbox{}\newpage\fi
209 \def\ps@plain{\let\@mkboth\@gobbletwo
210 \let\ps@jpl@in\ps@plain
212 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
213 \let\@evenhead\@empty
214 \let\@evenfoot\@oddfoot}
215 \let\ps@jpl@in\ps@plain
216 \def\ps@headnombre{\let\@mkboth\@gobbletwo
217 \let\ps@jpl@in\ps@headnombre
218 \def\@evenhead{\thepage\hfil}%
219 \def\@oddhead{\hfil\thepage}%
220 \let\@oddfoot\@empty\let\@evenfoot\@empty}
221 \def\ps@footnombre{\let\@mkboth\@gobbletwo
222 \let\ps@jpl@in\ps@footnombre
223 \def\@evenfoot{\thepage\hfil}%
224 \def\@oddfoot{\hfil\thepage}%
225 \let\@oddhead\@empty\let\@evenhead\@empty}
227 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
228 \let\@oddfoot\@empty\let\@evenfoot\@empty
229 \def\@evenhead{\thepage\hfil\leftmark}%
230 \def\@oddhead{{\rightmark}\hfil\thepage}%
231 \let\@mkboth\markboth
232 \def\sectionmark##1{\markboth{%
233 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
235 \def\subsectionmark##1{\markright{%
236 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
239 \else % if not twoside
240 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
242 \def\@oddhead{{\rightmark}\hfil\thepage}%
243 \let\@mkboth\markboth
244 \def\sectionmark##1{\markright{%
245 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
250 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
251 \def\@evenhead{\leftmark\hfil}% right page
252 \def\@evenfoot{\thepage\hfil}% right page
253 \def\@oddhead{\hfil\rightmark}% left page
254 \def\@oddfoot{\hfil\thepage}% left page
255 \let\@mkboth\markboth
256 \def\sectionmark##1{\markboth{%
257 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
259 \def\subsectionmark##1{\markright{%
260 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
263 \else % if one column
264 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
265 \def\@oddhead{\hfil\rightmark}%
266 \def\@oddfoot{\hfil\thepage}%
267 \let\@mkboth\markboth
268 \def\sectionmark##1{\markright{%
269 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
273 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
274 \let\@oddfoot\@empty\let\@evenfoot\@empty
275 \def\@evenhead{\thepage\hfil\leftmark}%
276 \def\@oddhead{{\rightmark}\hfil\thepage}%
277 \let\@mkboth\@gobbletwo
278 \let\sectionmark\@gobble
279 \let\subsectionmark\@gobble
282 \newenvironment{titlepage}
284 \if@twocolumn\@restonecoltrue\onecolumn
285 \else\@restonecolfalse\newpage\fi
286 \thispagestyle{empty}%
289 {\if@restonecol\twocolumn\else\newpage\fi
292 \newenvironment{titlepage}
295 \@restonecoltrue\onecolumn
297 \@restonecolfalse\newpage
299 \thispagestyle{empty}%
300 \ifodd\c@page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017/02/15
302 {\if@restonecol\twocolumn \else \newpage \fi
304 \setcounter{page}\@ne
308 \def\p@thanks#1{\footnotemark
309 \protected@xdef\@thanks{\@thanks
310 \protect{\noindent\hbox{\yoko$\m@th^\thefootnote$}#1\protect\par}}}
312 \newcommand{\maketitle}{\begin{titlepage}%
313 \let\footnotesize\small
314 \let\footnoterule\relax
319 {\LARGE \@title \par}%
323 \begin{tabular}[t]{c}%
327 {\large \@date \par}% % Set date in \large size.
331 \setcounter{footnote}{0}%
332 \global\let\thanks\relax
333 \global\let\maketitle\relax
334 \global\let\p@thanks\relax
335 \global\let\@thanks\@empty
336 \global\let\@author\@empty
337 \global\let\@date\@empty
338 \global\let\@title\@empty
339 \global\let\title\relax
340 \global\let\author\relax
341 \global\let\date\relax
342 \global\let\and\relax
345 \newcommand{\maketitle}{\par
347 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
348 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
349 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
350 \long\def\@makefntext##1{\parindent 1em\noindent
351 \hb@xt@1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
353 \ifnum \col@number=\@ne \@maketitle
354 \else \twocolumn[\@maketitle]%
358 \global\@topnum\z@ % Prevents figures from going at top of page.
361 \thispagestyle{jpl@in}\@thanks
363 \setcounter{footnote}{0}%
364 \global\let\thanks\relax
365 \global\let\maketitle\relax
366 \global\let\@maketitle\relax
367 \global\let\p@thanks\relax
368 \global\let\@thanks\@empty
369 \global\let\@author\@empty
370 \global\let\@date\@empty
371 \global\let\@title\@empty
372 \global\let\title\relax
373 \global\let\author\relax
374 \global\let\date\relax
375 \global\let\and\relax
382 {\LARGE \@title \par}%
386 \begin{tabular}[t]{c}%
395 \newenvironment{abstract}{%
398 \@beginparpenalty\@lowpenalty
400 {\bfseries\abstractname}%
403 {\par\vfil\null\endtitlepage}
405 \newenvironment{abstract}{%
407 \section*{\abstractname}%
411 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
414 \fi}{\if@twocolumn\else\endquotation\fi}
416 \setcounter{secnumdepth}{3}
419 \newcounter{subsection}[section]
420 \newcounter{subsubsection}[subsection]
421 \newcounter{paragraph}[subsubsection]
422 \newcounter{subparagraph}[paragraph]
423 \renewcommand{\thepart}{\@Roman\c@part}
424 \renewcommand{\thesection}{\@arabic\c@section}
425 \renewcommand{\thesubsection}{\thesection.\@arabic\c@subsection}
426 \renewcommand{\thesubsubsection}{%
427 \thesubsection.\@arabic\c@subsubsection}
428 \renewcommand{\theparagraph}{%
429 \thesubsubsection.\@arabic\c@paragraph}
430 \renewcommand{\thesubparagraph}{%
431 \theparagraph.\@arabic\c@subparagraph}
433 \if@noskipsec \leavevmode \fi
436 \secdef\@part\@spart}
438 \ifnum \c@secnumdepth >\m@ne
439 \refstepcounter{part}%
440 \addcontentsline{toc}{part}{%
441 \prepartname\thepart\postpartname\hspace{1\zw}#1}%
443 \addcontentsline{toc}{part}{#1}%
446 {\parindent\z@\raggedright
447 \interlinepenalty\@M\normalfont
448 \ifnum \c@secnumdepth >\m@ne
449 \Large\bfseries\prepartname\thepart\postpartname
452 \huge\bfseries#2\par}%
453 \nobreak\vskip3ex\@afterheading}
455 \parindent\z@\raggedright
456 \interlinepenalty\@M\normalfont
457 \huge\bfseries#1\par}%
458 \nobreak\vskip3ex\@afterheading}
459 \newcommand{\section}{\@startsection{section}{1}{\z@}%
460 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
461 {.5\Cvs \@plus.3\Cvs}%
462 {\normalfont\Large\bfseries}}
463 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
464 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
465 {.5\Cvs \@plus.3\Cvs}%
466 {\normalfont\large\bfseries}}
467 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
468 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
469 {.5\Cvs \@plus.3\Cvs}%
470 {\normalfont\normalsize\bfseries}}
471 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
472 {3.25ex \@plus 1ex \@minus .2ex}%
474 {\normalfont\normalsize\bfseries}}
475 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
476 {3.25ex \@plus 1ex \@minus .2ex}%
478 {\normalfont\normalsize\bfseries}}
479 \newcommand{\appendix}{\par
480 \setcounter{section}{0}%
481 \setcounter{subsection}{0}%
482 \renewcommand{\thesection}{\@Alph\c@section}}
484 \setlength\leftmargini {2em}
486 \setlength\leftmargini {2.5em}
488 \setlength\leftmarginii {2.2em}
489 \setlength\leftmarginiii {1.87em}
490 \setlength\leftmarginiv {1.7em}
492 \setlength\leftmarginv {.5em}
493 \setlength\leftmarginvi{.5em}
495 \setlength\leftmarginv {1em}
496 \setlength\leftmarginvi{1em}
498 \setlength \labelsep {.5em}
499 \setlength \labelwidth{\leftmargini}
500 \addtolength\labelwidth{-\labelsep}
501 \@beginparpenalty -\@lowpenalty
502 \@endparpenalty -\@lowpenalty
503 \@itempenalty -\@lowpenalty
504 \renewcommand{\theenumi}{\@arabic\c@enumi}
505 \renewcommand{\theenumii}{\@alph\c@enumii}
506 \renewcommand{\theenumiii}{\@roman\c@enumiii}
507 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
508 \newcommand{\labelenumi}{\theenumi.}
509 \newcommand{\labelenumii}{(\theenumii)}
510 \newcommand{\labelenumiii}{\theenumiii.}
511 \newcommand{\labelenumiv}{\theenumiv.}
512 \renewcommand{\p@enumii}{\theenumi}
513 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
514 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
515 \renewenvironment{enumerate}
516 {\ifnum \@enumdepth >\thr@@\@toodeep\else
517 \advance\@enumdepth\@ne
518 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
519 \expandafter \list \csname label\@enumctr\endcsname{%
520 \ifnum\ltjgetparameter{direction}=3
521 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
523 \parskip\z@ \itemsep\z@ \parsep\z@
524 \labelwidth1\zw \labelsep.3\zw
525 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
526 \else\leftmargin\leftskip\fi
527 \advance\leftmargin 1\zw
529 \usecounter{\@enumctr}%
530 \def\makelabel##1{\hss\llap{##1}}}%
532 \newcommand{\labelitemi}{\textbullet}
533 \newcommand{\labelitemii}{%
534 \ifnum\ltjgetparameter{direction}=3
537 {\normalfont\bfseries\textendash}
540 \newcommand{\labelitemiii}{\textasteriskcentered}
541 \newcommand{\labelitemiv}{\textperiodcentered}
542 \renewenvironment{itemize}
543 {\ifnum \@itemdepth >\thr@@\@toodeep\else
544 \advance\@itemdepth\@ne
545 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
546 \expandafter \list \csname \@itemitem\endcsname{%
547 \ifnum\ltjgetparameter{direction}=3
548 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
550 \parskip\z@ \itemsep\z@ \parsep\z@
551 \labelwidth1\zw \labelsep.3\zw
552 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
553 \else\leftmargin\leftskip\fi
554 \advance\leftmargin 1\zw
556 \def\makelabel##1{\hss\llap{##1}}}%
558 \newenvironment{description}
559 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
560 \ifnum\ltjgetparameter{direction}=3
561 \leftmargin\leftskip \advance\leftmargin3\Cwd
562 \rightmargin\rightskip
563 \labelsep=1\zw \itemsep\z@
564 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
566 \let\makelabel\descriptionlabel}}{\endlist}
567 \newcommand{\descriptionlabel}[1]{%
568 \hspace\labelsep\normalfont\bfseries #1}
569 \newenvironment{verse}
571 \list{}{\itemsep\z@ \itemindent -1.5em%
572 \listparindent\itemindent
573 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
574 \item\relax}{\endlist}
575 \newenvironment{quotation}
576 {\list{}{\listparindent 1.5em%
577 \itemindent\listparindent
578 \rightmargin\leftmargin
579 \parsep\z@ \@plus\p@}%
580 \item\relax}{\endlist}
581 \newenvironment{quote}
582 {\list{}{\rightmargin\leftmargin}%
583 \item\relax}{\endlist}
585 \renewcommand{\thefigure}{\@arabic\c@figure}
589 \def\fnum@figure{\figurename~\thefigure}
590 \newenvironment{figure}
593 \newenvironment{figure*}
597 \renewcommand{\thetable}{\@arabic\c@table}
601 \def\fnum@table{\tablename~\thetable}
602 \newenvironment{table}
605 \newenvironment{table*}
608 \newlength\abovecaptionskip
609 \newlength\belowcaptionskip
610 \setlength\abovecaptionskip{10\p@}
611 \setlength\belowcaptionskip{0\p@}
612 \long\def\@makecaption#1#2{%
613 \vskip\abovecaptionskip
614 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
615 \else\sbox\@tempboxa{#1: #2}%
617 \ifdim \wd\@tempboxa >\hsize
618 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
619 \else #1: #2\relax\par\fi
621 \global \@minipagefalse
622 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
624 \vskip\belowcaptionskip}
625 \setlength\arraycolsep{5\p@}
626 \setlength\tabcolsep{6\p@}
627 \setlength\arrayrulewidth{.4\p@}
628 \setlength\doublerulesep{2\p@}
629 \setlength\tabbingsep{\labelsep}
630 \skip\@mpfootins = \skip\footins
631 \setlength\fboxsep{3\p@}
632 \setlength\fboxrule{.4\p@}
633 \renewcommand{\theequation}{\@arabic\c@equation}
634 \unless\ifltj@disablejfam
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}
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 \providecommand*\protected@file@percent{}
684 \def\addcontentsline#1#2#3{%
685 \protected@write\@auxout
686 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
687 \@temptokena{\thepage}}%
688 {\string\@writefile{#1}%
689 {\protect\contentsline{#2}{#3}{\the\@temptokena}%
690 \protected@file@percent}}%
692 \newcommand{\tableofcontents}{%
693 \section*{\contentsname
694 \@mkboth{\contentsname}{\contentsname}%
697 \newcommand*{\l@part}[2]{%
698 \ifnum \c@tocdepth >-2\relax
699 \addpenalty{\@secpenalty}%
700 \addvspace{2.25em \@plus\p@}%
702 \parindent\z@\rightskip\@pnumwidth
703 \parfillskip-\@pnumwidth
704 {\leavevmode\large\bfseries
705 \setlength\@lnumwidth{4\zw}%
707 \hb@xt@\@pnumwidth{\hss#2}}\par
711 \everypar{\global\@nobreakfalse\everypar{}}%
715 \newcommand*{\l@section}[2]{%
716 \ifnum \c@tocdepth >\z@
717 \addpenalty{\@secpenalty}%
718 \addvspace{1.0em \@plus\p@}%
720 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
722 \setlength\@lnumwidth{1.5em}%
723 \advance\leftskip\@lnumwidth \hskip-\leftskip
724 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
727 \newcommand*{\l@subsection} {\@dottedtocline{2}{1.5em}{2.3em}}
728 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3.8em}{3.2em}}
729 \newcommand*{\l@paragraph} {\@dottedtocline{4}{7.0em}{4.1em}}
730 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{10em}{5em}}
731 \newcommand{\listoffigures}{%
732 \section*{\listfigurename}%
733 \@mkboth{\listfigurename}{\listfigurename}%
736 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
737 \newcommand{\listoftables}{%
738 \section*{\listtablename}%
739 \@mkboth{\listtablename}{\listtablename}%
742 \let\l@table\l@figure
744 \setlength\bibindent{1.5em}
745 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
746 \newenvironment{thebibliography}[1]
747 {\section*{\refname}\@mkboth{\refname}{\refname}%
748 \list{\@biblabel{\@arabic\c@enumiv}}%
749 {\settowidth\labelwidth{\@biblabel{#1}}%
750 \leftmargin\labelwidth
751 \advance\leftmargin\labelsep
755 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
758 \@clubpenalty\clubpenalty
762 {\@latex@warning{Empty `thebibliography' environment}}%
764 \let\@openbib@code\@empty
765 \newenvironment{theindex}
766 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
767 \twocolumn[\section*{\indexname}]%
768 \@mkboth{\indexname}{\indexname}%
769 \thispagestyle{jpl@in}\parindent\z@
770 \parskip\z@ \@plus .3\p@\relax
771 \columnseprule\z@ \columnsep 35\p@
773 {\if@restonecol\onecolumn\else\clearpage\fi}
774 \newcommand{\@idxitem}{\par\hangindent 40\p@}
775 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
776 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
777 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
778 \renewcommand{\footnoterule}{%
780 \hrule\@width.4\columnwidth
782 \newcommand\@makefntext[1]{\parindent 1em
783 \noindent\hb@xt@ 1.8em{\hss\@makefnmark}#1}
787 \def\pltx@today@year@#1{%
788 \ifnum\numexpr\year-#1=1 元\else
789 \ifnum\ltjgetparameter{direction}=3 \kansuji\numexpr\year-#1\relax
790 \else \number\numexpr\year-#1\relax\nobreak\fi
793 \def\pltx@today@year{%
794 \ifnum\numexpr\year*10000+\month*100+\day<19890108
795 昭和\pltx@today@year@{1925}%
796 \else\ifnum\numexpr\year*10000+\month*100+\day<20190501
797 平成\pltx@today@year@{1988}%
799 令和\pltx@today@year@{2018}%
803 \ifnum\ltjgetparameter{direction}=3 \kansuji\year
804 \else\number\year\nobreak\fi 年
808 \ifnum\ltjgetparameter{direction}=3
812 \number\month\nobreak 月
813 \number\day\nobreak 日
815 \newcommand{\prepartname}{第}
816 \newcommand{\postpartname}{部}
817 \newcommand{\contentsname}{目 次}
818 \newcommand{\listfigurename}{図 目 次}
819 \newcommand{\listtablename}{表 目 次}
820 \newcommand{\refname}{参考文献}
821 \newcommand{\indexname}{索 引}
822 \newcommand{\figurename}{図}
823 \newcommand{\tablename}{表}
824 \newcommand{\appendixname}{付 録}
825 \newcommand{\abstractname}{概 要}
827 \pagenumbering{arabic}
829 \fnfixbottomtrue % 2017-02-19
830 \IfFileExists{stfloats.sty}{\RequirePackage{stfloats}\fnbelowfloat}{}
842 \AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext}
843 \AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext}
846 %% End of file `ltjarticle.cls'.