2 %% This is file `ltjtarticle.cls',
3 %% generated with the docstrip utility.
5 %% The original source files were:
7 %% ltjclasses.dtx (with options: `article,tate')
11 %% For the copyright see the source file.
13 %% Any modified versions of this file must be renamed
14 %% with new filenames distinct from ltjtarticle.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{ltjtarticle}
26 [2020/01/13 v1.8e-ltj-17
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 \DeclareOption{disablejfam}{}
139 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,tate}
140 \ProcessOptions\relax
141 \input{ltjtsize1\@ptsize.clo}
142 \RequirePackage{lltjext}
143 \def\Cjascale{0.962216}
145 \setlength\columnsep{3\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{\hfil\thepage}%
221 \def\@oddhead{\thepage\hfil}%
222 \let\@oddfoot\@empty\let\@evenfoot\@empty}
223 \def\ps@footnombre{\let\@mkboth\@gobbletwo
224 \let\ps@jpl@in\ps@footnombre
225 \def\@evenfoot{\hfil\thepage}%
226 \def\@oddfoot{\thepage\hfil}%
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{{\leftmark}\hfil\thepage}%
232 \def\@oddhead{\thepage\hfil\rightmark}%
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{\thepage\hfil\rightmark}%
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{\hfil\leftmark}% right page
254 \def\@evenfoot{\hfil\thepage}% right page
255 \def\@oddhead{\rightmark\hfil}% left page
256 \def\@oddfoot{\thepage\hfil}% 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{\rightmark\hfil}%
268 \def\@oddfoot{\thepage\hfil}%
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{{\leftmark}\hfil\thepage}%
278 \def\@oddhead{\thepage\hfil\rightmark}%
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
319 \vbox to\textheight\bgroup\tate\hsize\textwidth
323 {\LARGE \@title \par}%
327 \begin{tabular}[t]{c}%
331 {\large \@date \par}% % Set date in \large size.
333 \vfil{\centering\@thanks}\vfil\null
336 \setcounter{footnote}{0}%
337 \global\let\thanks\relax
338 \global\let\maketitle\relax
339 \global\let\p@thanks\relax
340 \global\let\@thanks\@empty
341 \global\let\@author\@empty
342 \global\let\@date\@empty
343 \global\let\@title\@empty
344 \global\let\title\relax
345 \global\let\author\relax
346 \global\let\date\relax
347 \global\let\and\relax
350 \newcommand{\maketitle}{\par
352 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
353 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
354 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
355 \long\def\@makefntext##1{\parindent 1\zw\noindent
356 \hb@xt@ 2\zw{\hss\@makefnmark}##1}%
358 \ifnum \col@number=\@ne \@maketitle
359 \else \twocolumn[\@maketitle]%
363 \global\@topnum\z@ % Prevents figures from going at top of page.
366 \thispagestyle{jpl@in}\@thanks
368 \setcounter{footnote}{0}%
369 \global\let\thanks\relax
370 \global\let\maketitle\relax
371 \global\let\@maketitle\relax
372 \global\let\p@thanks\relax
373 \global\let\@thanks\@empty
374 \global\let\@author\@empty
375 \global\let\@date\@empty
376 \global\let\@title\@empty
377 \global\let\title\relax
378 \global\let\author\relax
379 \global\let\date\relax
380 \global\let\and\relax
386 \let\footnote\p@thanks
387 {\LARGE \@title \par}%
391 \begin{tabular}[t]{c}%
400 \newenvironment{abstract}{%
403 \@beginparpenalty\@lowpenalty
405 {\bfseries\abstractname}%
408 {\par\vfil\null\endtitlepage}
410 \newenvironment{abstract}{%
412 \section*{\abstractname}%
416 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
419 \fi}{\if@twocolumn\else\endquotation\fi}
421 \setcounter{secnumdepth}{3}
424 \newcounter{subsection}[section]
425 \newcounter{subsubsection}[subsection]
426 \newcounter{paragraph}[subsubsection]
427 \newcounter{subparagraph}[paragraph]
428 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
429 \renewcommand{\thesection}{\rensuji{\@arabic\c@section}}
430 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
431 \renewcommand{\thesubsubsection}{%
432 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
433 \renewcommand{\theparagraph}{%
434 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
435 \renewcommand{\thesubparagraph}{%
436 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
438 \if@noskipsec \leavevmode \fi
441 \secdef\@part\@spart}
443 \ifnum \c@secnumdepth >\m@ne
444 \refstepcounter{part}%
445 \addcontentsline{toc}{part}{%
446 \prepartname\thepart\postpartname\hspace{1\zw}#1}%
448 \addcontentsline{toc}{part}{#1}%
451 {\parindent\z@\raggedright
452 \interlinepenalty\@M\normalfont
453 \ifnum \c@secnumdepth >\m@ne
454 \Large\bfseries\prepartname\thepart\postpartname
457 \huge\bfseries#2\par}%
458 \nobreak\vskip3ex\@afterheading}
460 \parindent\z@\raggedright
461 \interlinepenalty\@M\normalfont
462 \huge\bfseries#1\par}%
463 \nobreak\vskip3ex\@afterheading}
464 \newcommand{\section}{\@startsection{section}{1}{\z@}%
465 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
466 {.5\Cvs \@plus.3\Cvs}%
467 {\normalfont\Large\bfseries}}
468 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
469 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
470 {.5\Cvs \@plus.3\Cvs}%
471 {\normalfont\large\bfseries}}
472 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
473 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
474 {.5\Cvs \@plus.3\Cvs}%
475 {\normalfont\normalsize\bfseries}}
476 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
477 {3.25ex \@plus 1ex \@minus .2ex}%
479 {\normalfont\normalsize\bfseries}}
480 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
481 {3.25ex \@plus 1ex \@minus .2ex}%
483 {\normalfont\normalsize\bfseries}}
484 \newcommand{\appendix}{\par
485 \setcounter{section}{0}%
486 \setcounter{subsection}{0}%
487 \renewcommand{\thesection}{\rensuji{\@Alph\c@section}}}
489 \setlength\leftmargini {2em}
491 \setlength\leftmargini {2.5em}
493 \setlength\leftmarginii {2.2em}
494 \setlength\leftmarginiii {1.87em}
495 \setlength\leftmarginiv {1.7em}
497 \setlength\leftmarginv {.5em}
498 \setlength\leftmarginvi{.5em}
500 \setlength\leftmarginv {1em}
501 \setlength\leftmarginvi{1em}
503 \setlength \labelsep {.5em}
504 \setlength \labelwidth{\leftmargini}
505 \addtolength\labelwidth{-\labelsep}
506 \@beginparpenalty -\@lowpenalty
507 \@endparpenalty -\@lowpenalty
508 \@itempenalty -\@lowpenalty
509 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
510 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
511 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
512 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
513 \newcommand{\labelenumi}{\theenumi}
514 \newcommand{\labelenumii}{\theenumii}
515 \newcommand{\labelenumiii}{\theenumiii}
516 \newcommand{\labelenumiv}{\theenumiv}
517 \renewcommand{\p@enumii}{\theenumi}
518 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
519 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
520 \renewenvironment{enumerate}
521 {\ifnum \@enumdepth >\thr@@\@toodeep\else
522 \advance\@enumdepth\@ne
523 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
524 \expandafter \list \csname label\@enumctr\endcsname{%
525 \ifnum\ltjgetparameter{direction}=3
526 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
528 \parskip\z@ \itemsep\z@ \parsep\z@
529 \labelwidth1\zw \labelsep.3\zw
530 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
531 \else\leftmargin\leftskip\fi
532 \advance\leftmargin 1\zw
534 \usecounter{\@enumctr}%
535 \def\makelabel##1{\hss\llap{##1}}}%
537 \newcommand{\labelitemi}{\labelitemfont \textbullet}
538 \newcommand{\labelitemii}{%
539 \ifnum\ltjgetparameter{direction}=3
540 {\labelitemfont \textcircled{~}}
542 {\labelitemfont \bfseries\textendash}
545 \newcommand{\labelitemiii}{\labelitemfont \textasteriskcentered}
546 \newcommand{\labelitemiv}{\labelitemfont \textperiodcentered}
547 \newcommand\labelitemfont{\normalfont}
548 \renewenvironment{itemize}
549 {\ifnum \@itemdepth >\thr@@\@toodeep\else
550 \advance\@itemdepth\@ne
551 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
552 \expandafter \list \csname \@itemitem\endcsname{%
553 \ifnum\ltjgetparameter{direction}=3
554 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
556 \parskip\z@ \itemsep\z@ \parsep\z@
557 \labelwidth1\zw \labelsep.3\zw
558 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
559 \else\leftmargin\leftskip\fi
560 \advance\leftmargin 1\zw
562 \def\makelabel##1{\hss\llap{##1}}}%
564 \newenvironment{description}
565 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
566 \ifnum\ltjgetparameter{direction}=3
567 \leftmargin\leftskip \advance\leftmargin3\Cwd
568 \rightmargin\rightskip
569 \labelsep=1\zw \itemsep\z@
570 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
572 \let\makelabel\descriptionlabel}}{\endlist}
573 \newcommand{\descriptionlabel}[1]{%
574 \hspace\labelsep\normalfont\bfseries #1}
575 \newenvironment{verse}
577 \list{}{\itemsep\z@ \itemindent -1.5em%
578 \listparindent\itemindent
579 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
580 \item\relax}{\endlist}
581 \newenvironment{quotation}
582 {\list{}{\listparindent 1.5em%
583 \itemindent\listparindent
584 \rightmargin\leftmargin
585 \parsep\z@ \@plus\p@}%
586 \item\relax}{\endlist}
587 \newenvironment{quote}
588 {\list{}{\rightmargin\leftmargin}%
589 \item\relax}{\endlist}
591 \renewcommand{\thefigure}{\rensuji{\@arabic\c@figure}}
595 \def\fnum@figure{\figurename\thefigure}
596 \newenvironment{figure}
599 \newenvironment{figure*}
603 \renewcommand{\thetable}{\rensuji{\@arabic\c@table}}
607 \def\fnum@table{\tablename\thetable}
608 \newenvironment{table}
611 \newenvironment{table*}
614 \newlength\abovecaptionskip
615 \newlength\belowcaptionskip
616 \setlength\abovecaptionskip{10\p@}
617 \setlength\belowcaptionskip{0\p@}
618 \long\def\@makecaption#1#2{%
619 \vskip\abovecaptionskip
620 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
621 \else\sbox\@tempboxa{#1: #2}%
623 \ifdim \wd\@tempboxa >\hsize
624 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
625 \else #1: #2\relax\par\fi
627 \global \@minipagefalse
628 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
630 \vskip\belowcaptionskip}
631 \setlength\arraycolsep{5\p@}
632 \setlength\tabcolsep{6\p@}
633 \setlength\arrayrulewidth{.4\p@}
634 \setlength\doublerulesep{2\p@}
635 \setlength\tabbingsep{\labelsep}
636 \skip\@mpfootins = \skip\footins
637 \setlength\fboxsep{3\p@}
638 \setlength\fboxrule{.4\p@}
639 \renewcommand{\theequation}{\@arabic\c@equation}
640 \unless\ifltj@disablejfam
641 \if@compatibility\else
642 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
643 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
644 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
646 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
650 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
651 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
655 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
656 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
657 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
658 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
659 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
660 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
661 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
662 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
663 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
664 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
665 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
666 \setcounter{tocdepth}{3}
667 \newcommand{\@pnumwidth}{1.55em}
668 \newcommand{\@tocrmarg}{2.55em}
669 \newcommand{\@dotsep}{4.5}
670 \newdimen\toclineskip
671 \setlength\toclineskip{2\p@}
673 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
674 \def\@dottedtocline#1#2#3#4#5{%
675 \ifnum #1>\c@tocdepth \else
676 \vskip\toclineskip \@plus.2\p@
677 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
678 \parindent #2\relax\@afterindenttrue
682 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
684 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
686 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
689 \providecommand*\protected@file@percent{}
690 \def\addcontentsline#1#2#3{%
691 \protected@write\@auxout
692 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
693 \@temptokena{\rensuji{\thepage}}}%
694 {\string\@writefile{#1}%
695 {\protect\contentsline{#2}{#3}{\the\@temptokena}%
696 \protected@file@percent}}%
698 \newcommand{\tableofcontents}{%
699 \section*{\contentsname
700 \@mkboth{\contentsname}{\contentsname}%
703 \newcommand*{\l@part}[2]{%
704 \ifnum \c@tocdepth >-2\relax
705 \addpenalty{\@secpenalty}%
706 \addvspace{2.25em \@plus\p@}%
708 \parindent\z@\rightskip\@pnumwidth
709 \parfillskip-\@pnumwidth
710 {\leavevmode\large\bfseries
711 \setlength\@lnumwidth{4\zw}%
713 \hb@xt@\@pnumwidth{\hss#2}}\par
717 \everypar{\global\@nobreakfalse\everypar{}}%
721 \newcommand*{\l@section}[2]{%
722 \ifnum \c@tocdepth >\z@
723 \addpenalty{\@secpenalty}%
724 \addvspace{1.0em \@plus\p@}%
726 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
728 \setlength\@lnumwidth{1.5em}%
729 \advance\leftskip\@lnumwidth \hskip-\leftskip
730 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
733 \newcommand*{\l@subsection} {\@dottedtocline{2}{1\zw}{4\zw}}
734 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{2\zw}{6\zw}}
735 \newcommand*{\l@paragraph} {\@dottedtocline{4}{3\zw}{8\zw}}
736 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{4\zw}{9\zw}}
737 \newcommand{\listoffigures}{%
738 \section*{\listfigurename}%
739 \@mkboth{\listfigurename}{\listfigurename}%
742 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
743 \newcommand{\listoftables}{%
744 \section*{\listtablename}%
745 \@mkboth{\listtablename}{\listtablename}%
748 \let\l@table\l@figure
750 \setlength\bibindent{1.5em}
751 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
752 \newenvironment{thebibliography}[1]
753 {\section*{\refname}\@mkboth{\refname}{\refname}%
754 \list{\@biblabel{\@arabic\c@enumiv}}%
755 {\settowidth\labelwidth{\@biblabel{#1}}%
756 \leftmargin\labelwidth
757 \advance\leftmargin\labelsep
761 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
764 \@clubpenalty\clubpenalty
768 {\@latex@warning{Empty `thebibliography' environment}}%
770 \let\@openbib@code\@empty
771 \newenvironment{theindex}
772 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
773 \twocolumn[\section*{\indexname}]%
774 \@mkboth{\indexname}{\indexname}%
775 \thispagestyle{jpl@in}\parindent\z@
776 \parskip\z@ \@plus .3\p@\relax
777 \columnseprule\z@ \columnsep 35\p@
779 {\if@restonecol\onecolumn\else\clearpage\fi}
780 \newcommand{\@idxitem}{\par\hangindent 40\p@}
781 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
782 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
783 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
784 \renewcommand{\footnoterule}{%
786 \hrule\@width.4\columnwidth
788 \newcommand\@makefntext[1]{\parindent 1\zw
789 \noindent\hb@xt@ 2\zw{\hss\@makefnmark}#1}
793 \newcount\heisei \heisei\year \advance\heisei-1988\relax
794 \def\pltx@today@year@#1{%
795 \ifnum\numexpr\year-#1=1 元\else
796 \ifnum\ltjgetparameter{direction}=3
797 \kansuji\numexpr\year-#1\relax
799 \number\numexpr\year-#1\relax\nobreak
803 \def\pltx@today@year{%
804 \ifnum\numexpr\year*10000+\month*100+\day<19890108
805 昭和\pltx@today@year@{1925}%
806 \else\ifnum\numexpr\year*10000+\month*100+\day<20190501
807 平成\pltx@today@year@{1988}%
809 令和\pltx@today@year@{2018}%
813 \ifnum\ltjgetparameter{direction}=3 \kansuji\year
814 \else\number\year\nobreak\fi 年
818 \ifnum\ltjgetparameter{direction}=3
822 \number\month\nobreak 月
823 \number\day\nobreak 日
825 \newcommand{\prepartname}{第}
826 \newcommand{\postpartname}{部}
827 \newcommand{\contentsname}{目 次}
828 \newcommand{\listfigurename}{図 目 次}
829 \newcommand{\listtablename}{表 目 次}
830 \newcommand{\refname}{参考文献}
831 \newcommand{\indexname}{索 引}
832 \newcommand{\figurename}{図}
833 \newcommand{\tablename}{表}
834 \newcommand{\appendixname}{付 録}
835 \newcommand{\abstractname}{概 要}
837 \pagenumbering{arabic}
839 \fnfixbottomtrue % 2017-02-19
840 \IfFileExists{stfloats.sty}{\RequirePackage{stfloats}\fnbelowfloat}{}
849 \AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext}
850 \AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext}
853 %% End of file `ltjtarticle.cls'.