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 [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 \AtEndOfPackageFile{everyshi}{%
106 \def\@EveryShipout@Output{%
110 \@EveryShipout@AtNextHook
111 \global\setbox\luatexoutputbox=\box\luatexoutputbox
113 \gdef\@EveryShipout@AtNextHook{}%
114 \@EveryShipout@Org@Shipout\box\luatexoutputbox
116 \DeclareOption{oneside}{\@twosidefalse}
117 \DeclareOption{twoside}{\@twosidetrue}
118 \DeclareOption{onecolumn}{\@twocolumnfalse}
119 \DeclareOption{twocolumn}{\@twocolumntrue}
120 \DeclareOption{titlepage}{\@titlepagetrue}
121 \DeclareOption{notitlepage}{\@titlepagefalse}
122 \DeclareOption{leqno}{\input{leqno.clo}}
123 \DeclareOption{fleqn}{\input{fleqn.clo}}
124 \DeclareOption{openbib}{%
126 \renewcommand\@openbib@code{%
127 \advance\leftmargin\bibindent
128 \itemindent -\bibindent
129 \listparindent \itemindent
132 \renewcommand\newblock{\par}}}
136 \DeclareOption{mathrmmc}{\@mathrmmctrue}
138 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
139 \DeclareOption{final}{\setlength\overfullrule{0pt}}
140 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
141 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
142 'ltj.jclasses_load_jfm', 1)}
143 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
144 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
145 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
146 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
147 \ltjglobalsetparameter{differentjfm=both}
148 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
149 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,tate}
150 \ProcessOptions\relax
151 \input{ltjtsize1\@ptsize.clo}
152 \RequirePackage{lltjext}
153 \def\Cjascale{0.962216}
155 \setlength\columnsep{3\Cwd}
157 \setlength\columnsep{10\p@}
159 \setlength\columnseprule{0\p@}
161 \newlength{\stockwidth}
162 \newlength{\stockheight}
163 \setlength{\stockwidth}{\paperwidth}
164 \setlength{\stockheight}{\paperheight}
165 \advance \stockwidth 2in
166 \advance \stockheight 2in
167 \ifdefined\pdfpagewidth
168 \setlength{\pdfpagewidth}{\stockwidth}
169 \setlength{\pdfpageheight}{\stockheight}
171 \setlength{\pagewidth}{\stockwidth}
172 \setlength{\pageheight}{\stockheight}
175 \ifdefined\pdfpagewidth
176 \setlength{\pdfpagewidth}{\paperwidth}
177 \setlength{\pdfpageheight}{\paperheight}
179 \setlength{\pagewidth}{\paperwidth}
180 \setlength{\pageheight}{\paperheight}
183 \setlength\lineskip{1\p@}
184 \setlength\normallineskip{1\p@}
185 \renewcommand{\baselinestretch}{}
186 \setlength\parskip{0\p@ \@plus \p@}
187 \setlength\parindent{1\Cwd}
191 \setcounter{topnumber}{2}
192 \setcounter{bottomnumber}{1}
193 \setcounter{totalnumber}{3}
194 \setcounter{dbltopnumber}{2}
195 \renewcommand{\topfraction}{.7}
196 \renewcommand{\bottomfraction}{.3}
197 \renewcommand{\textfraction}{.2}
198 \renewcommand{\floatpagefraction}{.5}
199 \renewcommand{\dbltopfraction}{.7}
200 \renewcommand{\dblfloatpagefraction}{.5}
201 \def\pltx@cleartorightpage{\clearpage\if@twoside
202 \unless\ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
203 \hbox{}\thispagestyle{empty}\newpage
204 \if@twocolumn\hbox{}\newpage\fi
206 \def\pltx@cleartoleftpage{\clearpage\if@twoside
207 \ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
208 \hbox{}\thispagestyle{empty}\newpage
209 \if@twocolumn\hbox{}\newpage\fi
211 \def\pltx@cleartooddpage{\clearpage\if@twoside
213 \hbox{}\thispagestyle{empty}\newpage
214 \if@twocolumn\hbox{}\newpage\fi
216 \def\pltx@cleartoevenpage{\clearpage\if@twoside
218 \hbox{}\thispagestyle{empty}\newpage
219 \if@twocolumn\hbox{}\newpage\fi
221 \def\ps@plain{\let\@mkboth\@gobbletwo
222 \let\ps@jpl@in\ps@plain
224 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
225 \let\@evenhead\@empty
226 \let\@evenfoot\@oddfoot}
227 \let\ps@jpl@in\ps@plain
228 \def\ps@headnombre{\let\@mkboth\@gobbletwo
229 \let\ps@jpl@in\ps@headnombre
230 \def\@evenhead{\hfil\thepage}%
231 \def\@oddhead{\thepage\hfil}%
232 \let\@oddfoot\@empty\let\@evenfoot\@empty}
233 \def\ps@footnombre{\let\@mkboth\@gobbletwo
234 \let\ps@jpl@in\ps@footnombre
235 \def\@evenfoot{\hfil\thepage}%
236 \def\@oddfoot{\thepage\hfil}%
237 \let\@oddhead\@empty\let\@evenhead\@empty}
239 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
240 \let\@oddfoot\@empty\let\@evenfoot\@empty
241 \def\@evenhead{{\leftmark}\hfil\thepage}%
242 \def\@oddhead{\thepage\hfil\rightmark}%
243 \let\@mkboth\markboth
244 \def\sectionmark##1{\markboth{%
245 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
247 \def\subsectionmark##1{\markright{%
248 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
251 \else % if not twoside
252 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
254 \def\@oddhead{\thepage\hfil\rightmark}%
255 \let\@mkboth\markboth
256 \def\sectionmark##1{\markright{%
257 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
262 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
263 \def\@evenhead{\hfil\leftmark}% right page
264 \def\@evenfoot{\hfil\thepage}% right page
265 \def\@oddhead{\rightmark\hfil}% left page
266 \def\@oddfoot{\thepage\hfil}% left page
267 \let\@mkboth\markboth
268 \def\sectionmark##1{\markboth{%
269 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
271 \def\subsectionmark##1{\markright{%
272 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
275 \else % if one column
276 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
277 \def\@oddhead{\rightmark\hfil}%
278 \def\@oddfoot{\thepage\hfil}%
279 \let\@mkboth\markboth
280 \def\sectionmark##1{\markright{%
281 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
285 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
286 \let\@oddfoot\@empty\let\@evenfoot\@empty
287 \def\@evenhead{{\leftmark}\hfil\thepage}%
288 \def\@oddhead{\thepage\hfil\rightmark}%
289 \let\@mkboth\@gobbletwo
290 \let\sectionmark\@gobble
291 \let\subsectionmark\@gobble
294 \newenvironment{titlepage}
296 \if@twocolumn\@restonecoltrue\onecolumn
297 \else\@restonecolfalse\newpage\fi
298 \thispagestyle{empty}%
301 {\if@restonecol\twocolumn\else\newpage\fi
304 \newenvironment{titlepage}
307 \@restonecoltrue\onecolumn
309 \@restonecolfalse\newpage
311 \thispagestyle{empty}%
312 \ifodd\c@page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017/02/15
314 {\if@restonecol\twocolumn \else \newpage \fi
316 \setcounter{page}\@ne
320 \def\p@thanks#1{\footnotemark
321 \protected@xdef\@thanks{\@thanks
322 \protect{\noindent\hbox{\yoko$\m@th^\thefootnote$}#1\protect\par}}}
324 \newcommand{\maketitle}{\begin{titlepage}%
325 \let\footnotesize\small
326 \let\footnoterule\relax
329 \vbox to\textheight\bgroup\tate\hsize\textwidth
333 {\LARGE \@title \par}%
337 \begin{tabular}[t]{c}%
341 {\large \@date \par}% % Set date in \large size.
343 \vfil{\centering\@thanks}\vfil\null
346 \setcounter{footnote}{0}%
347 \global\let\thanks\relax
348 \global\let\maketitle\relax
349 \global\let\p@thanks\relax
350 \global\let\@thanks\@empty
351 \global\let\@author\@empty
352 \global\let\@date\@empty
353 \global\let\@title\@empty
354 \global\let\title\relax
355 \global\let\author\relax
356 \global\let\date\relax
357 \global\let\and\relax
360 \newcommand{\maketitle}{\par
362 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
363 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
364 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
365 \long\def\@makefntext##1{\parindent 1\zw\noindent
366 \hb@xt@ 2\zw{\hss\@makefnmark}##1}%
368 \ifnum \col@number=\@ne \@maketitle
369 \else \twocolumn[\@maketitle]%
373 \global\@topnum\z@ % Prevents figures from going at top of page.
376 \thispagestyle{jpl@in}\@thanks
378 \setcounter{footnote}{0}%
379 \global\let\thanks\relax
380 \global\let\maketitle\relax
381 \global\let\@maketitle\relax
382 \global\let\p@thanks\relax
383 \global\let\@thanks\@empty
384 \global\let\@author\@empty
385 \global\let\@date\@empty
386 \global\let\@title\@empty
387 \global\let\title\relax
388 \global\let\author\relax
389 \global\let\date\relax
390 \global\let\and\relax
396 \let\footnote\p@thanks
397 {\LARGE \@title \par}%
401 \begin{tabular}[t]{c}%
410 \newenvironment{abstract}{%
413 \@beginparpenalty\@lowpenalty
415 {\bfseries\abstractname}%
418 {\par\vfil\null\endtitlepage}
420 \newenvironment{abstract}{%
422 \section*{\abstractname}%
426 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
429 \fi}{\if@twocolumn\else\endquotation\fi}
431 \setcounter{secnumdepth}{3}
434 \newcounter{subsection}[section]
435 \newcounter{subsubsection}[subsection]
436 \newcounter{paragraph}[subsubsection]
437 \newcounter{subparagraph}[paragraph]
438 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
439 \renewcommand{\thesection}{\rensuji{\@arabic\c@section}}
440 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
441 \renewcommand{\thesubsubsection}{%
442 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
443 \renewcommand{\theparagraph}{%
444 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
445 \renewcommand{\thesubparagraph}{%
446 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
448 \if@noskipsec \leavevmode \fi
451 \secdef\@part\@spart}
453 \ifnum \c@secnumdepth >\m@ne
454 \refstepcounter{part}%
455 \addcontentsline{toc}{part}{%
456 \prepartname\thepart\postpartname\hspace{1\zw}#1}%
458 \addcontentsline{toc}{part}{#1}%
461 {\parindent\z@\raggedright
462 \interlinepenalty\@M\normalfont
463 \ifnum \c@secnumdepth >\m@ne
464 \Large\bfseries\prepartname\thepart\postpartname
467 \huge\bfseries#2\par}%
468 \nobreak\vskip3ex\@afterheading}
470 \parindent\z@\raggedright
471 \interlinepenalty\@M\normalfont
472 \huge\bfseries#1\par}%
473 \nobreak\vskip3ex\@afterheading}
474 \newcommand{\section}{\@startsection{section}{1}{\z@}%
475 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
476 {.5\Cvs \@plus.3\Cvs}%
477 {\normalfont\Large\bfseries}}
478 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
479 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
480 {.5\Cvs \@plus.3\Cvs}%
481 {\normalfont\large\bfseries}}
482 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
483 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
484 {.5\Cvs \@plus.3\Cvs}%
485 {\normalfont\normalsize\bfseries}}
486 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
487 {3.25ex \@plus 1ex \@minus .2ex}%
489 {\normalfont\normalsize\bfseries}}
490 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
491 {3.25ex \@plus 1ex \@minus .2ex}%
493 {\normalfont\normalsize\bfseries}}
494 \newcommand{\appendix}{\par
495 \setcounter{section}{0}%
496 \setcounter{subsection}{0}%
497 \renewcommand{\thesection}{\rensuji{\@Alph\c@section}}}
499 \setlength\leftmargini {2em}
501 \setlength\leftmargini {2.5em}
503 \setlength\leftmarginii {2.2em}
504 \setlength\leftmarginiii {1.87em}
505 \setlength\leftmarginiv {1.7em}
507 \setlength\leftmarginv {.5em}
508 \setlength\leftmarginvi{.5em}
510 \setlength\leftmarginv {1em}
511 \setlength\leftmarginvi{1em}
513 \setlength \labelsep {.5em}
514 \setlength \labelwidth{\leftmargini}
515 \addtolength\labelwidth{-\labelsep}
516 \@beginparpenalty -\@lowpenalty
517 \@endparpenalty -\@lowpenalty
518 \@itempenalty -\@lowpenalty
519 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
520 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
521 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
522 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
523 \newcommand{\labelenumi}{\theenumi}
524 \newcommand{\labelenumii}{\theenumii}
525 \newcommand{\labelenumiii}{\theenumiii}
526 \newcommand{\labelenumiv}{\theenumiv}
527 \renewcommand{\p@enumii}{\theenumi}
528 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
529 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
530 \renewenvironment{enumerate}
531 {\ifnum \@enumdepth >\thr@@\@toodeep\else
532 \advance\@enumdepth\@ne
533 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
534 \expandafter \list \csname label\@enumctr\endcsname{%
535 \ifnum\ltjgetparameter{direction}=3
536 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
538 \parskip\z@ \itemsep\z@ \parsep\z@
539 \labelwidth1\zw \labelsep.3\zw
540 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
541 \else\leftmargin\leftskip\fi
542 \advance\leftmargin 1\zw
544 \usecounter{\@enumctr}%
545 \def\makelabel##1{\hss\llap{##1}}}%
547 \newcommand{\labelitemi}{\textbullet}
548 \newcommand{\labelitemii}{%
549 \ifnum\ltjgetparameter{direction}=3
552 {\normalfont\bfseries\textendash}
555 \newcommand{\labelitemiii}{\textasteriskcentered}
556 \newcommand{\labelitemiv}{\textperiodcentered}
557 \renewenvironment{itemize}
558 {\ifnum \@itemdepth >\thr@@\@toodeep\else
559 \advance\@itemdepth\@ne
560 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
561 \expandafter \list \csname \@itemitem\endcsname{%
562 \ifnum\ltjgetparameter{direction}=3
563 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
565 \parskip\z@ \itemsep\z@ \parsep\z@
566 \labelwidth1\zw \labelsep.3\zw
567 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
568 \else\leftmargin\leftskip\fi
569 \advance\leftmargin 1\zw
571 \def\makelabel##1{\hss\llap{##1}}}%
573 \newenvironment{description}
574 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
575 \ifnum\ltjgetparameter{direction}=3
576 \leftmargin\leftskip \advance\leftmargin3\Cwd
577 \rightmargin\rightskip
578 \labelsep=1\zw \itemsep\z@
579 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
581 \let\makelabel\descriptionlabel}}{\endlist}
582 \newcommand{\descriptionlabel}[1]{%
583 \hspace\labelsep\normalfont\bfseries #1}
584 \newenvironment{verse}
586 \list{}{\itemsep\z@ \itemindent -1.5em%
587 \listparindent\itemindent
588 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
589 \item\relax}{\endlist}
590 \newenvironment{quotation}
591 {\list{}{\listparindent 1.5em%
592 \itemindent\listparindent
593 \rightmargin\leftmargin
594 \parsep\z@ \@plus\p@}%
595 \item\relax}{\endlist}
596 \newenvironment{quote}
597 {\list{}{\rightmargin\leftmargin}%
598 \item\relax}{\endlist}
600 \renewcommand{\thefigure}{\rensuji{\@arabic\c@figure}}
604 \def\fnum@figure{\figurename\thefigure}
605 \newenvironment{figure}
608 \newenvironment{figure*}
612 \renewcommand{\thetable}{\rensuji{\@arabic\c@table}}
616 \def\fnum@table{\tablename\thetable}
617 \newenvironment{table}
620 \newenvironment{table*}
623 \newlength\abovecaptionskip
624 \newlength\belowcaptionskip
625 \setlength\abovecaptionskip{10\p@}
626 \setlength\belowcaptionskip{0\p@}
627 \long\def\@makecaption#1#2{%
628 \vskip\abovecaptionskip
629 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
630 \else\sbox\@tempboxa{#1: #2}%
632 \ifdim \wd\@tempboxa >\hsize
633 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
634 \else #1: #2\relax\par\fi
636 \global \@minipagefalse
637 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
639 \vskip\belowcaptionskip}
640 \setlength\arraycolsep{5\p@}
641 \setlength\tabcolsep{6\p@}
642 \setlength\arrayrulewidth{.4\p@}
643 \setlength\doublerulesep{2\p@}
644 \setlength\tabbingsep{\labelsep}
645 \skip\@mpfootins = \skip\footins
646 \setlength\fboxsep{3\p@}
647 \setlength\fboxrule{.4\p@}
648 \renewcommand{\theequation}{\@arabic\c@equation}
649 \unless\ifltj@disablejfam
650 \if@compatibility\else
651 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
652 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
653 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
655 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
659 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
660 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
664 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
665 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
666 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
667 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
668 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
669 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
670 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
671 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
672 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
673 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
674 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
675 \setcounter{tocdepth}{3}
676 \newcommand{\@pnumwidth}{1.55em}
677 \newcommand{\@tocrmarg}{2.55em}
678 \newcommand{\@dotsep}{4.5}
679 \newdimen\toclineskip
680 \setlength\toclineskip{2\p@}
682 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
683 \def\@dottedtocline#1#2#3#4#5{%
684 \ifnum #1>\c@tocdepth \else
685 \vskip\toclineskip \@plus.2\p@
686 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
687 \parindent #2\relax\@afterindenttrue
691 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
693 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
695 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
698 \providecommand*\protected@file@percent{}
699 \def\addcontentsline#1#2#3{%
700 \protected@write\@auxout
701 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
702 \@temptokena{\rensuji{\thepage}}}%
703 {\string\@writefile{#1}%
704 {\protect\contentsline{#2}{#3}{\the\@temptokena}%
705 \protected@file@percent}}%
707 \newcommand{\tableofcontents}{%
708 \section*{\contentsname
709 \@mkboth{\contentsname}{\contentsname}%
712 \newcommand*{\l@part}[2]{%
713 \ifnum \c@tocdepth >-2\relax
714 \addpenalty{\@secpenalty}%
715 \addvspace{2.25em \@plus\p@}%
717 \parindent\z@\rightskip\@pnumwidth
718 \parfillskip-\@pnumwidth
719 {\leavevmode\large\bfseries
720 \setlength\@lnumwidth{4\zw}%
722 \hb@xt@\@pnumwidth{\hss#2}}\par
726 \everypar{\global\@nobreakfalse\everypar{}}%
730 \newcommand*{\l@section}[2]{%
731 \ifnum \c@tocdepth >\z@
732 \addpenalty{\@secpenalty}%
733 \addvspace{1.0em \@plus\p@}%
735 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
737 \setlength\@lnumwidth{1.5em}%
738 \advance\leftskip\@lnumwidth \hskip-\leftskip
739 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
742 \newcommand*{\l@subsection} {\@dottedtocline{2}{1\zw}{4\zw}}
743 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{2\zw}{6\zw}}
744 \newcommand*{\l@paragraph} {\@dottedtocline{4}{3\zw}{8\zw}}
745 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{4\zw}{9\zw}}
746 \newcommand{\listoffigures}{%
747 \section*{\listfigurename}%
748 \@mkboth{\listfigurename}{\listfigurename}%
751 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
752 \newcommand{\listoftables}{%
753 \section*{\listtablename}%
754 \@mkboth{\listtablename}{\listtablename}%
757 \let\l@table\l@figure
759 \setlength\bibindent{1.5em}
760 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
761 \newenvironment{thebibliography}[1]
762 {\section*{\refname}\@mkboth{\refname}{\refname}%
763 \list{\@biblabel{\@arabic\c@enumiv}}%
764 {\settowidth\labelwidth{\@biblabel{#1}}%
765 \leftmargin\labelwidth
766 \advance\leftmargin\labelsep
770 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
773 \@clubpenalty\clubpenalty
777 {\@latex@warning{Empty `thebibliography' environment}}%
779 \let\@openbib@code\@empty
780 \newenvironment{theindex}
781 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
782 \twocolumn[\section*{\indexname}]%
783 \@mkboth{\indexname}{\indexname}%
784 \thispagestyle{jpl@in}\parindent\z@
785 \parskip\z@ \@plus .3\p@\relax
786 \columnseprule\z@ \columnsep 35\p@
788 {\if@restonecol\onecolumn\else\clearpage\fi}
789 \newcommand{\@idxitem}{\par\hangindent 40\p@}
790 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
791 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
792 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
793 \renewcommand{\footnoterule}{%
795 \hrule\@width.4\columnwidth
797 \newcommand\@makefntext[1]{\parindent 1\zw
798 \noindent\hb@xt@ 2\zw{\hss\@makefnmark}#1}
802 \newcount\heisei \heisei\year \advance\heisei-1988\relax
804 \ifnum\ltjgetparameter{direction}=3
810 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
820 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
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'.