2 %% This is file `ltjreport.cls',
3 %% generated with the docstrip utility.
5 %% The original source files were:
7 %% ltjclasses.dtx (with options: `report,yoko')
11 %% For the copyright see the source file.
13 %% Any modified versions of this file must be renamed
14 %% with new filenames distinct from ltjreport.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{ltjreport}
43 Standard LuaLaTeX-ja class]
44 \RequirePackage{luatexja}
46 \newif\if@landscape \@landscapefalse
47 \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@enablejfam \@enablejfamtrue
57 \newif\if@mathrmmc \@mathrmmcfalse
58 \DeclareOption{a4paper}{\setcounter{@paper}{1}%
59 \setlength\paperheight {297mm}%
60 \setlength\paperwidth {210mm}}
61 \DeclareOption{a5paper}{\setcounter{@paper}{2}%
62 \setlength\paperheight {210mm}
63 \setlength\paperwidth {148mm}}
64 \DeclareOption{b4paper}{\setcounter{@paper}{3}%
65 \setlength\paperheight {364mm}
66 \setlength\paperwidth {257mm}}
67 \DeclareOption{b5paper}{\setcounter{@paper}{4}%
68 \setlength\paperheight {257mm}
69 \setlength\paperwidth {182mm}}
70 \DeclareOption{a4j}{\setcounter{@paper}{1}\@stysizetrue
71 \setlength\paperheight {297mm}%
72 \setlength\paperwidth {210mm}}
73 \DeclareOption{a5j}{\setcounter{@paper}{2}\@stysizetrue
74 \setlength\paperheight {210mm}
75 \setlength\paperwidth {148mm}}
76 \DeclareOption{b4j}{\setcounter{@paper}{3}\@stysizetrue
77 \setlength\paperheight {364mm}
78 \setlength\paperwidth {257mm}}
79 \DeclareOption{b5j}{\setcounter{@paper}{4}\@stysizetrue
80 \setlength\paperheight {257mm}
81 \setlength\paperwidth {182mm}}
82 \DeclareOption{a4p}{\setcounter{@paper}{1}\@stysizetrue
83 \setlength\paperheight {297mm}%
84 \setlength\paperwidth {210mm}}
85 \DeclareOption{a5p}{\setcounter{@paper}{2}\@stysizetrue
86 \setlength\paperheight {210mm}
87 \setlength\paperwidth {148mm}}
88 \DeclareOption{b4p}{\setcounter{@paper}{3}\@stysizetrue
89 \setlength\paperheight {364mm}
90 \setlength\paperwidth {257mm}}
91 \DeclareOption{b5p}{\setcounter{@paper}{4}\@stysizetrue
92 \setlength\paperheight {257mm}
93 \setlength\paperwidth {182mm}}
95 \renewcommand{\@ptsize}{0}
97 \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
99 \DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
100 \DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
101 \DeclareOption{landscape}{\@landscapetrue
102 \setlength\@tempdima{\paperheight}%
103 \setlength\paperheight{\paperwidth}%
104 \setlength\paperwidth{\@tempdima}}
105 \DeclareOption{tombow}{%
106 \tombowtrue \tombowdatetrue
107 \setlength{\@tombowwidth}{.1\p@}%
109 \jobname\space:\space\number\year/\number\month/\number\day
110 (\number\hour:\number\minute)}
112 \DeclareOption{tombo}{%
113 \tombowtrue \tombowdatefalse
114 \setlength{\@tombowwidth}{.1\p@}%
116 \DeclareOption{mentuke}{%
117 \tombowtrue \tombowdatefalse
118 \setlength{\@tombowwidth}{\z@}%
120 %% \DeclareOption{tate}{%
121 %% \AtBeginDocument{\tate\message{《縦組モード》}%
124 \DeclareOption{oneside}{\@twosidefalse}
125 \DeclareOption{twoside}{\@twosidetrue}
126 \DeclareOption{onecolumn}{\@twocolumnfalse}
127 \DeclareOption{twocolumn}{\@twocolumntrue}
128 \DeclareOption{titlepage}{\@titlepagetrue}
129 \DeclareOption{notitlepage}{\@titlepagefalse}
132 \DeclareOption{openright}{\@openrighttrue}
133 \DeclareOption{openany}{\@openrightfalse}
135 \DeclareOption{leqno}{\input{leqno.clo}}
136 \DeclareOption{fleqn}{\input{fleqn.clo}}
137 \DeclareOption{openbib}{%
139 \renewcommand\@openbib@code{%
140 \advance\leftmargin\bibindent
141 \itemindent -\bibindent
142 \listparindent \itemindent
145 \renewcommand\newblock{\par}}}
149 \DeclareOption{disablejfam}{\@enablejfamfalse}
150 \DeclareOption{mathrmmc}{\@mathrmmctrue}
152 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
153 \DeclareOption{final}{\setlength\overfullrule{0pt}}
154 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany}
155 \ProcessOptions\relax
156 \input{ltjsize1\@ptsize.clo}
158 \setlength\columnsep{2\Cwd}
160 \setlength\columnsep{10\p@}
162 \setlength\columnseprule{0\p@}
163 \setlength{\@tempdima}{\paperwidth}
164 \setlength{\@tempdimb}{\paperheight}
166 \advance \@tempdima 2in
167 \advance \@tempdimb 2in
169 \setlength{\pdfpagewidth}{\@tempdima}
170 \setlength{\pdfpageheight}{\@tempdimb}
171 \setlength\lineskip{1\p@}
172 \setlength\normallineskip{1\p@}
173 \renewcommand{\baselinestretch}{}
174 \setlength\parskip{0\p@ \@plus \p@}
175 \setlength\parindent{1\Cwd}
179 \setcounter{topnumber}{2}
180 \setcounter{bottomnumber}{1}
181 \setcounter{totalnumber}{3}
182 \setcounter{dbltopnumber}{2}
183 \renewcommand{\topfraction}{.7}
184 \renewcommand{\bottomfraction}{.3}
185 \renewcommand{\textfraction}{.2}
186 \renewcommand{\floatpagefraction}{.5}
187 \renewcommand{\dbltopfraction}{.7}
188 \renewcommand{\dblfloatpagefraction}{.5}
189 \def\ps@plain{\let\@mkboth\@gobbletwo
190 \let\ps@jpl@in\ps@plain
192 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
193 \let\@evenhead\@empty
194 \let\@evenfoot\@oddfoot}
195 \let\ps@jpl@in\ps@plain
196 \def\ps@headnombre{\let\@mkboth\@gobbletwo
197 \let\ps@jpl@in\ps@headnombre
198 \def\@evenhead{\thepage\hfil}%
199 \def\@oddhead{\hfil\thepage}%
200 \let\@oddfoot\@empty\let\@evenfoot\@empty}
201 \def\ps@footnombre{\let\@mkboth\@gobbletwo
202 \let\ps@jpl@in\ps@footnombre
203 \def\@evenfoot{\thepage\hfil}%
204 \def\@oddfoot{\hfil\thepage}%
205 \let\@oddhead\@empty\let\@evenhead\@empty}
207 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
208 \let\@oddfoot\@empty\let\@evenfoot\@empty
209 \def\@evenhead{\thepage\hfil\leftmark}%
210 \def\@oddhead{{\rightmark}\hfil\thepage}%
211 \let\@mkboth\markboth
212 \def\chaptermark##1{\markboth{%
213 \ifnum \c@secnumdepth >\m@ne
214 \@chapapp\thechapter\@chappos\hskip1\zw
217 \def\sectionmark##1{\markright{%
218 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
221 \else % if not twoside
222 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
224 \def\@oddhead{{\rightmark}\hfil\thepage}%
225 \let\@mkboth\markboth
226 \def\chaptermark##1{\markright{%
227 \ifnum \c@secnumdepth >\m@ne
228 \@chapapp\thechapter\@chappos\hskip1\zw
234 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
235 \def\@evenhead{\leftmark\hfil}% right page
236 \def\@evenfoot{\thepage\hfil}% right page
237 \def\@oddhead{\hfil\rightmark}% left page
238 \def\@oddfoot{\hfil\thepage}% left page
239 \let\@mkboth\markboth
240 \def\chaptermark##1{\markboth{%
241 \ifnum \c@secnumdepth >\m@ne
242 \@chapapp\thechapter\@chappos\hskip1\zw
245 \def\sectionmark##1{\markright{%
246 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
249 \else % if one column
250 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
251 \def\@oddhead{\hfil\rightmark}%
252 \def\@oddfoot{\hfil\thepage}%
253 \let\@mkboth\markboth
254 \def\chaptermark##1{\markright{%
255 \ifnum \c@secnumdepth >\m@ne
256 \@chapapp\thechapter\@chappos\hskip1\zw
261 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
262 \let\@oddfoot\@empty\let\@evenfoot\@empty
263 \def\@evenhead{\thepage\hfil\leftmark}%
264 \def\@oddhead{{\rightmark}\hfil\thepage}%
265 \let\@mkboth\@gobbletwo
266 \let\chaptermark\@gobble
267 \let\sectionmark\@gobble
270 \newenvironment{titlepage}
272 \if@twocolumn\@restonecoltrue\onecolumn
273 \else\@restonecolfalse\newpage\fi
274 \thispagestyle{empty}%
277 {\if@restonecol\twocolumn\else\newpage\fi
280 \newenvironment{titlepage}
283 \@restonecoltrue\onecolumn
285 \@restonecolfalse\newpage
287 \thispagestyle{empty}%
288 \setcounter{page}\@ne
290 {\if@restonecol\twocolumn \else \newpage \fi
292 \setcounter{page}\@ne
296 \def\p@thanks#1{\footnotemark
297 \protected@xdef\@thanks{\@thanks
298 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
300 \newcommand{\maketitle}{\begin{titlepage}%
301 \let\footnotesize\small
302 \let\footnoterule\relax
307 {\LARGE \@title \par}%
311 \begin{tabular}[t]{c}%
315 {\large \@date \par}% % Set date in \large size.
319 \setcounter{footnote}{0}%
320 \global\let\thanks\relax
321 \global\let\maketitle\relax
322 \global\let\p@thanks\relax
323 \global\let\@thanks\@empty
324 \global\let\@author\@empty
325 \global\let\@date\@empty
326 \global\let\@title\@empty
327 \global\let\title\relax
328 \global\let\author\relax
329 \global\let\date\relax
330 \global\let\and\relax
333 \newcommand{\maketitle}{\par
335 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
336 \def\@makefnmark{\hbox{\ifydir $\m@th^{\@thefnmark}$
337 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
338 \long\def\@makefntext##1{\parindent 1em\noindent
339 \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
341 \ifnum \col@number=\@ne \@maketitle
342 \else \twocolumn[\@maketitle]%
346 \global\@topnum\z@ % Prevents figures from going at top of page.
349 \thispagestyle{jpl@in}\@thanks
351 \setcounter{footnote}{0}%
352 \global\let\thanks\relax
353 \global\let\maketitle\relax
354 \global\let\p@thanks\relax
355 \global\let\@thanks\@empty
356 \global\let\@author\@empty
357 \global\let\@date\@empty
358 \global\let\@title\@empty
359 \global\let\title\relax
360 \global\let\author\relax
361 \global\let\date\relax
362 \global\let\and\relax
369 {\LARGE \@title \par}%
373 \begin{tabular}[t]{c}%
382 \newenvironment{abstract}{%
385 \@beginparpenalty\@lowpenalty
387 {\bfseries\abstractname}%
390 {\par\vfil\null\endtitlepage}
392 \newenvironment{abstract}{%
394 \section*{\abstractname}%
398 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
401 \fi}{\if@twocolumn\else\endquotation\fi}
403 \newcommand*{\chaptermark}[1]{}
404 \setcounter{secnumdepth}{2}
407 \newcounter{section}[chapter]
408 \newcounter{subsection}[section]
409 \newcounter{subsubsection}[subsection]
410 \newcounter{paragraph}[subsubsection]
411 \newcounter{subparagraph}[paragraph]
412 \renewcommand{\thepart}{\@Roman\c@part}
413 \renewcommand{\thechapter}{\@arabic\c@chapter}
414 \renewcommand{\thesection}{\thechapter.\@arabic\c@section}
415 \renewcommand{\thesubsection}{\thesection.\@arabic\c@subsection}
416 \renewcommand{\thesubsubsection}{%
417 \thesubsection.\@arabic\c@subsubsection}
418 \renewcommand{\theparagraph}{%
419 \thesubsubsection.\@arabic\c@paragraph}
420 \renewcommand{\thesubparagraph}{%
421 \theparagraph.\@arabic\c@subparagraph}
422 \newcommand{\@chapapp}{\prechaptername}
423 \newcommand{\@chappos}{\postchaptername}
425 \if@openright \cleardoublepage \else \clearpage \fi
426 \thispagestyle{empty}%
427 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
429 \secdef\@part\@spart}
431 \ifnum \c@secnumdepth >-2\relax
432 \refstepcounter{part}%
433 \addcontentsline{toc}{part}{%
434 \prepartname\thepart\postpartname\hspace{1em}#1}%
436 \addcontentsline{toc}{part}{#1}%
440 \interlinepenalty\@M\reset@font
441 \ifnum \c@secnumdepth >-2\relax
442 \huge\bfseries\prepartname\thepart\postpartname
445 \Huge\bfseries#2\par}%
449 \interlinepenalty\@M\reset@font
450 \Huge\bfseries#1\par}%
452 \def\@endpart{\vfil\newpage
453 \if@twoside\null\thispagestyle{empty}\newpage\fi
454 \if@tempswa\twocolumn\fi}
455 \newcommand{\chapter}{%
456 \if@openright\cleardoublepage\else\clearpage\fi
457 \thispagestyle{jpl@in}%
460 \secdef\@chapter\@schapter}
461 \def\@chapter[#1]#2{%
462 \ifnum \c@secnumdepth >\m@ne
463 \refstepcounter{chapter}%
464 \typeout{\@chapapp\space\thechapter\space\@chappos}%
465 \addcontentsline{toc}{chapter}%
466 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
468 \addcontentsline{toc}{chapter}{#1}%
471 \addtocontents{lof}{\protect\addvspace{10\p@}}%
472 \addtocontents{lot}{\protect\addvspace{10\p@}}%
473 \@makechapterhead{#2}\@afterheading}
474 \def\@makechapterhead#1{\hbox{}%
478 \reset@font\huge\bfseries
480 \ifnum \c@secnumdepth >\m@ne
481 \setlength\@tempdima{\linewidth}%
482 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
483 \addtolength\@tempdima{-\wd\z@}%
485 \vtop{\hsize\@tempdima#1}%
488 \fi}\nobreak\vskip3\Cvs}
490 \@makeschapterhead{#1}\@afterheading
492 \def\@makeschapterhead#1{\hbox{}%
496 \reset@font\huge\bfseries
498 \setlength\@tempdima{\linewidth}%
499 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
500 \newcommand{\section}{\@startsection{section}{1}{\z@}%
501 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
502 {.5\Cvs \@plus.3\Cvs}%
503 {\reset@font\Large\bfseries}}
504 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
505 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
506 {.5\Cvs \@plus.3\Cvs}%
507 {\reset@font\large\bfseries}}
508 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
509 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
510 {.5\Cvs \@plus.3\Cvs}%
511 {\reset@font\normalsize\bfseries}}
512 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
513 {3.25ex \@plus 1ex \@minus .2ex}%
515 {\reset@font\normalsize\bfseries}}
516 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
517 {3.25ex \@plus 1ex \@minus .2ex}%
519 {\reset@font\normalsize\bfseries}}
520 \newcommand{\appendix}{\par
521 \setcounter{chapter}{0}%
522 \setcounter{section}{0}%
523 \renewcommand{\@chapapp}{\appendixname}%
524 \renewcommand{\@chappos}\space%
525 \renewcommand{\thechapter}{\@Alph\c@chapter}}
527 \setlength\leftmargini {2em}
529 \setlength\leftmargini {2.5em}
531 \setlength\leftmarginii {2.2em}
532 \setlength\leftmarginiii {1.87em}
533 \setlength\leftmarginiv {1.7em}
535 \setlength\leftmarginv {.5em}
536 \setlength\leftmarginvi{.5em}
538 \setlength\leftmarginv {1em}
539 \setlength\leftmarginvi{1em}
541 \setlength \labelsep {.5em}
542 \setlength \labelwidth{\leftmargini}
543 \addtolength\labelwidth{-\labelsep}
544 \@beginparpenalty -\@lowpenalty
545 \@endparpenalty -\@lowpenalty
546 \@itempenalty -\@lowpenalty
547 \renewcommand{\theenumi}{\@arabic\c@enumi}
548 \renewcommand{\theenumii}{\@alph\c@enumii}
549 \renewcommand{\theenumiii}{\@roman\c@enumiii}
550 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
551 \newcommand{\labelenumi}{\theenumi.}
552 \newcommand{\labelenumii}{(\theenumii)}
553 \newcommand{\labelenumiii}{\theenumiii.}
554 \newcommand{\labelenumiv}{\theenumiv.}
555 \renewcommand{\p@enumii}{\theenumi}
556 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
557 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
558 \renewenvironment{enumerate}
559 {\ifnum \@enumdepth >\thr@@\@toodeep\else
560 \advance\@enumdepth\@ne
561 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
562 \list{\csname label\@enumctr\endcsname}{%
564 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
566 \parskip\z@ \itemsep\z@ \parsep\z@
567 \labelwidth1\zw \labelsep.3\zw
568 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
569 \else\leftmargin\leftskip\fi
570 \advance\leftmargin 1\zw
572 \usecounter{\@enumctr}%
573 \def\makelabel##1{\hss\llap{##1}}}%
575 \newcommand{\labelitemi}{\textbullet}
576 \newcommand{\labelitemii}{%
580 {\normalfont\bfseries\textendash}
583 \newcommand{\labelitemiii}{\textasteriskcentered}
584 \newcommand{\labelitemiv}{\textperiodcentered}
585 \renewenvironment{itemize}
586 {\ifnum \@itemdepth >\thr@@\@toodeep\else
587 \advance\@itemdepth\@ne
588 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
590 \list{\csname \@itemitem\endcsname}{%
592 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
594 \parskip\z@ \itemsep\z@ \parsep\z@
595 \labelwidth1\zw \labelsep.3\zw
596 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
597 \else\leftmargin\leftskip\fi
598 \advance\leftmargin 1\zw
600 \def\makelabel##1{\hss\llap{##1}}}%
602 \newenvironment{description}
603 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
605 \leftmargin\leftskip \advance\leftmargin3\Cwd
606 \rightmargin\rightskip
607 \labelsep=1\zw \itemsep\z@
608 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
610 \let\makelabel\descriptionlabel}}{\endlist}
611 \newcommand{\descriptionlabel}[1]{%
612 \hspace\labelsep\normalfont\bfseries #1}
613 \newenvironment{verse}
615 \list{}{\itemsep\z@ \itemindent -1.5em%
616 \listparindent\itemindent
617 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
618 \item\relax}{\endlist}
619 \newenvironment{quotation}
620 {\list{}{\listparindent 1.5em%
621 \itemindent\listparindent
622 \rightmargin\leftmargin
623 \parsep\z@ \@plus\p@}%
624 \item\relax}{\endlist}
625 \newenvironment{quote}
626 {\list{}{\rightmargin\leftmargin}%
627 \item\relax}{\endlist}
628 \newcounter{figure}[chapter]
629 \renewcommand{\thefigure}{%
630 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@figure}
634 \def\fnum@figure{\figurename~\thefigure}
635 \newenvironment{figure}
638 \newenvironment{figure*}
641 \newcounter{table}[chapter]
642 \renewcommand{\thetable}{%
643 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@table}
647 \def\fnum@table{\tablename~\thetable}
648 \newenvironment{table}
651 \newenvironment{table*}
654 \newlength\abovecaptionskip
655 \newlength\belowcaptionskip
656 \setlength\abovecaptionskip{10\p@}
657 \setlength\belowcaptionskip{0\p@}
658 \long\def\@makecaption#1#2{%
659 \vskip\abovecaptionskip
660 \iftdir\sbox\@tempboxa{#1\hskip1\zw#2}%
661 \else\sbox\@tempboxa{#1: #2}%
663 \ifdim \wd\@tempboxa >\hsize
664 \iftdir #1\hskip1\zw#2\relax\par
665 \else #1: #2\relax\par\fi
667 \global \@minipagefalse
668 \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
670 \vskip\belowcaptionskip}
671 \setlength\arraycolsep{5\p@}
672 \setlength\tabcolsep{6\p@}
673 \setlength\arrayrulewidth{.4\p@}
674 \setlength\doublerulesep{2\p@}
675 \setlength\tabbingsep{\labelsep}
676 \skip\@mpfootins = \skip\footins
677 \setlength\fboxsep{3\p@}
678 \setlength\fboxrule{.4\p@}
679 \@addtoreset{equation}{chapter}
680 \renewcommand{\theequation}{%
681 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
682 \if@compatibility\else
683 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
684 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
685 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
687 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
691 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
692 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
695 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
696 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
697 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
698 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
699 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
700 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
701 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
702 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
703 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
704 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
705 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
706 \setcounter{tocdepth}{2}
707 \newcommand{\@pnumwidth}{1.55em}
708 \newcommand{\@tocrmarg}{2.55em}
709 \newcommand{\@dotsep}{4.5}
710 \newdimen\toclineskip
711 \setlength\toclineskip{\z@}
713 \def\numberline#1{\hbox to\@lnumwidth{#1\hfil}}
714 \def\@dottedtocline#1#2#3#4#5{%
715 \ifnum #1>\c@tocdepth \else
716 \vskip\toclineskip \@plus.2\p@
717 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
718 \parindent #2\relax\@afterindenttrue
722 \advance\leftskip \@lnumwidth \hbox{}\hskip -\leftskip
724 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
726 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
729 \def\addcontentsline#1#2#3{%
730 \protected@write\@auxout
731 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
732 \@temptokena{\thepage}}%
733 {\string\@writefile{#1}%
734 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
736 \newcommand{\tableofcontents}{%
737 \if@twocolumn\@restonecoltrue\onecolumn
738 \else\@restonecolfalse\fi
739 \chapter*{\contentsname
740 \@mkboth{\contentsname}{\contentsname}%
742 \if@restonecol\twocolumn\fi
744 \newcommand*{\l@part}[2]{%
745 \ifnum \c@tocdepth >-2\relax
746 \addpenalty{-\@highpenalty}%
747 \addvspace{2.25em \@plus\p@}%
749 \parindent\z@\rightskip\@pnumwidth
750 \parfillskip-\@pnumwidth
751 {\leavevmode\large\bfseries
752 \setlength\@lnumwidth{4\zw}%
754 \hbox to\@pnumwidth{\hss#2}}\par
757 \everypar{\global\@nobreakfalse\everypar{}}%
760 \newcommand*{\l@chapter}[2]{%
761 \ifnum \c@tocdepth >\m@ne
762 \addpenalty{-\@highpenalty}%
763 \addvspace{1.0em \@plus\p@}%
765 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
767 \setlength\@lnumwidth{4\zw}%
768 \advance\leftskip\@lnumwidth \hskip-\leftskip
769 #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
770 \penalty\@highpenalty
773 \newcommand*{\l@section}{\@dottedtocline{1}{1.5em}{2.3em}}
774 \newcommand*{\l@subsection} {\@dottedtocline{2}{3.8em}{3.2em}}
775 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{7.0em}{4.1em}}
776 \newcommand*{\l@paragraph} {\@dottedtocline{4}{10em}{5em}}
777 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{12em}{6em}}
778 \newcommand{\listoffigures}{%
779 \if@twocolumn\@restonecoltrue\onecolumn
780 \else\@restonecolfalse\fi
781 \chapter*{\listfigurename
782 \@mkboth{\listfigurename}{\listfigurename}}%
784 \if@restonecol\twocolumn\fi
786 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
787 \newcommand{\listoftables}{%
788 \if@twocolumn\@restonecoltrue\onecolumn
789 \else\@restonecolfalse\fi
790 \chapter*{\listtablename
791 \@mkboth{\listtablename}{\listtablename}}%
793 \if@restonecol\twocolumn\fi
795 \let\l@table\l@figure
797 \setlength\bibindent{1.5em}
798 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
799 \newenvironment{thebibliography}[1]
800 {\chapter*{\bibname\@mkboth{\bibname}{\bibname}}%
801 \list{\@biblabel{\@arabic\c@enumiv}}%
802 {\settowidth\labelwidth{\@biblabel{#1}}%
803 \leftmargin\labelwidth
804 \advance\leftmargin\labelsep
808 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
811 \@clubpenalty\clubpenalty
815 {\@latex@warning{Empty `thebibliography' environment}}%
817 \let\@openbib@code\@empty
818 \newenvironment{theindex}
819 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
820 \columnseprule\z@ \columnsep 35\p@
821 \twocolumn[\@makeschapterhead{\indexname}]%
822 \@mkboth{\indexname}{\indexname}%
823 \thispagestyle{jpl@in}\parindent\z@
824 \parskip\z@ \@plus .3\p@\relax
826 {\if@restonecol\onecolumn\else\clearpage\fi}
827 \newcommand{\@idxitem}{\par\hangindent 40\p@}
828 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
829 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
830 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
831 \renewcommand{\footnoterule}{%
833 \hrule width .4\columnwidth
835 \@addtoreset{footnote}{chapter}
836 \newcommand\@makefntext[1]{\parindent 1em
837 \noindent\hbox to 1.8em{\hss\@makefnmark}#1}
838 \newif\ifSeireki \Seirekifalse
839 \def\Seireki{\Seirekitrue}
840 \def\Wareki{\Seirekifalse}
841 \newcount\heisei \heisei\year \advance\heisei-1988\relax
845 \kansuji\number\year 年
846 \kansuji\number\month 月
847 \kansuji\number\day 日
849 平成\ifnum\heisei=1 元年\else\kansuji\number\heisei 年\fi
850 \kansuji\number\month 月
851 \kansuji\number\day 日
859 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
864 \newcommand{\prepartname}{第}
865 \newcommand{\postpartname}{部}
866 \newcommand{\prechaptername}{第}
867 \newcommand{\postchaptername}{章}
868 \newcommand{\contentsname}{目 次}
869 \newcommand{\listfigurename}{図 目 次}
870 \newcommand{\listtablename}{表 目 次}
871 \newcommand{\bibname}{関連図書}
872 \newcommand{\indexname}{索 引}
873 \newcommand{\figurename}{図}
874 \newcommand{\tablename}{表}
875 \newcommand{\appendixname}{付 録}
876 \newcommand{\abstractname}{概 要}
878 \pagenumbering{arabic}
893 %% End of file `ltjreport.cls'.