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/02/04 v1.7h-ltj-15
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{disablejfam}{%
137 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
138 \DeclareOption{mathrmmc}{\@mathrmmctrue}
140 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
141 \DeclareOption{final}{\setlength\overfullrule{0pt}}
142 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
143 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
144 'ltj.jclasses_load_jfm', 1)}
145 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
146 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
147 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
148 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
149 \ltjglobalsetparameter{differentjfm=both}
150 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
151 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,tate}
152 \ProcessOptions\relax
153 \input{ltjtsize1\@ptsize.clo}
154 \RequirePackage{lltjext}
155 \def\Cjascale{0.962216}
157 \setlength\columnsep{3\Cwd}
159 \setlength\columnsep{10\p@}
161 \setlength\columnseprule{0\p@}
163 \newlength{\stockwidth}
164 \newlength{\stockheight}
165 \setlength{\stockwidth}{\paperwidth}
166 \setlength{\stockheight}{\paperheight}
167 \advance \stockwidth 2in
168 \advance \stockheight 2in
169 \ifdefined\pdfpagewidth
170 \setlength{\pdfpagewidth}{\stockwidth}
171 \setlength{\pdfpageheight}{\stockheight}
173 \setlength{\pagewidth}{\stockwidth}
174 \setlength{\pageheight}{\stockheight}
177 \ifdefined\pdfpagewidth
178 \setlength{\pdfpagewidth}{\paperwidth}
179 \setlength{\pdfpageheight}{\paperheight}
181 \setlength{\pagewidth}{\paperwidth}
182 \setlength{\pageheight}{\paperheight}
185 \setlength\lineskip{1\p@}
186 \setlength\normallineskip{1\p@}
187 \renewcommand{\baselinestretch}{}
188 \setlength\parskip{0\p@ \@plus \p@}
189 \setlength\parindent{1\Cwd}
193 \setcounter{topnumber}{2}
194 \setcounter{bottomnumber}{1}
195 \setcounter{totalnumber}{3}
196 \setcounter{dbltopnumber}{2}
197 \renewcommand{\topfraction}{.7}
198 \renewcommand{\bottomfraction}{.3}
199 \renewcommand{\textfraction}{.2}
200 \renewcommand{\floatpagefraction}{.5}
201 \renewcommand{\dbltopfraction}{.7}
202 \renewcommand{\dblfloatpagefraction}{.5}
203 \def\pltx@cleartorightpage{\clearpage\if@twoside
204 \unless\ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
205 \hbox{}\thispagestyle{empty}\newpage
206 \if@twocolumn\hbox{}\newpage\fi
208 \def\pltx@cleartoleftpage{\clearpage\if@twoside
209 \ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
210 \hbox{}\thispagestyle{empty}\newpage
211 \if@twocolumn\hbox{}\newpage\fi
213 \def\pltx@cleartooddpage{\clearpage\if@twoside
215 \hbox{}\thispagestyle{empty}\newpage
216 \if@twocolumn\hbox{}\newpage\fi
218 \def\pltx@cleartoevenpage{\clearpage\if@twoside
220 \hbox{}\thispagestyle{empty}\newpage
221 \if@twocolumn\hbox{}\newpage\fi
223 \def\ps@plain{\let\@mkboth\@gobbletwo
224 \let\ps@jpl@in\ps@plain
226 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
227 \let\@evenhead\@empty
228 \let\@evenfoot\@oddfoot}
229 \let\ps@jpl@in\ps@plain
230 \def\ps@headnombre{\let\@mkboth\@gobbletwo
231 \let\ps@jpl@in\ps@headnombre
232 \def\@evenhead{\hfil\thepage}%
233 \def\@oddhead{\thepage\hfil}%
234 \let\@oddfoot\@empty\let\@evenfoot\@empty}
235 \def\ps@footnombre{\let\@mkboth\@gobbletwo
236 \let\ps@jpl@in\ps@footnombre
237 \def\@evenfoot{\hfil\thepage}%
238 \def\@oddfoot{\thepage\hfil}%
239 \let\@oddhead\@empty\let\@evenhead\@empty}
241 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
242 \let\@oddfoot\@empty\let\@evenfoot\@empty
243 \def\@evenhead{{\leftmark}\hfil\thepage}%
244 \def\@oddhead{\thepage\hfil\rightmark}%
245 \let\@mkboth\markboth
246 \def\sectionmark##1{\markboth{%
247 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
249 \def\subsectionmark##1{\markright{%
250 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
253 \else % if not twoside
254 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
256 \def\@oddhead{\thepage\hfil\rightmark}%
257 \let\@mkboth\markboth
258 \def\sectionmark##1{\markright{%
259 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
264 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
265 \def\@evenhead{\hfil\leftmark}% right page
266 \def\@evenfoot{\hfil\thepage}% right page
267 \def\@oddhead{\rightmark\hfil}% left page
268 \def\@oddfoot{\thepage\hfil}% left page
269 \let\@mkboth\markboth
270 \def\sectionmark##1{\markboth{%
271 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
273 \def\subsectionmark##1{\markright{%
274 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
277 \else % if one column
278 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
279 \def\@oddhead{\rightmark\hfil}%
280 \def\@oddfoot{\thepage\hfil}%
281 \let\@mkboth\markboth
282 \def\sectionmark##1{\markright{%
283 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
287 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
288 \let\@oddfoot\@empty\let\@evenfoot\@empty
289 \def\@evenhead{{\leftmark}\hfil\thepage}%
290 \def\@oddhead{\thepage\hfil\rightmark}%
291 \let\@mkboth\@gobbletwo
292 \let\sectionmark\@gobble
293 \let\subsectionmark\@gobble
296 \newenvironment{titlepage}
298 \if@twocolumn\@restonecoltrue\onecolumn
299 \else\@restonecolfalse\newpage\fi
300 \thispagestyle{empty}%
303 {\if@restonecol\twocolumn\else\newpage\fi
306 \newenvironment{titlepage}
309 \@restonecoltrue\onecolumn
311 \@restonecolfalse\newpage
313 \thispagestyle{empty}%
314 \ifodd\c@page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017/02/15
316 {\if@restonecol\twocolumn \else \newpage \fi
318 \setcounter{page}\@ne
322 \def\p@thanks#1{\footnotemark
323 \protected@xdef\@thanks{\@thanks
324 \protect{\noindent\hbox{\yoko$\m@th^\thefootnote$}#1\protect\par}}}
326 \newcommand{\maketitle}{\begin{titlepage}%
327 \let\footnotesize\small
328 \let\footnoterule\relax
331 \vbox to\textheight\bgroup\tate\hsize\textwidth
335 {\LARGE \@title \par}%
339 \begin{tabular}[t]{c}%
343 {\large \@date \par}% % Set date in \large size.
345 \vfil{\centering\@thanks}\vfil\null
348 \setcounter{footnote}{0}%
349 \global\let\thanks\relax
350 \global\let\maketitle\relax
351 \global\let\p@thanks\relax
352 \global\let\@thanks\@empty
353 \global\let\@author\@empty
354 \global\let\@date\@empty
355 \global\let\@title\@empty
356 \global\let\title\relax
357 \global\let\author\relax
358 \global\let\date\relax
359 \global\let\and\relax
362 \newcommand{\maketitle}{\par
364 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
365 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
366 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
367 \long\def\@makefntext##1{\parindent 1\zw\noindent
368 \hb@xt@ 2\zw{\hss\@makefnmark}##1}%
370 \ifnum \col@number=\@ne \@maketitle
371 \else \twocolumn[\@maketitle]%
375 \global\@topnum\z@ % Prevents figures from going at top of page.
378 \thispagestyle{jpl@in}\@thanks
380 \setcounter{footnote}{0}%
381 \global\let\thanks\relax
382 \global\let\maketitle\relax
383 \global\let\@maketitle\relax
384 \global\let\p@thanks\relax
385 \global\let\@thanks\@empty
386 \global\let\@author\@empty
387 \global\let\@date\@empty
388 \global\let\@title\@empty
389 \global\let\title\relax
390 \global\let\author\relax
391 \global\let\date\relax
392 \global\let\and\relax
398 \let\footnote\p@thanks
399 {\LARGE \@title \par}%
403 \begin{tabular}[t]{c}%
412 \newenvironment{abstract}{%
415 \@beginparpenalty\@lowpenalty
417 {\bfseries\abstractname}%
420 {\par\vfil\null\endtitlepage}
422 \newenvironment{abstract}{%
424 \section*{\abstractname}%
428 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
431 \fi}{\if@twocolumn\else\endquotation\fi}
433 \setcounter{secnumdepth}{3}
436 \newcounter{subsection}[section]
437 \newcounter{subsubsection}[subsection]
438 \newcounter{paragraph}[subsubsection]
439 \newcounter{subparagraph}[paragraph]
440 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
441 \renewcommand{\thesection}{\rensuji{\@arabic\c@section}}
442 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
443 \renewcommand{\thesubsubsection}{%
444 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
445 \renewcommand{\theparagraph}{%
446 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
447 \renewcommand{\thesubparagraph}{%
448 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
450 \if@noskipsec \leavevmode \fi
453 \secdef\@part\@spart}
455 \ifnum \c@secnumdepth >\m@ne
456 \refstepcounter{part}%
457 \addcontentsline{toc}{part}{%
458 \prepartname\thepart\postpartname\hspace{1\zw}#1}%
460 \addcontentsline{toc}{part}{#1}%
463 {\parindent\z@\raggedright
464 \interlinepenalty\@M\normalfont
465 \ifnum \c@secnumdepth >\m@ne
466 \Large\bfseries\prepartname\thepart\postpartname
469 \huge\bfseries#2\par}%
470 \nobreak\vskip3ex\@afterheading}
472 \parindent\z@\raggedright
473 \interlinepenalty\@M\normalfont
474 \huge\bfseries#1\par}%
475 \nobreak\vskip3ex\@afterheading}
476 \newcommand{\section}{\@startsection{section}{1}{\z@}%
477 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
478 {.5\Cvs \@plus.3\Cvs}%
479 {\normalfont\Large\bfseries}}
480 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
481 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
482 {.5\Cvs \@plus.3\Cvs}%
483 {\normalfont\large\bfseries}}
484 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
485 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
486 {.5\Cvs \@plus.3\Cvs}%
487 {\normalfont\normalsize\bfseries}}
488 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
489 {3.25ex \@plus 1ex \@minus .2ex}%
491 {\normalfont\normalsize\bfseries}}
492 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
493 {3.25ex \@plus 1ex \@minus .2ex}%
495 {\normalfont\normalsize\bfseries}}
496 \newcommand{\appendix}{\par
497 \setcounter{section}{0}%
498 \setcounter{subsection}{0}%
499 \renewcommand{\thesection}{\rensuji{\@Alph\c@section}}}
501 \setlength\leftmargini {2em}
503 \setlength\leftmargini {2.5em}
505 \setlength\leftmarginii {2.2em}
506 \setlength\leftmarginiii {1.87em}
507 \setlength\leftmarginiv {1.7em}
509 \setlength\leftmarginv {.5em}
510 \setlength\leftmarginvi{.5em}
512 \setlength\leftmarginv {1em}
513 \setlength\leftmarginvi{1em}
515 \setlength \labelsep {.5em}
516 \setlength \labelwidth{\leftmargini}
517 \addtolength\labelwidth{-\labelsep}
518 \@beginparpenalty -\@lowpenalty
519 \@endparpenalty -\@lowpenalty
520 \@itempenalty -\@lowpenalty
521 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
522 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
523 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
524 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
525 \newcommand{\labelenumi}{\theenumi}
526 \newcommand{\labelenumii}{\theenumii}
527 \newcommand{\labelenumiii}{\theenumiii}
528 \newcommand{\labelenumiv}{\theenumiv}
529 \renewcommand{\p@enumii}{\theenumi}
530 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
531 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
532 \renewenvironment{enumerate}
533 {\ifnum \@enumdepth >\thr@@\@toodeep\else
534 \advance\@enumdepth\@ne
535 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
536 \expandafter \list \csname label\@enumctr\endcsname{%
537 \ifnum\ltjgetparameter{direction}=3
538 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
540 \parskip\z@ \itemsep\z@ \parsep\z@
541 \labelwidth1\zw \labelsep.3\zw
542 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
543 \else\leftmargin\leftskip\fi
544 \advance\leftmargin 1\zw
546 \usecounter{\@enumctr}%
547 \def\makelabel##1{\hss\llap{##1}}}%
549 \newcommand{\labelitemi}{\textbullet}
550 \newcommand{\labelitemii}{%
551 \ifnum\ltjgetparameter{direction}=3
554 {\normalfont\bfseries\textendash}
557 \newcommand{\labelitemiii}{\textasteriskcentered}
558 \newcommand{\labelitemiv}{\textperiodcentered}
559 \renewenvironment{itemize}
560 {\ifnum \@itemdepth >\thr@@\@toodeep\else
561 \advance\@itemdepth\@ne
562 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
563 \expandafter \list \csname \@itemitem\endcsname{%
564 \ifnum\ltjgetparameter{direction}=3
565 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
567 \parskip\z@ \itemsep\z@ \parsep\z@
568 \labelwidth1\zw \labelsep.3\zw
569 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
570 \else\leftmargin\leftskip\fi
571 \advance\leftmargin 1\zw
573 \def\makelabel##1{\hss\llap{##1}}}%
575 \newenvironment{description}
576 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
577 \ifnum\ltjgetparameter{direction}=3
578 \leftmargin\leftskip \advance\leftmargin3\Cwd
579 \rightmargin\rightskip
580 \labelsep=1\zw \itemsep\z@
581 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
583 \let\makelabel\descriptionlabel}}{\endlist}
584 \newcommand{\descriptionlabel}[1]{%
585 \hspace\labelsep\normalfont\bfseries #1}
586 \newenvironment{verse}
588 \list{}{\itemsep\z@ \itemindent -1.5em%
589 \listparindent\itemindent
590 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
591 \item\relax}{\endlist}
592 \newenvironment{quotation}
593 {\list{}{\listparindent 1.5em%
594 \itemindent\listparindent
595 \rightmargin\leftmargin
596 \parsep\z@ \@plus\p@}%
597 \item\relax}{\endlist}
598 \newenvironment{quote}
599 {\list{}{\rightmargin\leftmargin}%
600 \item\relax}{\endlist}
602 \renewcommand{\thefigure}{\rensuji{\@arabic\c@figure}}
606 \def\fnum@figure{\figurename\thefigure}
607 \newenvironment{figure}
610 \newenvironment{figure*}
614 \renewcommand{\thetable}{\rensuji{\@arabic\c@table}}
618 \def\fnum@table{\tablename\thetable}
619 \newenvironment{table}
622 \newenvironment{table*}
625 \newlength\abovecaptionskip
626 \newlength\belowcaptionskip
627 \setlength\abovecaptionskip{10\p@}
628 \setlength\belowcaptionskip{0\p@}
629 \long\def\@makecaption#1#2{%
630 \vskip\abovecaptionskip
631 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
632 \else\sbox\@tempboxa{#1: #2}%
634 \ifdim \wd\@tempboxa >\hsize
635 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
636 \else #1: #2\relax\par\fi
638 \global \@minipagefalse
639 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
641 \vskip\belowcaptionskip}
642 \setlength\arraycolsep{5\p@}
643 \setlength\tabcolsep{6\p@}
644 \setlength\arrayrulewidth{.4\p@}
645 \setlength\doublerulesep{2\p@}
646 \setlength\tabbingsep{\labelsep}
647 \skip\@mpfootins = \skip\footins
648 \setlength\fboxsep{3\p@}
649 \setlength\fboxrule{.4\p@}
650 \renewcommand{\theequation}{\@arabic\c@equation}
651 \if@compatibility\else
652 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
653 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
654 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
656 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
660 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
661 \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 \def\addcontentsline#1#2#3{%
699 \protected@write\@auxout
700 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
701 \@temptokena{\rensuji{\thepage}}}%
702 {\string\@writefile{#1}%
703 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
705 \newcommand{\tableofcontents}{%
706 \section*{\contentsname
707 \@mkboth{\contentsname}{\contentsname}%
710 \newcommand*{\l@part}[2]{%
711 \ifnum \c@tocdepth >-2\relax
712 \addpenalty{\@secpenalty}%
713 \addvspace{2.25em \@plus\p@}%
715 \parindent\z@\rightskip\@pnumwidth
716 \parfillskip-\@pnumwidth
717 {\leavevmode\large\bfseries
718 \setlength\@lnumwidth{4\zw}%
720 \hb@xt@\@pnumwidth{\hss#2}}\par
724 \everypar{\global\@nobreakfalse\everypar{}}%
728 \newcommand*{\l@section}[2]{%
729 \ifnum \c@tocdepth >\z@
730 \addpenalty{\@secpenalty}%
731 \addvspace{1.0em \@plus\p@}%
733 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
735 \setlength\@lnumwidth{1.5em}%
736 \advance\leftskip\@lnumwidth \hskip-\leftskip
737 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
740 \newcommand*{\l@subsection} {\@dottedtocline{2}{1\zw}{4\zw}}
741 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{2\zw}{6\zw}}
742 \newcommand*{\l@paragraph} {\@dottedtocline{4}{3\zw}{8\zw}}
743 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{4\zw}{9\zw}}
744 \newcommand{\listoffigures}{%
745 \section*{\listfigurename}%
746 \@mkboth{\listfigurename}{\listfigurename}%
749 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
750 \newcommand{\listoftables}{%
751 \section*{\listtablename}%
752 \@mkboth{\listtablename}{\listtablename}%
755 \let\l@table\l@figure
757 \setlength\bibindent{1.5em}
758 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
759 \newenvironment{thebibliography}[1]
760 {\section*{\refname}\@mkboth{\refname}{\refname}%
761 \list{\@biblabel{\@arabic\c@enumiv}}%
762 {\settowidth\labelwidth{\@biblabel{#1}}%
763 \leftmargin\labelwidth
764 \advance\leftmargin\labelsep
768 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
771 \@clubpenalty\clubpenalty
775 {\@latex@warning{Empty `thebibliography' environment}}%
777 \let\@openbib@code\@empty
778 \newenvironment{theindex}
779 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
780 \twocolumn[\section*{\indexname}]%
781 \@mkboth{\indexname}{\indexname}%
782 \thispagestyle{jpl@in}\parindent\z@
783 \parskip\z@ \@plus .3\p@\relax
784 \columnseprule\z@ \columnsep 35\p@
786 {\if@restonecol\onecolumn\else\clearpage\fi}
787 \newcommand{\@idxitem}{\par\hangindent 40\p@}
788 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
789 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
790 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
791 \renewcommand{\footnoterule}{%
793 \hrule\@width.4\columnwidth
795 \newcommand\@makefntext[1]{\parindent 1\zw
796 \noindent\hb@xt@ 2\zw{\hss\@makefnmark}#1}
800 \newcount\heisei \heisei\year \advance\heisei-1988\relax
802 \ifnum\ltjgetparameter{direction}=3
808 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
818 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
823 \newcommand{\prepartname}{第}
824 \newcommand{\postpartname}{部}
825 \newcommand{\contentsname}{目 次}
826 \newcommand{\listfigurename}{図 目 次}
827 \newcommand{\listtablename}{表 目 次}
828 \newcommand{\refname}{参考文献}
829 \newcommand{\indexname}{索 引}
830 \newcommand{\figurename}{図}
831 \newcommand{\tablename}{表}
832 \newcommand{\appendixname}{付 録}
833 \newcommand{\abstractname}{概 要}
835 \pagenumbering{arabic}
837 \fnfixbottomtrue % 2017-02-19
838 \IfFileExists{stfloats.sty}{\RequirePackage{stfloats}\fnbelowfloat}{}
847 \AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext}
848 \AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext}
851 %% End of file `ltjtarticle.cls'.