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 [2022-09-12 v1.8f-ltj-23
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}}
130 \DeclareOption{ptexmin}{\ptexmintrue}%
131 \DeclareOption{disablejfam}{}
132 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,tate}
133 \ProcessOptions\relax
135 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
136 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
137 'ltj.jclasses_load_jfm', 1)}
138 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
139 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
140 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:-kern;jfm=min}{}
141 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:-kern;jfm=min;jfmvar=goth}{}
142 \ltjglobalsetparameter{differentjfm=both}
143 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
145 \input{ltjtsize1\@ptsize.clo}
147 \RequirePackage{lltjext}
148 \def\Cjascale{0.962216}
150 \setlength\columnsep{3\Cwd}
152 \setlength\columnsep{10\p@}
154 \setlength\columnseprule{0\p@}
156 \ifdefined\stockwidth\else\newlength{\stockwidth}\fi
157 \ifdefined\stockheight\else\newlength{\stockheight}\fi
158 \setlength{\stockwidth}{\paperwidth}
159 \setlength{\stockheight}{\paperheight}
160 \advance \stockwidth 2in
161 \advance \stockheight 2in
162 \ifdefined\pdfpagewidth
163 \setlength{\pdfpagewidth}{\stockwidth}
164 \setlength{\pdfpageheight}{\stockheight}
166 \setlength{\pagewidth}{\stockwidth}
167 \setlength{\pageheight}{\stockheight}
170 \ifdefined\pdfpagewidth
171 \setlength{\pdfpagewidth}{\paperwidth}
172 \setlength{\pdfpageheight}{\paperheight}
174 \setlength{\pagewidth}{\paperwidth}
175 \setlength{\pageheight}{\paperheight}
178 \setlength\lineskip{1\p@}
179 \setlength\normallineskip{1\p@}
180 \renewcommand{\baselinestretch}{}
181 \setlength\parskip{0\p@ \@plus \p@}
182 \setlength\parindent{1\Cwd}
186 \setcounter{topnumber}{2}
187 \setcounter{bottomnumber}{1}
188 \setcounter{totalnumber}{3}
189 \setcounter{dbltopnumber}{2}
190 \renewcommand{\topfraction}{.7}
191 \renewcommand{\bottomfraction}{.3}
192 \renewcommand{\textfraction}{.2}
193 \renewcommand{\floatpagefraction}{.5}
194 \renewcommand{\dbltopfraction}{.7}
195 \renewcommand{\dblfloatpagefraction}{.5}
196 \def\pltx@cleartorightpage{\clearpage\if@twoside
197 \unless\ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
198 \hbox{}\thispagestyle{empty}\newpage
199 \if@twocolumn\hbox{}\newpage\fi
201 \def\pltx@cleartoleftpage{\clearpage\if@twoside
202 \ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
203 \hbox{}\thispagestyle{empty}\newpage
204 \if@twocolumn\hbox{}\newpage\fi
206 \def\pltx@cleartooddpage{\clearpage\if@twoside
208 \hbox{}\thispagestyle{empty}\newpage
209 \if@twocolumn\hbox{}\newpage\fi
211 \def\pltx@cleartoevenpage{\clearpage\if@twoside
213 \hbox{}\thispagestyle{empty}\newpage
214 \if@twocolumn\hbox{}\newpage\fi
216 \def\ps@plain{\let\@mkboth\@gobbletwo
217 \let\ps@jpl@in\ps@plain
219 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
220 \let\@evenhead\@empty
221 \let\@evenfoot\@oddfoot}
222 \let\ps@jpl@in\ps@plain
223 \def\ps@headnombre{\let\@mkboth\@gobbletwo
224 \let\ps@jpl@in\ps@headnombre
225 \def\@evenhead{\hfil\thepage}%
226 \def\@oddhead{\thepage\hfil}%
227 \let\@oddfoot\@empty\let\@evenfoot\@empty}
228 \def\ps@footnombre{\let\@mkboth\@gobbletwo
229 \let\ps@jpl@in\ps@footnombre
230 \def\@evenfoot{\hfil\thepage}%
231 \def\@oddfoot{\thepage\hfil}%
232 \let\@oddhead\@empty\let\@evenhead\@empty}
234 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
235 \let\@oddfoot\@empty\let\@evenfoot\@empty
236 \def\@evenhead{{\leftmark}\hfil\thepage}%
237 \def\@oddhead{\thepage\hfil\rightmark}%
238 \let\@mkboth\markboth
239 \def\sectionmark##1{\markboth{%
240 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
242 \def\subsectionmark##1{\markright{%
243 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
246 \else % if not twoside
247 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
249 \def\@oddhead{\thepage\hfil\rightmark}%
250 \let\@mkboth\markboth
251 \def\sectionmark##1{\markright{%
252 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
257 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
258 \def\@evenhead{\hfil\leftmark}% right page
259 \def\@evenfoot{\hfil\thepage}% right page
260 \def\@oddhead{\rightmark\hfil}% left page
261 \def\@oddfoot{\thepage\hfil}% left page
262 \let\@mkboth\markboth
263 \def\sectionmark##1{\markboth{%
264 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
266 \def\subsectionmark##1{\markright{%
267 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
270 \else % if one column
271 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
272 \def\@oddhead{\rightmark\hfil}%
273 \def\@oddfoot{\thepage\hfil}%
274 \let\@mkboth\markboth
275 \def\sectionmark##1{\markright{%
276 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
280 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
281 \let\@oddfoot\@empty\let\@evenfoot\@empty
282 \def\@evenhead{{\leftmark}\hfil\thepage}%
283 \def\@oddhead{\thepage\hfil\rightmark}%
284 \let\@mkboth\@gobbletwo
285 \let\sectionmark\@gobble
286 \let\subsectionmark\@gobble
289 \newenvironment{titlepage}
291 \if@twocolumn\@restonecoltrue\onecolumn
292 \else\@restonecolfalse\newpage\fi
293 \thispagestyle{empty}%
296 {\if@restonecol\twocolumn\else\newpage\fi
299 \newenvironment{titlepage}
302 \@restonecoltrue\onecolumn
304 \@restonecolfalse\newpage
306 \thispagestyle{empty}%
307 \ifodd\c@page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017/02/15
309 {\if@restonecol\twocolumn \else \newpage \fi
311 \setcounter{page}\@ne
315 \def\p@thanks#1{\footnotemark
316 \protected@xdef\@thanks{\@thanks
317 \protect{\noindent\hbox{\yoko$\m@th^\thefootnote$}#1\protect\par}}}
319 \newcommand{\maketitle}{\begin{titlepage}%
320 \let\footnotesize\small
321 \let\footnoterule\relax
324 \vbox to\textheight\bgroup\tate\hsize\textwidth
328 {\LARGE \@title \par}%
332 \begin{tabular}[t]{c}%
336 {\large \@date \par}% % Set date in \large size.
338 \vfil{\centering\@thanks}\vfil\null
341 \setcounter{footnote}{0}%
342 \global\let\thanks\relax
343 \global\let\maketitle\relax
344 \global\let\p@thanks\relax
345 \global\let\@thanks\@empty
346 \global\let\@author\@empty
347 \global\let\@date\@empty
348 \global\let\@title\@empty
349 \global\let\title\relax
350 \global\let\author\relax
351 \global\let\date\relax
352 \global\let\and\relax
355 \newcommand{\maketitle}{\par
357 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
358 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
359 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
360 \long\def\@makefntext##1{\parindent 1\zw\noindent
361 \hb@xt@ 2\zw{\hss\@makefnmark}##1}%
363 \ifnum \col@number=\@ne \@maketitle
364 \else \twocolumn[\@maketitle]%
368 \global\@topnum\z@ % Prevents figures from going at top of page.
371 \thispagestyle{jpl@in}\@thanks
373 \setcounter{footnote}{0}%
374 \global\let\thanks\relax
375 \global\let\maketitle\relax
376 \global\let\@maketitle\relax
377 \global\let\p@thanks\relax
378 \global\let\@thanks\@empty
379 \global\let\@author\@empty
380 \global\let\@date\@empty
381 \global\let\@title\@empty
382 \global\let\title\relax
383 \global\let\author\relax
384 \global\let\date\relax
385 \global\let\and\relax
391 \let\footnote\p@thanks
392 {\LARGE \@title \par}%
396 \begin{tabular}[t]{c}%
405 \newenvironment{abstract}{%
408 \@beginparpenalty\@lowpenalty
410 {\bfseries\abstractname}%
413 {\par\vfil\null\endtitlepage}
415 \newenvironment{abstract}{%
417 \section*{\abstractname}%
421 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
424 \fi}{\if@twocolumn\else\endquotation\fi}
426 \setcounter{secnumdepth}{3}
429 \newcounter{subsection}[section]
430 \newcounter{subsubsection}[subsection]
431 \newcounter{paragraph}[subsubsection]
432 \newcounter{subparagraph}[paragraph]
433 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
434 \renewcommand{\thesection}{\rensuji{\@arabic\c@section}}
435 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
436 \renewcommand{\thesubsubsection}{%
437 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
438 \renewcommand{\theparagraph}{%
439 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
440 \renewcommand{\thesubparagraph}{%
441 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
443 \if@noskipsec \leavevmode \fi
446 \secdef\@part\@spart}
448 \ifnum \c@secnumdepth >\m@ne
449 \refstepcounter{part}%
450 \addcontentsline{toc}{part}{%
451 \prepartname\thepart\postpartname\hspace{1\zw}#1}%
453 \addcontentsline{toc}{part}{#1}%
456 {\parindent\z@\raggedright
457 \interlinepenalty\@M\normalfont
458 \ifnum \c@secnumdepth >\m@ne
459 \Large\bfseries\prepartname\thepart\postpartname
462 \huge\bfseries#2\par}%
463 \nobreak\vskip3ex\@afterheading}
465 \parindent\z@\raggedright
466 \interlinepenalty\@M\normalfont
467 \huge\bfseries#1\par}%
468 \nobreak\vskip3ex\@afterheading}
469 \newcommand{\section}{\@startsection{section}{1}{\z@}%
470 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
471 {.5\Cvs \@plus.3\Cvs}%
472 {\normalfont\Large\bfseries}}
473 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
474 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
475 {.5\Cvs \@plus.3\Cvs}%
476 {\normalfont\large\bfseries}}
477 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
478 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
479 {.5\Cvs \@plus.3\Cvs}%
480 {\normalfont\normalsize\bfseries}}
481 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
482 {3.25ex \@plus 1ex \@minus .2ex}%
484 {\normalfont\normalsize\bfseries}}
485 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
486 {3.25ex \@plus 1ex \@minus .2ex}%
488 {\normalfont\normalsize\bfseries}}
489 \newcommand{\appendix}{\par
490 \setcounter{section}{0}%
491 \setcounter{subsection}{0}%
492 \renewcommand{\thesection}{\rensuji{\@Alph\c@section}}}
494 \setlength\leftmargini {2em}
496 \setlength\leftmargini {2.5em}
498 \setlength\leftmarginii {2.2em}
499 \setlength\leftmarginiii {1.87em}
500 \setlength\leftmarginiv {1.7em}
502 \setlength\leftmarginv {.5em}
503 \setlength\leftmarginvi{.5em}
505 \setlength\leftmarginv {1em}
506 \setlength\leftmarginvi{1em}
508 \setlength \labelsep {.5em}
509 \setlength \labelwidth{\leftmargini}
510 \addtolength\labelwidth{-\labelsep}
511 \@beginparpenalty -\@lowpenalty
512 \@endparpenalty -\@lowpenalty
513 \@itempenalty -\@lowpenalty
514 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
515 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
516 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
517 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
518 \newcommand{\labelenumi}{\theenumi}
519 \newcommand{\labelenumii}{\theenumii}
520 \newcommand{\labelenumiii}{\theenumiii}
521 \newcommand{\labelenumiv}{\theenumiv}
522 \renewcommand{\p@enumii}{\theenumi}
523 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
524 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
525 \renewenvironment{enumerate}
526 {\ifnum \@enumdepth >\thr@@\@toodeep\else
527 \advance\@enumdepth\@ne
528 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
529 \expandafter \list \csname label\@enumctr\endcsname{%
530 \ifnum\ltjgetparameter{direction}=3
531 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
533 \parskip\z@ \itemsep\z@ \parsep\z@
534 \labelwidth1\zw \labelsep.3\zw
535 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
536 \else\leftmargin\leftskip\fi
537 \advance\leftmargin 1\zw
539 \usecounter{\@enumctr}%
540 \def\makelabel##1{\hss\llap{##1}}}%
542 \newcommand{\labelitemi}{\labelitemfont \textbullet}
543 \newcommand{\labelitemii}{%
544 \ifnum\ltjgetparameter{direction}=3
545 {\labelitemfont \textcircled{~}}
547 {\labelitemfont \bfseries\textendash}
550 \newcommand{\labelitemiii}{\labelitemfont \textasteriskcentered}
551 \newcommand{\labelitemiv}{\labelitemfont \textperiodcentered}
552 \newcommand\labelitemfont{\normalfont}
553 \renewenvironment{itemize}
554 {\ifnum \@itemdepth >\thr@@\@toodeep\else
555 \advance\@itemdepth\@ne
556 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
557 \expandafter \list \csname \@itemitem\endcsname{%
558 \ifnum\ltjgetparameter{direction}=3
559 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
561 \parskip\z@ \itemsep\z@ \parsep\z@
562 \labelwidth1\zw \labelsep.3\zw
563 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
564 \else\leftmargin\leftskip\fi
565 \advance\leftmargin 1\zw
567 \def\makelabel##1{\hss\llap{##1}}}%
569 \newenvironment{description}
570 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
571 \ifnum\ltjgetparameter{direction}=3
572 \leftmargin\leftskip \advance\leftmargin3\Cwd
573 \rightmargin\rightskip
574 \labelsep=1\zw \itemsep\z@
575 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
577 \let\makelabel\descriptionlabel}}{\endlist}
578 \newcommand{\descriptionlabel}[1]{%
579 \hspace\labelsep\normalfont\bfseries #1}
580 \newenvironment{verse}
582 \list{}{\itemsep\z@ \itemindent -1.5em%
583 \listparindent\itemindent
584 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
585 \item\relax}{\endlist}
586 \newenvironment{quotation}
587 {\list{}{\listparindent 1.5em%
588 \itemindent\listparindent
589 \rightmargin\leftmargin
590 \parsep\z@ \@plus\p@}%
591 \item\relax}{\endlist}
592 \newenvironment{quote}
593 {\list{}{\rightmargin\leftmargin}%
594 \item\relax}{\endlist}
596 \renewcommand{\thefigure}{\rensuji{\@arabic\c@figure}}
600 \def\fnum@figure{\figurename\thefigure}
601 \newenvironment{figure}
604 \newenvironment{figure*}
608 \renewcommand{\thetable}{\rensuji{\@arabic\c@table}}
612 \def\fnum@table{\tablename\thetable}
613 \newenvironment{table}
616 \newenvironment{table*}
619 \newlength\abovecaptionskip
620 \newlength\belowcaptionskip
621 \setlength\abovecaptionskip{10\p@}
622 \setlength\belowcaptionskip{0\p@}
623 \long\def\@makecaption#1#2{%
624 \vskip\abovecaptionskip
625 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
626 \else\sbox\@tempboxa{#1: #2}%
628 \ifdim \wd\@tempboxa >\hsize
629 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
630 \else #1: #2\relax\par\fi
632 \global \@minipagefalse
633 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
635 \vskip\belowcaptionskip}
636 \setlength\arraycolsep{5\p@}
637 \setlength\tabcolsep{6\p@}
638 \setlength\arrayrulewidth{.4\p@}
639 \setlength\doublerulesep{2\p@}
640 \setlength\tabbingsep{\labelsep}
641 \skip\@mpfootins = \skip\footins
642 \setlength\fboxsep{3\p@}
643 \setlength\fboxrule{.4\p@}
644 \renewcommand{\theequation}{\@arabic\c@equation}
645 \unless\ifltj@disablejfam
646 \if@compatibility\else
647 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
648 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
649 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
651 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
655 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
656 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
660 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
661 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
662 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
663 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
664 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
665 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
666 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
667 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
668 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
669 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
670 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
671 \setcounter{tocdepth}{3}
672 \newcommand{\@pnumwidth}{1.55em}
673 \newcommand{\@tocrmarg}{2.55em}
674 \newcommand{\@dotsep}{4.5}
675 \newdimen\toclineskip
676 \setlength\toclineskip{2\p@}
678 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
679 \def\@dottedtocline#1#2#3#4#5{%
680 \ifnum #1>\c@tocdepth \else
681 \vskip\toclineskip \@plus.2\p@
682 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
683 \parindent #2\relax\@afterindenttrue
687 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
689 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
691 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
694 \providecommand*\protected@file@percent{}
695 \def\addcontentsline#1#2#3{%
696 \protected@write\@auxout
697 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
698 \@temptokena{\rensuji{\thepage}}%
699 }{\string\@writefile{#1}%
700 {\protect\contentsline{#2}{#3}{\the\@temptokena}{}%
701 \protected@file@percent}}%
703 \newcommand{\tableofcontents}{%
704 \section*{\contentsname
705 \@mkboth{\contentsname}{\contentsname}%
708 \newcommand*{\l@part}[2]{%
709 \ifnum \c@tocdepth >-2\relax
710 \addpenalty{\@secpenalty}%
711 \addvspace{2.25em \@plus\p@}%
713 \parindent\z@\rightskip\@pnumwidth
714 \parfillskip-\@pnumwidth
715 {\leavevmode\large\bfseries
716 \setlength\@lnumwidth{4\zw}%
718 \hb@xt@\@pnumwidth{\hss#2}}\par
722 \everypar{\global\@nobreakfalse\everypar{}}%
726 \newcommand*{\l@section}[2]{%
727 \ifnum \c@tocdepth >\z@
728 \addpenalty{\@secpenalty}%
729 \addvspace{1.0em \@plus\p@}%
731 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
733 \setlength\@lnumwidth{1.5em}%
734 \advance\leftskip\@lnumwidth \hskip-\leftskip
735 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
738 \newcommand*{\l@subsection} {\@dottedtocline{2}{1\zw}{4\zw}}
739 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{2\zw}{6\zw}}
740 \newcommand*{\l@paragraph} {\@dottedtocline{4}{3\zw}{8\zw}}
741 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{4\zw}{9\zw}}
742 \newcommand{\listoffigures}{%
743 \section*{\listfigurename}%
744 \@mkboth{\listfigurename}{\listfigurename}%
747 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
748 \newcommand{\listoftables}{%
749 \section*{\listtablename}%
750 \@mkboth{\listtablename}{\listtablename}%
753 \let\l@table\l@figure
755 \setlength\bibindent{1.5em}
756 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
757 \newenvironment{thebibliography}[1]
758 {\section*{\refname}\@mkboth{\refname}{\refname}%
759 \list{\@biblabel{\@arabic\c@enumiv}}%
760 {\settowidth\labelwidth{\@biblabel{#1}}%
761 \leftmargin\labelwidth
762 \advance\leftmargin\labelsep
766 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
769 \@clubpenalty\clubpenalty
773 {\@latex@warning{Empty `thebibliography' environment}}%
775 \let\@openbib@code\@empty
776 \newenvironment{theindex}
777 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
778 \twocolumn[\section*{\indexname}]%
779 \@mkboth{\indexname}{\indexname}%
780 \thispagestyle{jpl@in}\parindent\z@
781 \parskip\z@ \@plus .3\p@\relax
782 \columnseprule\z@ \columnsep 35\p@
784 {\if@restonecol\onecolumn\else\clearpage\fi}
785 \newcommand{\@idxitem}{\par\hangindent 40\p@}
786 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
787 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
788 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
789 \renewcommand{\footnoterule}{%
791 \hrule\@width.4\columnwidth
793 \newcommand\@makefntext[1]{\parindent 1\zw
794 \noindent\hb@xt@ 2\zw{\hss\@makefnmark}#1}
798 \newcount\heisei \heisei\year \advance\heisei-1988\relax
799 \def\pltx@today@year@#1{%
800 \ifnum\numexpr\year-#1=1 元\else
801 \ifnum\ltjgetparameter{direction}=3
802 \kansuji\numexpr\year-#1\relax
804 \number\numexpr\year-#1\relax\nobreak
808 \def\pltx@today@year{%
809 \ifnum\numexpr\year*10000+\month*100+\day<19890108
810 昭和\pltx@today@year@{1925}%
811 \else\ifnum\numexpr\year*10000+\month*100+\day<20190501
812 平成\pltx@today@year@{1988}%
814 令和\pltx@today@year@{2018}%
818 \ifnum\ltjgetparameter{direction}=3 \kansuji\year
819 \else\number\year\nobreak\fi 年
823 \ifnum\ltjgetparameter{direction}=3
827 \number\month\nobreak 月
828 \number\day\nobreak 日
830 \newcommand{\prepartname}{第}
831 \newcommand{\postpartname}{部}
832 \newcommand{\contentsname}{目 次}
833 \newcommand{\listfigurename}{図 目 次}
834 \newcommand{\listtablename}{表 目 次}
835 \newcommand{\refname}{参考文献}
836 \newcommand{\indexname}{索 引}
837 \newcommand{\figurename}{図}
838 \newcommand{\tablename}{表}
839 \newcommand{\appendixname}{付 録}
840 \newcommand{\abstractname}{概 要}
842 \pagenumbering{arabic}
844 \fnfixbottomtrue % 2017-02-19
845 \IfFileExists{stfloats.sty}{\RequirePackage{stfloats}\fnbelowfloat}{}
854 \ltj@ExecuteBeforePackage*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext}
855 \ltj@ExecuteAfterPackage*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext}
858 %% End of file `ltjtarticle.cls'.