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 [2017/02/19 v1.7d-ltj-13
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:\space\number\year/\number\month/\number\day
92 (\number\hour:\number\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}
156 \setlength\columnsep{3\Cwd}
158 \setlength\columnsep{10\p@}
160 \setlength\columnseprule{0\p@}
162 \newlength{\stockwidth}
163 \newlength{\stockheight}
164 \setlength{\stockwidth}{\paperwidth}
165 \setlength{\stockheight}{\paperheight}
166 \advance \stockwidth 2in
167 \advance \stockheight 2in
168 \ifdefined\pdfpagewidth
169 \setlength{\pdfpagewidth}{\stockwidth}
170 \setlength{\pdfpageheight}{\stockheight}
172 \setlength{\pagewidth}{\stockwidth}
173 \setlength{\pageheight}{\stockheight}
176 \ifdefined\pdfpagewidth
177 \setlength{\pdfpagewidth}{\paperwidth}
178 \setlength{\pdfpageheight}{\paperheight}
180 \setlength{\pagewidth}{\paperwidth}
181 \setlength{\pageheight}{\paperheight}
184 \setlength\lineskip{1\p@}
185 \setlength\normallineskip{1\p@}
186 \renewcommand{\baselinestretch}{}
187 \setlength\parskip{0\p@ \@plus \p@}
188 \setlength\parindent{1\Cwd}
192 \setcounter{topnumber}{2}
193 \setcounter{bottomnumber}{1}
194 \setcounter{totalnumber}{3}
195 \setcounter{dbltopnumber}{2}
196 \renewcommand{\topfraction}{.7}
197 \renewcommand{\bottomfraction}{.3}
198 \renewcommand{\textfraction}{.2}
199 \renewcommand{\floatpagefraction}{.5}
200 \renewcommand{\dbltopfraction}{.7}
201 \renewcommand{\dblfloatpagefraction}{.5}
202 \def\pltx@cleartorightpage{\clearpage\if@twoside
205 \hbox{}\thispagestyle{empty}\newpage
206 \if@twocolumn\hbox{}\newpage\fi
210 \hbox{}\thispagestyle{empty}\newpage
211 \if@twocolumn\hbox{}\newpage\fi
214 \def\pltx@cleartoleftpage{\clearpage\if@twoside
217 \hbox{}\thispagestyle{empty}\newpage
218 \if@twocolumn\hbox{}\newpage\fi
222 \hbox{}\thispagestyle{empty}\newpage
223 \if@twocolumn\hbox{}\newpage\fi
226 \def\pltx@cleartooddpage{\clearpage\if@twoside
228 \hbox{}\thispagestyle{empty}\newpage
229 \if@twocolumn\hbox{}\newpage\fi
231 \def\pltx@cleartoevenpage{\clearpage\if@twoside
233 \hbox{}\thispagestyle{empty}\newpage
234 \if@twocolumn\hbox{}\newpage\fi
236 \def\ps@plain{\let\@mkboth\@gobbletwo
237 \let\ps@jpl@in\ps@plain
239 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
240 \let\@evenhead\@empty
241 \let\@evenfoot\@oddfoot}
242 \let\ps@jpl@in\ps@plain
243 \def\ps@headnombre{\let\@mkboth\@gobbletwo
244 \let\ps@jpl@in\ps@headnombre
245 \def\@evenhead{\hfil\thepage}%
246 \def\@oddhead{\thepage\hfil}%
247 \let\@oddfoot\@empty\let\@evenfoot\@empty}
248 \def\ps@footnombre{\let\@mkboth\@gobbletwo
249 \let\ps@jpl@in\ps@footnombre
250 \def\@evenfoot{\hfil\thepage}%
251 \def\@oddfoot{\thepage\hfil}%
252 \let\@oddhead\@empty\let\@evenhead\@empty}
254 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
255 \let\@oddfoot\@empty\let\@evenfoot\@empty
256 \def\@evenhead{{\leftmark}\hfil\thepage}%
257 \def\@oddhead{\thepage\hfil\rightmark}%
258 \let\@mkboth\markboth
259 \def\sectionmark##1{\markboth{%
260 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
262 \def\subsectionmark##1{\markright{%
263 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
266 \else % if not twoside
267 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
269 \def\@oddhead{\thepage\hfil\rightmark}%
270 \let\@mkboth\markboth
271 \def\sectionmark##1{\markright{%
272 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
277 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
278 \def\@evenhead{\hfil\leftmark}% right page
279 \def\@evenfoot{\hfil\thepage}% right page
280 \def\@oddhead{\rightmark\hfil}% left page
281 \def\@oddfoot{\thepage\hfil}% left page
282 \let\@mkboth\markboth
283 \def\sectionmark##1{\markboth{%
284 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
286 \def\subsectionmark##1{\markright{%
287 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
290 \else % if one column
291 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
292 \def\@oddhead{\rightmark\hfil}%
293 \def\@oddfoot{\thepage\hfil}%
294 \let\@mkboth\markboth
295 \def\sectionmark##1{\markright{%
296 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
300 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
301 \let\@oddfoot\@empty\let\@evenfoot\@empty
302 \def\@evenhead{{\leftmark}\hfil\thepage}%
303 \def\@oddhead{\thepage\hfil\rightmark}%
304 \let\@mkboth\@gobbletwo
305 \let\sectionmark\@gobble
306 \let\subsectionmark\@gobble
309 \newenvironment{titlepage}
311 \if@twocolumn\@restonecoltrue\onecolumn
312 \else\@restonecolfalse\newpage\fi
313 \thispagestyle{empty}%
316 {\if@restonecol\twocolumn\else\newpage\fi
318 +% \changes{v1.7d}{2017/02/15}{bookクラスでtitlepageを必ず奇数ページ
320 \newenvironment{titlepage}
323 \@restonecoltrue\onecolumn
325 \@restonecolfalse\newpage
327 \thispagestyle{empty}%
328 \ifodd\c@page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017/02/15
330 {\if@restonecol\twocolumn \else \newpage \fi
332 \setcounter{page}\@ne
336 \def\p@thanks#1{\footnotemark
337 \protected@xdef\@thanks{\@thanks
338 \protect{\noindent\hbox{\yoko$\m@th^\thefootnote$}#1\protect\par}}}
340 \newcommand{\maketitle}{\begin{titlepage}%
341 \let\footnotesize\small
342 \let\footnoterule\relax
345 \vbox to\textheight\bgroup\tate\hsize\textwidth
349 {\LARGE \@title \par}%
353 \begin{tabular}[t]{c}%
357 {\large \@date \par}% % Set date in \large size.
359 \vfil{\centering\@thanks}\vfil\null
362 \setcounter{footnote}{0}%
363 \global\let\thanks\relax
364 \global\let\maketitle\relax
365 \global\let\p@thanks\relax
366 \global\let\@thanks\@empty
367 \global\let\@author\@empty
368 \global\let\@date\@empty
369 \global\let\@title\@empty
370 \global\let\title\relax
371 \global\let\author\relax
372 \global\let\date\relax
373 \global\let\and\relax
376 \newcommand{\maketitle}{\par
378 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
379 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
380 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
381 \long\def\@makefntext##1{\parindent 1\zw\noindent
382 \hb@xt@ 2\zw{\hss\@makefnmark}##1}%
384 \ifnum \col@number=\@ne \@maketitle
385 \else \twocolumn[\@maketitle]%
389 \global\@topnum\z@ % Prevents figures from going at top of page.
392 \thispagestyle{jpl@in}\@thanks
394 \setcounter{footnote}{0}%
395 \global\let\thanks\relax
396 \global\let\maketitle\relax
397 \global\let\@maketitle\relax
398 \global\let\p@thanks\relax
399 \global\let\@thanks\@empty
400 \global\let\@author\@empty
401 \global\let\@date\@empty
402 \global\let\@title\@empty
403 \global\let\title\relax
404 \global\let\author\relax
405 \global\let\date\relax
406 \global\let\and\relax
412 \let\footnote\p@thanks
413 {\LARGE \@title \par}%
417 \begin{tabular}[t]{c}%
426 \newenvironment{abstract}{%
429 \@beginparpenalty\@lowpenalty
431 {\bfseries\abstractname}%
434 {\par\vfil\null\endtitlepage}
436 \newenvironment{abstract}{%
438 \section*{\abstractname}%
442 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
445 \fi}{\if@twocolumn\else\endquotation\fi}
447 \setcounter{secnumdepth}{3}
450 \newcounter{subsection}[section]
451 \newcounter{subsubsection}[subsection]
452 \newcounter{paragraph}[subsubsection]
453 \newcounter{subparagraph}[paragraph]
454 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
455 \renewcommand{\thesection}{\rensuji{\@arabic\c@section}}
456 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
457 \renewcommand{\thesubsubsection}{%
458 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
459 \renewcommand{\theparagraph}{%
460 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
461 \renewcommand{\thesubparagraph}{%
462 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
464 \if@noskipsec \leavevmode \fi
467 \secdef\@part\@spart}
469 \ifnum \c@secnumdepth >\m@ne
470 \refstepcounter{part}%
471 \addcontentsline{toc}{part}{%
472 \prepartname\thepart\postpartname\hspace{1\zw}#1}%
474 \addcontentsline{toc}{part}{#1}%
477 {\parindent\z@\raggedright
478 \interlinepenalty\@M\normalfont
479 \ifnum \c@secnumdepth >\m@ne
480 \Large\bfseries\prepartname\thepart\postpartname
483 \huge\bfseries#2\par}%
484 \nobreak\vskip3ex\@afterheading}
486 \parindent\z@\raggedright
487 \interlinepenalty\@M\normalfont
488 \huge\bfseries#1\par}%
489 \nobreak\vskip3ex\@afterheading}
490 \newcommand{\section}{\@startsection{section}{1}{\z@}%
491 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
492 {.5\Cvs \@plus.3\Cvs}%
493 {\normalfont\Large\bfseries}}
494 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
495 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
496 {.5\Cvs \@plus.3\Cvs}%
497 {\normalfont\large\bfseries}}
498 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
499 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
500 {.5\Cvs \@plus.3\Cvs}%
501 {\normalfont\normalsize\bfseries}}
502 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
503 {3.25ex \@plus 1ex \@minus .2ex}%
505 {\normalfont\normalsize\bfseries}}
506 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
507 {3.25ex \@plus 1ex \@minus .2ex}%
509 {\normalfont\normalsize\bfseries}}
510 \newcommand{\appendix}{\par
511 \setcounter{section}{0}%
512 \setcounter{subsection}{0}%
513 \renewcommand{\thesection}{\rensuji{\@Alph\c@section}}}
515 \setlength\leftmargini {2em}
517 \setlength\leftmargini {2.5em}
519 \setlength\leftmarginii {2.2em}
520 \setlength\leftmarginiii {1.87em}
521 \setlength\leftmarginiv {1.7em}
523 \setlength\leftmarginv {.5em}
524 \setlength\leftmarginvi{.5em}
526 \setlength\leftmarginv {1em}
527 \setlength\leftmarginvi{1em}
529 \setlength \labelsep {.5em}
530 \setlength \labelwidth{\leftmargini}
531 \addtolength\labelwidth{-\labelsep}
532 \@beginparpenalty -\@lowpenalty
533 \@endparpenalty -\@lowpenalty
534 \@itempenalty -\@lowpenalty
535 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
536 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
537 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
538 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
539 \newcommand{\labelenumi}{\theenumi}
540 \newcommand{\labelenumii}{\theenumii}
541 \newcommand{\labelenumiii}{\theenumiii}
542 \newcommand{\labelenumiv}{\theenumiv}
543 \renewcommand{\p@enumii}{\theenumi}
544 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
545 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
546 \renewenvironment{enumerate}
547 {\ifnum \@enumdepth >\thr@@\@toodeep\else
548 \advance\@enumdepth\@ne
549 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
550 \expandafter \list \csname label\@enumctr\endcsname{%
551 \ifnum\ltjgetparameter{direction}=3
552 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
554 \parskip\z@ \itemsep\z@ \parsep\z@
555 \labelwidth1\zw \labelsep.3\zw
556 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
557 \else\leftmargin\leftskip\fi
558 \advance\leftmargin 1\zw
560 \usecounter{\@enumctr}%
561 \def\makelabel##1{\hss\llap{##1}}}%
563 \newcommand{\labelitemi}{\textbullet}
564 \newcommand{\labelitemii}{%
565 \ifnum\ltjgetparameter{direction}=3
568 {\normalfont\bfseries\textendash}
571 \newcommand{\labelitemiii}{\textasteriskcentered}
572 \newcommand{\labelitemiv}{\textperiodcentered}
573 \renewenvironment{itemize}
574 {\ifnum \@itemdepth >\thr@@\@toodeep\else
575 \advance\@itemdepth\@ne
576 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
577 \expandafter \list \csname \@itemitem\endcsname{%
578 \ifnum\ltjgetparameter{direction}=3
579 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
581 \parskip\z@ \itemsep\z@ \parsep\z@
582 \labelwidth1\zw \labelsep.3\zw
583 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
584 \else\leftmargin\leftskip\fi
585 \advance\leftmargin 1\zw
587 \def\makelabel##1{\hss\llap{##1}}}%
589 \newenvironment{description}
590 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
591 \ifnum\ltjgetparameter{direction}=3
592 \leftmargin\leftskip \advance\leftmargin3\Cwd
593 \rightmargin\rightskip
594 \labelsep=1\zw \itemsep\z@
595 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
597 \let\makelabel\descriptionlabel}}{\endlist}
598 \newcommand{\descriptionlabel}[1]{%
599 \hspace\labelsep\normalfont\bfseries #1}
600 \newenvironment{verse}
602 \list{}{\itemsep\z@ \itemindent -1.5em%
603 \listparindent\itemindent
604 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
605 \item\relax}{\endlist}
606 \newenvironment{quotation}
607 {\list{}{\listparindent 1.5em%
608 \itemindent\listparindent
609 \rightmargin\leftmargin
610 \parsep\z@ \@plus\p@}%
611 \item\relax}{\endlist}
612 \newenvironment{quote}
613 {\list{}{\rightmargin\leftmargin}%
614 \item\relax}{\endlist}
616 \renewcommand{\thefigure}{\rensuji{\@arabic\c@figure}}
620 \def\fnum@figure{\figurename\thefigure}
621 \newenvironment{figure}
624 \newenvironment{figure*}
628 \renewcommand{\thetable}{\rensuji{\@arabic\c@table}}
632 \def\fnum@table{\tablename\thetable}
633 \newenvironment{table}
636 \newenvironment{table*}
639 \newlength\abovecaptionskip
640 \newlength\belowcaptionskip
641 \setlength\abovecaptionskip{10\p@}
642 \setlength\belowcaptionskip{0\p@}
643 \long\def\@makecaption#1#2{%
644 \vskip\abovecaptionskip
645 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
646 \else\sbox\@tempboxa{#1: #2}%
648 \ifdim \wd\@tempboxa >\hsize
649 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
650 \else #1: #2\relax\par\fi
652 \global \@minipagefalse
653 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
655 \vskip\belowcaptionskip}
656 \setlength\arraycolsep{5\p@}
657 \setlength\tabcolsep{6\p@}
658 \setlength\arrayrulewidth{.4\p@}
659 \setlength\doublerulesep{2\p@}
660 \setlength\tabbingsep{\labelsep}
661 \skip\@mpfootins = \skip\footins
662 \setlength\fboxsep{3\p@}
663 \setlength\fboxrule{.4\p@}
664 \renewcommand{\theequation}{\@arabic\c@equation}
665 \if@compatibility\else
666 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
667 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
668 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
670 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
674 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
675 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
678 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
679 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
680 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
681 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
682 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
683 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
684 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
685 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
686 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
687 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
688 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
689 \setcounter{tocdepth}{3}
690 \newcommand{\@pnumwidth}{1.55em}
691 \newcommand{\@tocrmarg}{2.55em}
692 \newcommand{\@dotsep}{4.5}
693 \newdimen\toclineskip
694 \setlength\toclineskip{2\p@}
696 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
697 \def\@dottedtocline#1#2#3#4#5{%
698 \ifnum #1>\c@tocdepth \else
699 \vskip\toclineskip \@plus.2\p@
700 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
701 \parindent #2\relax\@afterindenttrue
705 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
707 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
709 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
712 \def\addcontentsline#1#2#3{%
713 \protected@write\@auxout
714 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
715 \@temptokena{\rensuji{\thepage}}}%
716 {\string\@writefile{#1}%
717 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
719 \newcommand{\tableofcontents}{%
720 \section*{\contentsname
721 \@mkboth{\contentsname}{\contentsname}%
724 \newcommand*{\l@part}[2]{%
725 \ifnum \c@tocdepth >-2\relax
726 \addpenalty{\@secpenalty}%
727 \addvspace{2.25em \@plus\p@}%
729 \parindent\z@\rightskip\@pnumwidth
730 \parfillskip-\@pnumwidth
731 {\leavevmode\large\bfseries
732 \setlength\@lnumwidth{4\zw}%
734 \hb@xt@\@pnumwidth{\hss#2}}\par
738 \everypar{\global\@nobreakfalse\everypar{}}%
742 \newcommand*{\l@section}[2]{%
743 \ifnum \c@tocdepth >\z@
744 \addpenalty{\@secpenalty}%
745 \addvspace{1.0em \@plus\p@}%
747 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
749 \setlength\@lnumwidth{1.5em}%
750 \advance\leftskip\@lnumwidth \hskip-\leftskip
751 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
754 \newcommand*{\l@subsection} {\@dottedtocline{2}{1\zw}{4\zw}}
755 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{2\zw}{6\zw}}
756 \newcommand*{\l@paragraph} {\@dottedtocline{4}{3\zw}{8\zw}}
757 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{4\zw}{9\zw}}
758 \newcommand{\listoffigures}{%
759 \section*{\listfigurename}%
760 \@mkboth{\listfigurename}{\listfigurename}%
763 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
764 \newcommand{\listoftables}{%
765 \section*{\listtablename}%
766 \@mkboth{\listtablename}{\listtablename}%
769 \let\l@table\l@figure
771 \setlength\bibindent{1.5em}
772 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
773 \newenvironment{thebibliography}[1]
774 {\section*{\refname}\@mkboth{\refname}{\refname}%
775 \list{\@biblabel{\@arabic\c@enumiv}}%
776 {\settowidth\labelwidth{\@biblabel{#1}}%
777 \leftmargin\labelwidth
778 \advance\leftmargin\labelsep
782 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
785 \@clubpenalty\clubpenalty
789 {\@latex@warning{Empty `thebibliography' environment}}%
791 \let\@openbib@code\@empty
792 \newenvironment{theindex}
793 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
794 \twocolumn[\section*{\indexname}]%
795 \@mkboth{\indexname}{\indexname}%
796 \thispagestyle{jpl@in}\parindent\z@
797 \parskip\z@ \@plus .3\p@\relax
798 \columnseprule\z@ \columnsep 35\p@
800 {\if@restonecol\onecolumn\else\clearpage\fi}
801 \newcommand{\@idxitem}{\par\hangindent 40\p@}
802 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
803 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
804 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
805 \renewcommand{\footnoterule}{%
807 \hrule\@width.4\columnwidth
809 \newcommand\@makefntext[1]{\parindent 1\zw
810 \noindent\hb@xt@ 2\zw{\hss\@makefnmark}#1}
814 \newcount\heisei \heisei\year \advance\heisei-1988\relax
816 \ifnum\ltjgetparameter{direction}=3
822 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
832 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
837 \newcommand{\prepartname}{第}
838 \newcommand{\postpartname}{部}
839 \newcommand{\contentsname}{目 次}
840 \newcommand{\listfigurename}{図 目 次}
841 \newcommand{\listtablename}{表 目 次}
842 \newcommand{\refname}{参考文献}
843 \newcommand{\indexname}{索 引}
844 \newcommand{\figurename}{図}
845 \newcommand{\tablename}{表}
846 \newcommand{\appendixname}{付 録}
847 \newcommand{\abstractname}{概 要}
849 \pagenumbering{arabic}
851 \fnfixbottomtrue % 2017-02-19
852 \IfFileExists{stfloats.sty}{\RequirePackage{stfloats}\fnbelowfloat}{}
861 \AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext}
862 \AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext}
865 %% End of file `ltjtarticle.cls'.