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 [2014/11/15 v1.6-ltj-7
43 Standard LuaLaTeX-ja class]
44 \RequirePackage{luatexja}
45 \RequirePackage{filehook}
47 \newif\if@landscape \@landscapefalse
48 \newcommand{\@ptsize}{}
52 \hour\time \divide\hour by 60\relax
53 \@tempcnta\hour \multiply\@tempcnta 60\relax
54 \minute\time \advance\minute-\@tempcnta
55 \newif\if@stysize \@stysizefalse
56 \newif\if@mathrmmc \@mathrmmcfalse
57 \DeclareOption{a4paper}{\setcounter{@paper}{1}%
58 \setlength\paperheight {297mm}%
59 \setlength\paperwidth {210mm}}
60 \DeclareOption{a5paper}{\setcounter{@paper}{2}%
61 \setlength\paperheight {210mm}
62 \setlength\paperwidth {148mm}}
63 \DeclareOption{b4paper}{\setcounter{@paper}{3}%
64 \setlength\paperheight {364mm}
65 \setlength\paperwidth {257mm}}
66 \DeclareOption{b5paper}{\setcounter{@paper}{4}%
67 \setlength\paperheight {257mm}
68 \setlength\paperwidth {182mm}}
69 \DeclareOption{a4j}{\setcounter{@paper}{1}\@stysizetrue
70 \setlength\paperheight {297mm}%
71 \setlength\paperwidth {210mm}}
72 \DeclareOption{a5j}{\setcounter{@paper}{2}\@stysizetrue
73 \setlength\paperheight {210mm}
74 \setlength\paperwidth {148mm}}
75 \DeclareOption{b4j}{\setcounter{@paper}{3}\@stysizetrue
76 \setlength\paperheight {364mm}
77 \setlength\paperwidth {257mm}}
78 \DeclareOption{b5j}{\setcounter{@paper}{4}\@stysizetrue
79 \setlength\paperheight {257mm}
80 \setlength\paperwidth {182mm}}
81 \DeclareOption{a4p}{\setcounter{@paper}{1}\@stysizetrue
82 \setlength\paperheight {297mm}%
83 \setlength\paperwidth {210mm}}
84 \DeclareOption{a5p}{\setcounter{@paper}{2}\@stysizetrue
85 \setlength\paperheight {210mm}
86 \setlength\paperwidth {148mm}}
87 \DeclareOption{b4p}{\setcounter{@paper}{3}\@stysizetrue
88 \setlength\paperheight {364mm}
89 \setlength\paperwidth {257mm}}
90 \DeclareOption{b5p}{\setcounter{@paper}{4}\@stysizetrue
91 \setlength\paperheight {257mm}
92 \setlength\paperwidth {182mm}}
93 \AtEndOfPackageFile{geometry}{%
94 \setlength{\@tempdima}{\textheight}%
95 \setlength{\textheight}{\textwidth}%
96 \setlength{\textwidth}{\@tempdima}%
97 \expandafter\def\expandafter\Gm@process\expandafter{\Gm@process
98 \setlength{\@tempdima}{\textheight}%
99 \setlength{\textheight}{\textwidth}%
100 \setlength{\textwidth}{\@tempdima}}}
102 \renewcommand{\@ptsize}{0}
104 \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
106 \DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
107 \DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
108 \DeclareOption{landscape}{\@landscapetrue
109 \setlength\@tempdima{\paperheight}%
110 \setlength\paperheight{\paperwidth}%
111 \setlength\paperwidth{\@tempdima}}
112 \DeclareOption{tombow}{%
113 \tombowtrue \tombowdatetrue
114 \setlength{\@tombowwidth}{.1\p@}%
116 \jobname\space:\space\number\year/\number\month/\number\day
117 (\number\hour:\number\minute)}
119 \DeclareOption{tombo}{%
120 \tombowtrue \tombowdatefalse
121 \setlength{\@tombowwidth}{.1\p@}%
123 \DeclareOption{mentuke}{%
124 \tombowtrue \tombowdatefalse
125 \setlength{\@tombowwidth}{\z@}%
127 \DeclareOption{tate}{%
128 \tate\AtBeginDocument{\message{《縦組モード》}\adjustbaseline}%
130 \AtEndOfPackageFile{everyshi}{%
131 \def\@EveryShipout@Output{%
135 \@EveryShipout@AtNextHook
136 \global\setbox\luatexoutputbox=\box\luatexoutputbox
138 \gdef\@EveryShipout@AtNextHook{}%
139 \@EveryShipout@Org@Shipout\box\luatexoutputbox
141 \DeclareOption{oneside}{\@twosidefalse}
142 \DeclareOption{twoside}{\@twosidetrue}
143 \DeclareOption{onecolumn}{\@twocolumnfalse}
144 \DeclareOption{twocolumn}{\@twocolumntrue}
145 \DeclareOption{titlepage}{\@titlepagetrue}
146 \DeclareOption{notitlepage}{\@titlepagefalse}
147 \DeclareOption{leqno}{\input{leqno.clo}}
148 \DeclareOption{fleqn}{\input{fleqn.clo}}
149 \DeclareOption{openbib}{%
151 \renewcommand\@openbib@code{%
152 \advance\leftmargin\bibindent
153 \itemindent -\bibindent
154 \listparindent \itemindent
157 \renewcommand\newblock{\par}}}
161 \DeclareOption{disablejfam}{%
162 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
163 \DeclareOption{mathrmmc}{\@mathrmmctrue}
165 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
166 \DeclareOption{final}{\setlength\overfullrule{0pt}}
167 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,tate}
168 \ProcessOptions\relax
169 \input{ltjtsize1\@ptsize.clo}
170 \RequirePackage{lltjext}
171 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
172 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
173 'ltj.jclasses_load_jfm', 1)}
174 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
175 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
176 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
177 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
178 \ltjglobalsetparameter{differentjfm=both}
179 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
181 \setlength\columnsep{3\Cwd}
183 \setlength\columnsep{10\p@}
185 \setlength\columnseprule{0\p@}
186 \setlength{\@tempdima}{\paperwidth}
187 \setlength{\@tempdimb}{\paperheight}
189 \advance \@tempdima 2in
190 \advance \@tempdimb 2in
192 \setlength{\pdfpagewidth}{\@tempdima}
193 \setlength{\pdfpageheight}{\@tempdimb}
194 \setlength\lineskip{1\p@}
195 \setlength\normallineskip{1\p@}
196 \renewcommand{\baselinestretch}{}
197 \setlength\parskip{0\p@ \@plus \p@}
198 \setlength\parindent{1\Cwd}
202 \setcounter{topnumber}{2}
203 \setcounter{bottomnumber}{1}
204 \setcounter{totalnumber}{3}
205 \setcounter{dbltopnumber}{2}
206 \renewcommand{\topfraction}{.7}
207 \renewcommand{\bottomfraction}{.3}
208 \renewcommand{\textfraction}{.2}
209 \renewcommand{\floatpagefraction}{.5}
210 \renewcommand{\dbltopfraction}{.7}
211 \renewcommand{\dblfloatpagefraction}{.5}
212 \def\ps@plain{\let\@mkboth\@gobbletwo
213 \let\ps@jpl@in\ps@plain
215 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
216 \let\@evenhead\@empty
217 \let\@evenfoot\@oddfoot}
218 \let\ps@jpl@in\ps@plain
219 \def\ps@headnombre{\let\@mkboth\@gobbletwo
220 \let\ps@jpl@in\ps@headnombre
221 \def\@evenhead{\hfil\thepage}%
222 \def\@oddhead{\thepage\hfil}%
223 \let\@oddfoot\@empty\let\@evenfoot\@empty}
224 \def\ps@footnombre{\let\@mkboth\@gobbletwo
225 \let\ps@jpl@in\ps@footnombre
226 \def\@evenfoot{\hfil\thepage}%
227 \def\@oddfoot{\thepage\hfil}%
228 \let\@oddhead\@empty\let\@evenhead\@empty}
230 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
231 \let\@oddfoot\@empty\let\@evenfoot\@empty
232 \def\@evenhead{{\leftmark}\hfil\thepage}%
233 \def\@oddhead{\thepage\hfil\rightmark}%
234 \let\@mkboth\markboth
235 \def\sectionmark##1{\markboth{%
236 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
238 \def\subsectionmark##1{\markright{%
239 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
242 \else % if not twoside
243 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
245 \def\@oddhead{\thepage\hfil\rightmark}%
246 \let\@mkboth\markboth
247 \def\sectionmark##1{\markright{%
248 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
253 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
254 \def\@evenhead{\hfil\leftmark}% right page
255 \def\@evenfoot{\hfil\thepage}% right page
256 \def\@oddhead{\rightmark\hfil}% left page
257 \def\@oddfoot{\thepage\hfil}% left page
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 one column
267 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
268 \def\@oddhead{\rightmark\hfil}%
269 \def\@oddfoot{\thepage\hfil}%
270 \let\@mkboth\markboth
271 \def\sectionmark##1{\markright{%
272 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
276 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
277 \let\@oddfoot\@empty\let\@evenfoot\@empty
278 \def\@evenhead{{\leftmark}\hfil\thepage}%
279 \def\@oddhead{\thepage\hfil\rightmark}%
280 \let\@mkboth\@gobbletwo
281 \let\sectionmark\@gobble
282 \let\subsectionmark\@gobble
285 \newenvironment{titlepage}
287 \if@twocolumn\@restonecoltrue\onecolumn
288 \else\@restonecolfalse\newpage\fi
289 \thispagestyle{empty}%
292 {\if@restonecol\twocolumn\else\newpage\fi
295 \newenvironment{titlepage}
298 \@restonecoltrue\onecolumn
300 \@restonecolfalse\newpage
302 \thispagestyle{empty}%
303 \setcounter{page}\@ne
305 {\if@restonecol\twocolumn \else \newpage \fi
307 \setcounter{page}\@ne
311 \def\p@thanks#1{\footnotemark
312 \protected@xdef\@thanks{\@thanks
313 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
315 \newcommand{\maketitle}{\begin{titlepage}%
316 \let\footnotesize\small
317 \let\footnoterule\relax
320 \vbox to\textheight\bgroup\tate\hsize\textwidth
324 {\LARGE \@title \par}%
328 \begin{tabular}[t]{c}%
332 {\large \@date \par}% % Set date in \large size.
334 \vfil{\centering\@thanks}\vfil\null
337 \setcounter{footnote}{0}%
338 \global\let\thanks\relax
339 \global\let\maketitle\relax
340 \global\let\p@thanks\relax
341 \global\let\@thanks\@empty
342 \global\let\@author\@empty
343 \global\let\@date\@empty
344 \global\let\@title\@empty
345 \global\let\title\relax
346 \global\let\author\relax
347 \global\let\date\relax
348 \global\let\and\relax
351 \newcommand{\maketitle}{\par
353 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
354 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
355 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
356 \long\def\@makefntext##1{\parindent 1\zw\noindent
357 \hbox to 2\zw{\hss\@makefnmark}##1}%
359 \ifnum \col@number=\@ne \@maketitle
360 \else \twocolumn[\@maketitle]%
364 \global\@topnum\z@ % Prevents figures from going at top of page.
367 \thispagestyle{jpl@in}\@thanks
369 \setcounter{footnote}{0}%
370 \global\let\thanks\relax
371 \global\let\maketitle\relax
372 \global\let\p@thanks\relax
373 \global\let\@thanks\@empty
374 \global\let\@author\@empty
375 \global\let\@date\@empty
376 \global\let\@title\@empty
377 \global\let\title\relax
378 \global\let\author\relax
379 \global\let\date\relax
380 \global\let\and\relax
386 \let\footnote\p@thanks
387 {\LARGE \@title \par}%
391 \begin{tabular}[t]{c}%
400 \newenvironment{abstract}{%
403 \@beginparpenalty\@lowpenalty
405 {\bfseries\abstractname}%
408 {\par\vfil\null\endtitlepage}
410 \newenvironment{abstract}{%
412 \section*{\abstractname}%
416 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
419 \fi}{\if@twocolumn\else\endquotation\fi}
421 \setcounter{secnumdepth}{3}
424 \newcounter{subsection}[section]
425 \newcounter{subsubsection}[subsection]
426 \newcounter{paragraph}[subsubsection]
427 \newcounter{subparagraph}[paragraph]
428 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
429 \renewcommand{\thesection}{\rensuji{\@arabic\c@section}}
430 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
431 \renewcommand{\thesubsubsection}{%
432 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
433 \renewcommand{\theparagraph}{%
434 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
435 \renewcommand{\thesubparagraph}{%
436 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
437 \newcommand{\part}{\par\addvspace{4ex}%
439 \secdef\@part\@spart}
441 \ifnum \c@secnumdepth >\m@ne
442 \refstepcounter{part}%
443 \addcontentsline{toc}{part}{%
444 \prepartname\thepart\postpartname\hspace{1\zw}#1}%
446 \addcontentsline{toc}{part}{#1}%
449 {\parindent\z@\raggedright
450 \interlinepenalty\@M\reset@font
451 \ifnum \c@secnumdepth >\m@ne
452 \Large\bfseries\prepartname\thepart\postpartname
455 \huge\bfseries#2\par}%
456 \nobreak\vskip3ex\@afterheading}
458 \parindent\z@\raggedright
459 \interlinepenalty\@M\reset@font
460 \huge\bfseries#1\par}%
461 \nobreak\vskip3ex\@afterheading}
462 \newcommand{\section}{\@startsection{section}{1}{\z@}%
463 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
464 {.5\Cvs \@plus.3\Cvs}%
465 {\reset@font\Large\bfseries}}
466 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
467 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
468 {.5\Cvs \@plus.3\Cvs}%
469 {\reset@font\large\bfseries}}
470 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
471 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
472 {.5\Cvs \@plus.3\Cvs}%
473 {\reset@font\normalsize\bfseries}}
474 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
475 {3.25ex \@plus 1ex \@minus .2ex}%
477 {\reset@font\normalsize\bfseries}}
478 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
479 {3.25ex \@plus 1ex \@minus .2ex}%
481 {\reset@font\normalsize\bfseries}}
482 \newcommand{\appendix}{\par
483 \setcounter{section}{0}%
484 \setcounter{subsection}{0}%
485 \renewcommand{\thesection}{\rensuji{\@Alph\c@section}}}
487 \setlength\leftmargini {2em}
489 \setlength\leftmargini {2.5em}
491 \setlength\leftmarginii {2.2em}
492 \setlength\leftmarginiii {1.87em}
493 \setlength\leftmarginiv {1.7em}
495 \setlength\leftmarginv {.5em}
496 \setlength\leftmarginvi{.5em}
498 \setlength\leftmarginv {1em}
499 \setlength\leftmarginvi{1em}
501 \setlength \labelsep {.5em}
502 \setlength \labelwidth{\leftmargini}
503 \addtolength\labelwidth{-\labelsep}
504 \@beginparpenalty -\@lowpenalty
505 \@endparpenalty -\@lowpenalty
506 \@itempenalty -\@lowpenalty
507 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
508 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
509 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
510 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
511 \newcommand{\labelenumi}{\theenumi}
512 \newcommand{\labelenumii}{\theenumii}
513 \newcommand{\labelenumiii}{\theenumiii}
514 \newcommand{\labelenumiv}{\theenumiv}
515 \renewcommand{\p@enumii}{\theenumi}
516 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
517 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
518 \renewenvironment{enumerate}
519 {\ifnum \@enumdepth >\thr@@\@toodeep\else
520 \advance\@enumdepth\@ne
521 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
522 \list{\csname label\@enumctr\endcsname}{%
523 \ifnum\ltjgetparameter{direction}=3
524 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
526 \parskip\z@ \itemsep\z@ \parsep\z@
527 \labelwidth1\zw \labelsep.3\zw
528 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
529 \else\leftmargin\leftskip\fi
530 \advance\leftmargin 1\zw
532 \usecounter{\@enumctr}%
533 \def\makelabel##1{\hss\llap{##1}}}%
535 \newcommand{\labelitemi}{\textbullet}
536 \newcommand{\labelitemii}{%
537 \ifnum\ltjgetparameter{direction}=3
540 {\normalfont\bfseries\textendash}
543 \newcommand{\labelitemiii}{\textasteriskcentered}
544 \newcommand{\labelitemiv}{\textperiodcentered}
545 \renewenvironment{itemize}
546 {\ifnum \@itemdepth >\thr@@\@toodeep\else
547 \advance\@itemdepth\@ne
548 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
550 \list{\csname \@itemitem\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 \@itemdepth =\@ne \leftmargin1\zw\relax
557 \else\leftmargin\leftskip\fi
558 \advance\leftmargin 1\zw
560 \def\makelabel##1{\hss\llap{##1}}}%
562 \newenvironment{description}
563 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
564 \ifnum\ltjgetparameter{direction}=3
565 \leftmargin\leftskip \advance\leftmargin3\Cwd
566 \rightmargin\rightskip
567 \labelsep=1\zw \itemsep\z@
568 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
570 \let\makelabel\descriptionlabel}}{\endlist}
571 \newcommand{\descriptionlabel}[1]{%
572 \hspace\labelsep\normalfont\bfseries #1}
573 \newenvironment{verse}
575 \list{}{\itemsep\z@ \itemindent -1.5em%
576 \listparindent\itemindent
577 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
578 \item\relax}{\endlist}
579 \newenvironment{quotation}
580 {\list{}{\listparindent 1.5em%
581 \itemindent\listparindent
582 \rightmargin\leftmargin
583 \parsep\z@ \@plus\p@}%
584 \item\relax}{\endlist}
585 \newenvironment{quote}
586 {\list{}{\rightmargin\leftmargin}%
587 \item\relax}{\endlist}
589 \renewcommand{\thefigure}{\rensuji{\@arabic\c@figure}}
593 \def\fnum@figure{\figurename\thefigure}
594 \newenvironment{figure}
597 \newenvironment{figure*}
601 \renewcommand{\thetable}{\rensuji{\@arabic\c@table}}
605 \def\fnum@table{\tablename\thetable}
606 \newenvironment{table}
609 \newenvironment{table*}
612 \newlength\abovecaptionskip
613 \newlength\belowcaptionskip
614 \setlength\abovecaptionskip{10\p@}
615 \setlength\belowcaptionskip{0\p@}
616 \long\def\@makecaption#1#2{%
617 \vskip\abovecaptionskip
618 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
619 \else\sbox\@tempboxa{#1: #2}%
621 \ifdim \wd\@tempboxa >\hsize
622 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
623 \else #1: #2\relax\par\fi
625 \global \@minipagefalse
626 \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
628 \vskip\belowcaptionskip}
629 \setlength\arraycolsep{5\p@}
630 \setlength\tabcolsep{6\p@}
631 \setlength\arrayrulewidth{.4\p@}
632 \setlength\doublerulesep{2\p@}
633 \setlength\tabbingsep{\labelsep}
634 \skip\@mpfootins = \skip\footins
635 \setlength\fboxsep{3\p@}
636 \setlength\fboxrule{.4\p@}
637 \renewcommand{\theequation}{\@arabic\c@equation}
638 \if@compatibility\else
639 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
640 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
641 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
643 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
647 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
648 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
651 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
652 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
653 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
654 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
655 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
656 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
657 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
658 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
659 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
660 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
661 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
662 \setcounter{tocdepth}{3}
663 \newcommand{\@pnumwidth}{1.55em}
664 \newcommand{\@tocrmarg}{2.55em}
665 \newcommand{\@dotsep}{4.5}
666 \newdimen\toclineskip
667 \setlength\toclineskip{2\p@}
669 \def\numberline#1{\hbox to\@lnumwidth{#1\hfil}}
670 \def\@dottedtocline#1#2#3#4#5{%
671 \ifnum #1>\c@tocdepth \else
672 \vskip\toclineskip \@plus.2\p@
673 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
674 \parindent #2\relax\@afterindenttrue
678 \advance\leftskip \@lnumwidth \hbox{}\hskip -\leftskip
680 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
682 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
685 \def\addcontentsline#1#2#3{%
686 \protected@write\@auxout
687 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
688 \@temptokena{\rensuji{\thepage}}}%
689 {\string\@writefile{#1}%
690 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
692 \newcommand{\tableofcontents}{%
693 \section*{\contentsname
694 \@mkboth{\contentsname}{\contentsname}%
697 \newcommand*{\l@part}[2]{%
698 \ifnum \c@tocdepth >-2\relax
699 \addpenalty{\@secpenalty}%
700 \addvspace{2.25em \@plus\p@}%
702 \parindent\z@\rightskip\@pnumwidth
703 \parfillskip-\@pnumwidth
704 {\leavevmode\large\bfseries
705 \setlength\@lnumwidth{4\zw}%
707 \hbox to\@pnumwidth{\hss#2}}\par
711 \everypar{\global\@nobreakfalse\everypar{}}%
715 \newcommand*{\l@section}[2]{%
716 \ifnum \c@tocdepth >\z@
717 \addpenalty{\@secpenalty}%
718 \addvspace{1.0em \@plus\p@}%
720 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
722 \setlength\@lnumwidth{1.5em}%
723 \advance\leftskip\@lnumwidth \hskip-\leftskip
724 #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
727 \newcommand*{\l@subsection} {\@dottedtocline{2}{1\zw}{4\zw}}
728 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{2\zw}{6\zw}}
729 \newcommand*{\l@paragraph} {\@dottedtocline{4}{3\zw}{8\zw}}
730 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{4\zw}{9\zw}}
731 \newcommand{\listoffigures}{%
732 \section*{\listfigurename
733 \@mkboth{\listfigurename}{\listfigurename}}%
736 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
737 \newcommand{\listoftables}{%
738 \section*{\listtablename
739 \@mkboth{\listtablename}{\listtablename}}%
742 \let\l@table\l@figure
744 \setlength\bibindent{1.5em}
745 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
746 \newenvironment{thebibliography}[1]
747 {\section*{\refname\@mkboth{\refname}{\refname}}%
748 \list{\@biblabel{\@arabic\c@enumiv}}%
749 {\settowidth\labelwidth{\@biblabel{#1}}%
750 \leftmargin\labelwidth
751 \advance\leftmargin\labelsep
755 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
758 \@clubpenalty\clubpenalty
762 {\@latex@warning{Empty `thebibliography' environment}}%
764 \let\@openbib@code\@empty
765 \newenvironment{theindex}
766 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
767 \columnseprule\z@ \columnsep 35\p@
768 \twocolumn[\section*{\indexname}]%
769 \@mkboth{\indexname}{\indexname}%
770 \thispagestyle{jpl@in}\parindent\z@
771 \parskip\z@ \@plus .3\p@\relax
773 {\if@restonecol\onecolumn\else\clearpage\fi}
774 \newcommand{\@idxitem}{\par\hangindent 40\p@}
775 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
776 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
777 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
778 \renewcommand{\footnoterule}{%
780 \hrule width .4\columnwidth
782 \newcommand\@makefntext[1]{\parindent 1\zw
783 \noindent\hbox to 2\zw{\hss\@makefnmark}#1}
787 \newcount\heisei \heisei\year \advance\heisei-1988\relax
789 \ifnum\ltjgetparameter{direction}=3
791 \kansuji\number\year 年
792 \kansuji\number\month 月
793 \kansuji\number\day 日
795 平成\ifnum\heisei=1 元年\else\kansuji\number\heisei 年\fi
796 \kansuji\number\month 月
797 \kansuji\number\day 日
805 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
810 \newcommand{\prepartname}{第}
811 \newcommand{\postpartname}{部}
812 \newcommand{\contentsname}{目 次}
813 \newcommand{\listfigurename}{図 目 次}
814 \newcommand{\listtablename}{表 目 次}
815 \newcommand{\refname}{参考文献}
816 \newcommand{\indexname}{索 引}
817 \newcommand{\figurename}{図}
818 \newcommand{\tablename}{表}
819 \newcommand{\appendixname}{付 録}
820 \newcommand{\abstractname}{概 要}
822 \pagenumbering{arabic}
834 %% End of file `ltjtarticle.cls'.