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
25 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
26 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
27 %% Digits \0\1\2\3\4\5\6\7\8\9
28 %% Exclamation \! Double quote \" Hash (number) \#
29 %% Dollar \$ Percent \% Ampersand \&
30 %% Acute accent \' Left paren \( Right paren \)
31 %% Asterisk \* Plus \+ Comma \,
32 %% Minus \- Point \. Solidus \/
33 %% Colon \: Semicolon \; Less than \<
34 %% Equals \= Greater than \> Question mark \?
35 %% Commercial at \@ Left bracket \[ Backslash \\
36 %% Right bracket \] Circumflex \^ Underscore \_
37 %% Grave accent \` Left brace \{ Vertical bar \|
38 %% Right brace \} Tilde \~}
40 \NeedsTeXFormat{LaTeX2e}
41 \ProvidesClass{ltjtarticle}
42 [2016/07/19 v1.6-ltj-11
43 Standard LuaLaTeX-ja class]
44 \RequirePackage{luatexja}
46 \newif\if@landscape \@landscapefalse
47 \newcommand{\@ptsize}{}
51 \hour\time \divide\hour by 60\relax
52 \@tempcnta\hour \multiply\@tempcnta 60\relax
53 \minute\time \advance\minute-\@tempcnta
54 \newif\if@stysize \@stysizefalse
55 \newif\if@mathrmmc \@mathrmmcfalse
56 \DeclareOption{a4paper}{\setcounter{@paper}{1}%
57 \setlength\paperheight {297mm}%
58 \setlength\paperwidth {210mm}}
59 \DeclareOption{a5paper}{\setcounter{@paper}{2}%
60 \setlength\paperheight {210mm}
61 \setlength\paperwidth {148mm}}
62 \DeclareOption{b4paper}{\setcounter{@paper}{3}%
63 \setlength\paperheight {364mm}
64 \setlength\paperwidth {257mm}}
65 \DeclareOption{b5paper}{\setcounter{@paper}{4}%
66 \setlength\paperheight {257mm}
67 \setlength\paperwidth {182mm}}
68 \DeclareOption{a4j}{\setcounter{@paper}{1}\@stysizetrue
69 \setlength\paperheight {297mm}%
70 \setlength\paperwidth {210mm}}
71 \DeclareOption{a5j}{\setcounter{@paper}{2}\@stysizetrue
72 \setlength\paperheight {210mm}
73 \setlength\paperwidth {148mm}}
74 \DeclareOption{b4j}{\setcounter{@paper}{3}\@stysizetrue
75 \setlength\paperheight {364mm}
76 \setlength\paperwidth {257mm}}
77 \DeclareOption{b5j}{\setcounter{@paper}{4}\@stysizetrue
78 \setlength\paperheight {257mm}
79 \setlength\paperwidth {182mm}}
80 \DeclareOption{a4p}{\setcounter{@paper}{1}\@stysizetrue
81 \setlength\paperheight {297mm}%
82 \setlength\paperwidth {210mm}}
83 \DeclareOption{a5p}{\setcounter{@paper}{2}\@stysizetrue
84 \setlength\paperheight {210mm}
85 \setlength\paperwidth {148mm}}
86 \DeclareOption{b4p}{\setcounter{@paper}{3}\@stysizetrue
87 \setlength\paperheight {364mm}
88 \setlength\paperwidth {257mm}}
89 \DeclareOption{b5p}{\setcounter{@paper}{4}\@stysizetrue
90 \setlength\paperheight {257mm}
91 \setlength\paperwidth {182mm}}
93 \renewcommand{\@ptsize}{0}
95 \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
97 \DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
98 \DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
99 \DeclareOption{landscape}{\@landscapetrue
100 \setlength\@tempdima{\paperheight}%
101 \setlength\paperheight{\paperwidth}%
102 \setlength\paperwidth{\@tempdima}}
103 \DeclareOption{tombow}{%
104 \tombowtrue \tombowdatetrue
105 \setlength{\@tombowwidth}{.1\p@}%
107 \jobname\space:\space\number\year/\number\month/\number\day
108 (\number\hour:\number\minute)}
110 \DeclareOption{tombo}{%
111 \tombowtrue \tombowdatefalse
112 \setlength{\@tombowwidth}{.1\p@}%
114 \DeclareOption{mentuke}{%
115 \tombowtrue \tombowdatefalse
116 \setlength{\@tombowwidth}{\z@}%
118 \DeclareOption{tate}{%
119 \tate\AtBeginDocument{\message{《縦組モード》}\adjustbaseline}%
121 \AtEndOfPackageFile{everyshi}{%
122 \def\@EveryShipout@Output{%
126 \@EveryShipout@AtNextHook
127 \global\setbox\luatexoutputbox=\box\luatexoutputbox
129 \gdef\@EveryShipout@AtNextHook{}%
130 \@EveryShipout@Org@Shipout\box\luatexoutputbox
132 \DeclareOption{oneside}{\@twosidefalse}
133 \DeclareOption{twoside}{\@twosidetrue}
134 \DeclareOption{onecolumn}{\@twocolumnfalse}
135 \DeclareOption{twocolumn}{\@twocolumntrue}
136 \DeclareOption{titlepage}{\@titlepagetrue}
137 \DeclareOption{notitlepage}{\@titlepagefalse}
138 \DeclareOption{leqno}{\input{leqno.clo}}
139 \DeclareOption{fleqn}{\input{fleqn.clo}}
140 \DeclareOption{openbib}{%
142 \renewcommand\@openbib@code{%
143 \advance\leftmargin\bibindent
144 \itemindent -\bibindent
145 \listparindent \itemindent
148 \renewcommand\newblock{\par}}}
152 \DeclareOption{disablejfam}{%
153 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
154 \DeclareOption{mathrmmc}{\@mathrmmctrue}
156 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
157 \DeclareOption{final}{\setlength\overfullrule{0pt}}
158 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
159 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
160 'ltj.jclasses_load_jfm', 1)}
161 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
162 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
163 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
164 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
165 \ltjglobalsetparameter{differentjfm=both}
166 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
167 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,tate}
168 \ProcessOptions\relax
169 \input{ltjtsize1\@ptsize.clo}
170 \RequirePackage{lltjext}
172 \setlength\columnsep{3\Cwd}
174 \setlength\columnsep{10\p@}
176 \setlength\columnseprule{0\p@}
177 \newlength{\stockwidth}
178 \newlength{\stockheight}
179 \setlength{\stockwidth}{\paperwidth}
180 \setlength{\stockheight}{\paperheight}
182 \advance \stockwidth 2in
183 \advance \stockheight 2in
185 \ifdefined\pdfpagewidth
186 \setlength{\pdfpagewidth}{\stockwidth}
187 \setlength{\pdfpageheight}{\stockheight}
189 \setlength{\pagewidth}{\stockwidth}
190 \setlength{\pageheight}{\stockheight}
192 \setlength\lineskip{1\p@}
193 \setlength\normallineskip{1\p@}
194 \renewcommand{\baselinestretch}{}
195 \setlength\parskip{0\p@ \@plus \p@}
196 \setlength\parindent{1\Cwd}
200 \setcounter{topnumber}{2}
201 \setcounter{bottomnumber}{1}
202 \setcounter{totalnumber}{3}
203 \setcounter{dbltopnumber}{2}
204 \renewcommand{\topfraction}{.7}
205 \renewcommand{\bottomfraction}{.3}
206 \renewcommand{\textfraction}{.2}
207 \renewcommand{\floatpagefraction}{.5}
208 \renewcommand{\dbltopfraction}{.7}
209 \renewcommand{\dblfloatpagefraction}{.5}
210 \def\ps@plain{\let\@mkboth\@gobbletwo
211 \let\ps@jpl@in\ps@plain
213 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
214 \let\@evenhead\@empty
215 \let\@evenfoot\@oddfoot}
216 \let\ps@jpl@in\ps@plain
217 \def\ps@headnombre{\let\@mkboth\@gobbletwo
218 \let\ps@jpl@in\ps@headnombre
219 \def\@evenhead{\hfil\thepage}%
220 \def\@oddhead{\thepage\hfil}%
221 \let\@oddfoot\@empty\let\@evenfoot\@empty}
222 \def\ps@footnombre{\let\@mkboth\@gobbletwo
223 \let\ps@jpl@in\ps@footnombre
224 \def\@evenfoot{\hfil\thepage}%
225 \def\@oddfoot{\thepage\hfil}%
226 \let\@oddhead\@empty\let\@evenhead\@empty}
228 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
229 \let\@oddfoot\@empty\let\@evenfoot\@empty
230 \def\@evenhead{{\leftmark}\hfil\thepage}%
231 \def\@oddhead{\thepage\hfil\rightmark}%
232 \let\@mkboth\markboth
233 \def\sectionmark##1{\markboth{%
234 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
236 \def\subsectionmark##1{\markright{%
237 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
240 \else % if not twoside
241 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
243 \def\@oddhead{\thepage\hfil\rightmark}%
244 \let\@mkboth\markboth
245 \def\sectionmark##1{\markright{%
246 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
251 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
252 \def\@evenhead{\hfil\leftmark}% right page
253 \def\@evenfoot{\hfil\thepage}% right page
254 \def\@oddhead{\rightmark\hfil}% left page
255 \def\@oddfoot{\thepage\hfil}% left page
256 \let\@mkboth\markboth
257 \def\sectionmark##1{\markboth{%
258 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
260 \def\subsectionmark##1{\markright{%
261 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
264 \else % if one column
265 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
266 \def\@oddhead{\rightmark\hfil}%
267 \def\@oddfoot{\thepage\hfil}%
268 \let\@mkboth\markboth
269 \def\sectionmark##1{\markright{%
270 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
274 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
275 \let\@oddfoot\@empty\let\@evenfoot\@empty
276 \def\@evenhead{{\leftmark}\hfil\thepage}%
277 \def\@oddhead{\thepage\hfil\rightmark}%
278 \let\@mkboth\@gobbletwo
279 \let\sectionmark\@gobble
280 \let\subsectionmark\@gobble
283 \newenvironment{titlepage}
285 \if@twocolumn\@restonecoltrue\onecolumn
286 \else\@restonecolfalse\newpage\fi
287 \thispagestyle{empty}%
290 {\if@restonecol\twocolumn\else\newpage\fi
293 \newenvironment{titlepage}
296 \@restonecoltrue\onecolumn
298 \@restonecolfalse\newpage
300 \thispagestyle{empty}%
301 \setcounter{page}\@ne
303 {\if@restonecol\twocolumn \else \newpage \fi
305 \setcounter{page}\@ne
309 \def\p@thanks#1{\footnotemark
310 \protected@xdef\@thanks{\@thanks
311 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
313 \newcommand{\maketitle}{\begin{titlepage}%
314 \let\footnotesize\small
315 \let\footnoterule\relax
318 \vbox to\textheight\bgroup\tate\hsize\textwidth
322 {\LARGE \@title \par}%
326 \begin{tabular}[t]{c}%
330 {\large \@date \par}% % Set date in \large size.
332 \vfil{\centering\@thanks}\vfil\null
335 \setcounter{footnote}{0}%
336 \global\let\thanks\relax
337 \global\let\maketitle\relax
338 \global\let\p@thanks\relax
339 \global\let\@thanks\@empty
340 \global\let\@author\@empty
341 \global\let\@date\@empty
342 \global\let\@title\@empty
343 \global\let\title\relax
344 \global\let\author\relax
345 \global\let\date\relax
346 \global\let\and\relax
349 \newcommand{\maketitle}{\par
351 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
352 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
353 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
354 \long\def\@makefntext##1{\parindent 1\zw\noindent
355 \hbox to 2\zw{\hss\@makefnmark}##1}%
357 \ifnum \col@number=\@ne \@maketitle
358 \else \twocolumn[\@maketitle]%
362 \global\@topnum\z@ % Prevents figures from going at top of page.
365 \thispagestyle{jpl@in}\@thanks
367 \setcounter{footnote}{0}%
368 \global\let\thanks\relax
369 \global\let\maketitle\relax
370 \global\let\p@thanks\relax
371 \global\let\@thanks\@empty
372 \global\let\@author\@empty
373 \global\let\@date\@empty
374 \global\let\@title\@empty
375 \global\let\title\relax
376 \global\let\author\relax
377 \global\let\date\relax
378 \global\let\and\relax
384 \let\footnote\p@thanks
385 {\LARGE \@title \par}%
389 \begin{tabular}[t]{c}%
398 \newenvironment{abstract}{%
401 \@beginparpenalty\@lowpenalty
403 {\bfseries\abstractname}%
406 {\par\vfil\null\endtitlepage}
408 \newenvironment{abstract}{%
410 \section*{\abstractname}%
414 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
417 \fi}{\if@twocolumn\else\endquotation\fi}
419 \setcounter{secnumdepth}{3}
422 \newcounter{subsection}[section]
423 \newcounter{subsubsection}[subsection]
424 \newcounter{paragraph}[subsubsection]
425 \newcounter{subparagraph}[paragraph]
426 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
427 \renewcommand{\thesection}{\rensuji{\@arabic\c@section}}
428 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
429 \renewcommand{\thesubsubsection}{%
430 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
431 \renewcommand{\theparagraph}{%
432 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
433 \renewcommand{\thesubparagraph}{%
434 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
435 \newcommand{\part}{\par\addvspace{4ex}%
437 \secdef\@part\@spart}
439 \ifnum \c@secnumdepth >\m@ne
440 \refstepcounter{part}%
441 \addcontentsline{toc}{part}{%
442 \prepartname\thepart\postpartname\hspace{1\zw}#1}%
444 \addcontentsline{toc}{part}{#1}%
447 {\parindent\z@\raggedright
448 \interlinepenalty\@M\reset@font
449 \ifnum \c@secnumdepth >\m@ne
450 \Large\bfseries\prepartname\thepart\postpartname
453 \huge\bfseries#2\par}%
454 \nobreak\vskip3ex\@afterheading}
456 \parindent\z@\raggedright
457 \interlinepenalty\@M\reset@font
458 \huge\bfseries#1\par}%
459 \nobreak\vskip3ex\@afterheading}
460 \newcommand{\section}{\@startsection{section}{1}{\z@}%
461 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
462 {.5\Cvs \@plus.3\Cvs}%
463 {\reset@font\Large\bfseries}}
464 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
465 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
466 {.5\Cvs \@plus.3\Cvs}%
467 {\reset@font\large\bfseries}}
468 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
469 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
470 {.5\Cvs \@plus.3\Cvs}%
471 {\reset@font\normalsize\bfseries}}
472 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
473 {3.25ex \@plus 1ex \@minus .2ex}%
475 {\reset@font\normalsize\bfseries}}
476 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
477 {3.25ex \@plus 1ex \@minus .2ex}%
479 {\reset@font\normalsize\bfseries}}
480 \newcommand{\appendix}{\par
481 \setcounter{section}{0}%
482 \setcounter{subsection}{0}%
483 \renewcommand{\thesection}{\rensuji{\@Alph\c@section}}}
485 \setlength\leftmargini {2em}
487 \setlength\leftmargini {2.5em}
489 \setlength\leftmarginii {2.2em}
490 \setlength\leftmarginiii {1.87em}
491 \setlength\leftmarginiv {1.7em}
493 \setlength\leftmarginv {.5em}
494 \setlength\leftmarginvi{.5em}
496 \setlength\leftmarginv {1em}
497 \setlength\leftmarginvi{1em}
499 \setlength \labelsep {.5em}
500 \setlength \labelwidth{\leftmargini}
501 \addtolength\labelwidth{-\labelsep}
502 \@beginparpenalty -\@lowpenalty
503 \@endparpenalty -\@lowpenalty
504 \@itempenalty -\@lowpenalty
505 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
506 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
507 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
508 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
509 \newcommand{\labelenumi}{\theenumi}
510 \newcommand{\labelenumii}{\theenumii}
511 \newcommand{\labelenumiii}{\theenumiii}
512 \newcommand{\labelenumiv}{\theenumiv}
513 \renewcommand{\p@enumii}{\theenumi}
514 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
515 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
516 \renewenvironment{enumerate}
517 {\ifnum \@enumdepth >\thr@@\@toodeep\else
518 \advance\@enumdepth\@ne
519 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
520 \list{\csname label\@enumctr\endcsname}{%
521 \ifnum\ltjgetparameter{direction}=3
522 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
524 \parskip\z@ \itemsep\z@ \parsep\z@
525 \labelwidth1\zw \labelsep.3\zw
526 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
527 \else\leftmargin\leftskip\fi
528 \advance\leftmargin 1\zw
530 \usecounter{\@enumctr}%
531 \def\makelabel##1{\hss\llap{##1}}}%
533 \newcommand{\labelitemi}{\textbullet}
534 \newcommand{\labelitemii}{%
535 \ifnum\ltjgetparameter{direction}=3
538 {\normalfont\bfseries\textendash}
541 \newcommand{\labelitemiii}{\textasteriskcentered}
542 \newcommand{\labelitemiv}{\textperiodcentered}
543 \renewenvironment{itemize}
544 {\ifnum \@itemdepth >\thr@@\@toodeep\else
545 \advance\@itemdepth\@ne
546 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
548 \list{\csname \@itemitem\endcsname}{%
549 \ifnum\ltjgetparameter{direction}=3
550 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
552 \parskip\z@ \itemsep\z@ \parsep\z@
553 \labelwidth1\zw \labelsep.3\zw
554 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
555 \else\leftmargin\leftskip\fi
556 \advance\leftmargin 1\zw
558 \def\makelabel##1{\hss\llap{##1}}}%
560 \newenvironment{description}
561 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
562 \ifnum\ltjgetparameter{direction}=3
563 \leftmargin\leftskip \advance\leftmargin3\Cwd
564 \rightmargin\rightskip
565 \labelsep=1\zw \itemsep\z@
566 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
568 \let\makelabel\descriptionlabel}}{\endlist}
569 \newcommand{\descriptionlabel}[1]{%
570 \hspace\labelsep\normalfont\bfseries #1}
571 \newenvironment{verse}
573 \list{}{\itemsep\z@ \itemindent -1.5em%
574 \listparindent\itemindent
575 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
576 \item\relax}{\endlist}
577 \newenvironment{quotation}
578 {\list{}{\listparindent 1.5em%
579 \itemindent\listparindent
580 \rightmargin\leftmargin
581 \parsep\z@ \@plus\p@}%
582 \item\relax}{\endlist}
583 \newenvironment{quote}
584 {\list{}{\rightmargin\leftmargin}%
585 \item\relax}{\endlist}
587 \renewcommand{\thefigure}{\rensuji{\@arabic\c@figure}}
591 \def\fnum@figure{\figurename\thefigure}
592 \newenvironment{figure}
595 \newenvironment{figure*}
599 \renewcommand{\thetable}{\rensuji{\@arabic\c@table}}
603 \def\fnum@table{\tablename\thetable}
604 \newenvironment{table}
607 \newenvironment{table*}
610 \newlength\abovecaptionskip
611 \newlength\belowcaptionskip
612 \setlength\abovecaptionskip{10\p@}
613 \setlength\belowcaptionskip{0\p@}
614 \long\def\@makecaption#1#2{%
615 \vskip\abovecaptionskip
616 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
617 \else\sbox\@tempboxa{#1: #2}%
619 \ifdim \wd\@tempboxa >\hsize
620 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
621 \else #1: #2\relax\par\fi
623 \global \@minipagefalse
624 \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
626 \vskip\belowcaptionskip}
627 \setlength\arraycolsep{5\p@}
628 \setlength\tabcolsep{6\p@}
629 \setlength\arrayrulewidth{.4\p@}
630 \setlength\doublerulesep{2\p@}
631 \setlength\tabbingsep{\labelsep}
632 \skip\@mpfootins = \skip\footins
633 \setlength\fboxsep{3\p@}
634 \setlength\fboxrule{.4\p@}
635 \renewcommand{\theequation}{\@arabic\c@equation}
636 \if@compatibility\else
637 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
638 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
639 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
641 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
645 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
646 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
649 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
650 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
651 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
652 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
653 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
654 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
655 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
656 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
657 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
658 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
659 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
660 \setcounter{tocdepth}{3}
661 \newcommand{\@pnumwidth}{1.55em}
662 \newcommand{\@tocrmarg}{2.55em}
663 \newcommand{\@dotsep}{4.5}
664 \newdimen\toclineskip
665 \setlength\toclineskip{2\p@}
667 \def\numberline#1{\hbox to\@lnumwidth{#1\hfil}}
668 \def\@dottedtocline#1#2#3#4#5{%
669 \ifnum #1>\c@tocdepth \else
670 \vskip\toclineskip \@plus.2\p@
671 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
672 \parindent #2\relax\@afterindenttrue
676 \advance\leftskip \@lnumwidth \hbox{}\hskip -\leftskip
678 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
680 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
683 \def\addcontentsline#1#2#3{%
684 \protected@write\@auxout
685 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
686 \@temptokena{\rensuji{\thepage}}}%
687 {\string\@writefile{#1}%
688 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
690 \newcommand{\tableofcontents}{%
691 \section*{\contentsname
692 \@mkboth{\contentsname}{\contentsname}%
695 \newcommand*{\l@part}[2]{%
696 \ifnum \c@tocdepth >-2\relax
697 \addpenalty{\@secpenalty}%
698 \addvspace{2.25em \@plus\p@}%
700 \parindent\z@\rightskip\@pnumwidth
701 \parfillskip-\@pnumwidth
702 {\leavevmode\large\bfseries
703 \setlength\@lnumwidth{4\zw}%
705 \hbox to\@pnumwidth{\hss#2}}\par
709 \everypar{\global\@nobreakfalse\everypar{}}%
713 \newcommand*{\l@section}[2]{%
714 \ifnum \c@tocdepth >\z@
715 \addpenalty{\@secpenalty}%
716 \addvspace{1.0em \@plus\p@}%
718 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
720 \setlength\@lnumwidth{1.5em}%
721 \advance\leftskip\@lnumwidth \hskip-\leftskip
722 #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
725 \newcommand*{\l@subsection} {\@dottedtocline{2}{1\zw}{4\zw}}
726 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{2\zw}{6\zw}}
727 \newcommand*{\l@paragraph} {\@dottedtocline{4}{3\zw}{8\zw}}
728 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{4\zw}{9\zw}}
729 \newcommand{\listoffigures}{%
730 \section*{\listfigurename
731 \@mkboth{\listfigurename}{\listfigurename}}%
734 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
735 \newcommand{\listoftables}{%
736 \section*{\listtablename
737 \@mkboth{\listtablename}{\listtablename}}%
740 \let\l@table\l@figure
742 \setlength\bibindent{1.5em}
743 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
744 \newenvironment{thebibliography}[1]
745 {\section*{\refname\@mkboth{\refname}{\refname}}%
746 \list{\@biblabel{\@arabic\c@enumiv}}%
747 {\settowidth\labelwidth{\@biblabel{#1}}%
748 \leftmargin\labelwidth
749 \advance\leftmargin\labelsep
753 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
756 \@clubpenalty\clubpenalty
760 {\@latex@warning{Empty `thebibliography' environment}}%
762 \let\@openbib@code\@empty
763 \newenvironment{theindex}
764 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
765 \columnseprule\z@ \columnsep 35\p@
766 \twocolumn[\section*{\indexname}]%
767 \@mkboth{\indexname}{\indexname}%
768 \thispagestyle{jpl@in}\parindent\z@
769 \parskip\z@ \@plus .3\p@\relax
771 {\if@restonecol\onecolumn\else\clearpage\fi}
772 \newcommand{\@idxitem}{\par\hangindent 40\p@}
773 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
774 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
775 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
776 \renewcommand{\footnoterule}{%
778 \hrule width .4\columnwidth
780 \newcommand\@makefntext[1]{\parindent 1\zw
781 \noindent\hbox to 2\zw{\hss\@makefnmark}#1}
785 \newcount\heisei \heisei\year \advance\heisei-1988\relax
787 \ifnum\ltjgetparameter{direction}=3
793 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
803 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
808 \newcommand{\prepartname}{第}
809 \newcommand{\postpartname}{部}
810 \newcommand{\contentsname}{目 次}
811 \newcommand{\listfigurename}{図 目 次}
812 \newcommand{\listtablename}{表 目 次}
813 \newcommand{\refname}{参考文献}
814 \newcommand{\indexname}{索 引}
815 \newcommand{\figurename}{図}
816 \newcommand{\tablename}{表}
817 \newcommand{\appendixname}{付 録}
818 \newcommand{\abstractname}{概 要}
820 \pagenumbering{arabic}
832 %% End of file `ltjtarticle.cls'.