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}
42 [2014/06/08 v1.6-ltj-3
43 Standard LuaLaTeX-ja class]
44 \RequirePackage{luatexja}
45 \RequirePackage{filehook}
47 \newif\if@landscape \@landscapefalse
48 \newcommand{\@ptsize}{}
53 \hour\time \divide\hour by 60\relax
54 \@tempcnta\hour \multiply\@tempcnta 60\relax
55 \minute\time \advance\minute-\@tempcnta
56 \newif\if@stysize \@stysizefalse
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}{%
150 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
151 \DeclareOption{mathrmmc}{\@mathrmmctrue}
153 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
154 \DeclareOption{final}{\setlength\overfullrule{0pt}}
155 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany}
156 \ProcessOptions\relax
157 \input{ltjsize1\@ptsize.clo}
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')}
168 \setlength\columnsep{2\Cwd}
170 \setlength\columnsep{10\p@}
172 \setlength\columnseprule{0\p@}
173 \setlength{\@tempdima}{\paperwidth}
174 \setlength{\@tempdimb}{\paperheight}
176 \advance \@tempdima 2in
177 \advance \@tempdimb 2in
179 \setlength{\pdfpagewidth}{\@tempdima}
180 \setlength{\pdfpageheight}{\@tempdimb}
181 \setlength\lineskip{1\p@}
182 \setlength\normallineskip{1\p@}
183 \renewcommand{\baselinestretch}{}
184 \setlength\parskip{0\p@ \@plus \p@}
185 \setlength\parindent{1\Cwd}
189 \setcounter{topnumber}{2}
190 \setcounter{bottomnumber}{1}
191 \setcounter{totalnumber}{3}
192 \setcounter{dbltopnumber}{2}
193 \renewcommand{\topfraction}{.7}
194 \renewcommand{\bottomfraction}{.3}
195 \renewcommand{\textfraction}{.2}
196 \renewcommand{\floatpagefraction}{.5}
197 \renewcommand{\dbltopfraction}{.7}
198 \renewcommand{\dblfloatpagefraction}{.5}
199 \def\ps@plain{\let\@mkboth\@gobbletwo
200 \let\ps@jpl@in\ps@plain
202 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
203 \let\@evenhead\@empty
204 \let\@evenfoot\@oddfoot}
205 \let\ps@jpl@in\ps@plain
206 \def\ps@headnombre{\let\@mkboth\@gobbletwo
207 \let\ps@jpl@in\ps@headnombre
208 \def\@evenhead{\thepage\hfil}%
209 \def\@oddhead{\hfil\thepage}%
210 \let\@oddfoot\@empty\let\@evenfoot\@empty}
211 \def\ps@footnombre{\let\@mkboth\@gobbletwo
212 \let\ps@jpl@in\ps@footnombre
213 \def\@evenfoot{\thepage\hfil}%
214 \def\@oddfoot{\hfil\thepage}%
215 \let\@oddhead\@empty\let\@evenhead\@empty}
217 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
218 \let\@oddfoot\@empty\let\@evenfoot\@empty
219 \def\@evenhead{\thepage\hfil\leftmark}%
220 \def\@oddhead{{\rightmark}\hfil\thepage}%
221 \let\@mkboth\markboth
222 \def\chaptermark##1{\markboth{%
223 \ifnum \c@secnumdepth >\m@ne
224 \@chapapp\thechapter\@chappos\hskip1\zw
227 \def\sectionmark##1{\markright{%
228 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
231 \else % if not twoside
232 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
234 \def\@oddhead{{\rightmark}\hfil\thepage}%
235 \let\@mkboth\markboth
236 \def\chaptermark##1{\markright{%
237 \ifnum \c@secnumdepth >\m@ne
238 \@chapapp\thechapter\@chappos\hskip1\zw
244 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
245 \def\@evenhead{\leftmark\hfil}% right page
246 \def\@evenfoot{\thepage\hfil}% right page
247 \def\@oddhead{\hfil\rightmark}% left page
248 \def\@oddfoot{\hfil\thepage}% left page
249 \let\@mkboth\markboth
250 \def\chaptermark##1{\markboth{%
251 \ifnum \c@secnumdepth >\m@ne
252 \@chapapp\thechapter\@chappos\hskip1\zw
255 \def\sectionmark##1{\markright{%
256 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
259 \else % if one column
260 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
261 \def\@oddhead{\hfil\rightmark}%
262 \def\@oddfoot{\hfil\thepage}%
263 \let\@mkboth\markboth
264 \def\chaptermark##1{\markright{%
265 \ifnum \c@secnumdepth >\m@ne
266 \@chapapp\thechapter\@chappos\hskip1\zw
271 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
272 \let\@oddfoot\@empty\let\@evenfoot\@empty
273 \def\@evenhead{\thepage\hfil\leftmark}%
274 \def\@oddhead{{\rightmark}\hfil\thepage}%
275 \let\@mkboth\@gobbletwo
276 \let\chaptermark\@gobble
277 \let\sectionmark\@gobble
280 \newenvironment{titlepage}
282 \if@twocolumn\@restonecoltrue\onecolumn
283 \else\@restonecolfalse\newpage\fi
284 \thispagestyle{empty}%
287 {\if@restonecol\twocolumn\else\newpage\fi
290 \newenvironment{titlepage}
293 \@restonecoltrue\onecolumn
295 \@restonecolfalse\newpage
297 \thispagestyle{empty}%
298 \setcounter{page}\@ne
300 {\if@restonecol\twocolumn \else \newpage \fi
302 \setcounter{page}\@ne
306 \def\p@thanks#1{\footnotemark
307 \protected@xdef\@thanks{\@thanks
308 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
310 \newcommand{\maketitle}{\begin{titlepage}%
311 \let\footnotesize\small
312 \let\footnoterule\relax
317 {\LARGE \@title \par}%
321 \begin{tabular}[t]{c}%
325 {\large \@date \par}% % Set date in \large size.
329 \setcounter{footnote}{0}%
330 \global\let\thanks\relax
331 \global\let\maketitle\relax
332 \global\let\p@thanks\relax
333 \global\let\@thanks\@empty
334 \global\let\@author\@empty
335 \global\let\@date\@empty
336 \global\let\@title\@empty
337 \global\let\title\relax
338 \global\let\author\relax
339 \global\let\date\relax
340 \global\let\and\relax
343 \newcommand{\maketitle}{\par
345 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
346 \def\@makefnmark{\hbox{\ifydir $\m@th^{\@thefnmark}$
347 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
348 \long\def\@makefntext##1{\parindent 1em\noindent
349 \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
351 \ifnum \col@number=\@ne \@maketitle
352 \else \twocolumn[\@maketitle]%
356 \global\@topnum\z@ % Prevents figures from going at top of page.
359 \thispagestyle{jpl@in}\@thanks
361 \setcounter{footnote}{0}%
362 \global\let\thanks\relax
363 \global\let\maketitle\relax
364 \global\let\p@thanks\relax
365 \global\let\@thanks\@empty
366 \global\let\@author\@empty
367 \global\let\@date\@empty
368 \global\let\@title\@empty
369 \global\let\title\relax
370 \global\let\author\relax
371 \global\let\date\relax
372 \global\let\and\relax
379 {\LARGE \@title \par}%
383 \begin{tabular}[t]{c}%
392 \newenvironment{abstract}{%
395 \@beginparpenalty\@lowpenalty
397 {\bfseries\abstractname}%
400 {\par\vfil\null\endtitlepage}
402 \newenvironment{abstract}{%
404 \section*{\abstractname}%
408 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
411 \fi}{\if@twocolumn\else\endquotation\fi}
413 \newcommand*{\chaptermark}[1]{}
414 \setcounter{secnumdepth}{2}
417 \newcounter{section}[chapter]
418 \newcounter{subsection}[section]
419 \newcounter{subsubsection}[subsection]
420 \newcounter{paragraph}[subsubsection]
421 \newcounter{subparagraph}[paragraph]
422 \renewcommand{\thepart}{\@Roman\c@part}
423 \renewcommand{\thechapter}{\@arabic\c@chapter}
424 \renewcommand{\thesection}{\thechapter.\@arabic\c@section}
425 \renewcommand{\thesubsection}{\thesection.\@arabic\c@subsection}
426 \renewcommand{\thesubsubsection}{%
427 \thesubsection.\@arabic\c@subsubsection}
428 \renewcommand{\theparagraph}{%
429 \thesubsubsection.\@arabic\c@paragraph}
430 \renewcommand{\thesubparagraph}{%
431 \theparagraph.\@arabic\c@subparagraph}
432 \newcommand{\@chapapp}{\prechaptername}
433 \newcommand{\@chappos}{\postchaptername}
435 \if@openright \cleardoublepage \else \clearpage \fi
436 \thispagestyle{empty}%
437 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
439 \secdef\@part\@spart}
441 \ifnum \c@secnumdepth >-2\relax
442 \refstepcounter{part}%
443 \addcontentsline{toc}{part}{%
444 \prepartname\thepart\postpartname\hspace{1em}#1}%
446 \addcontentsline{toc}{part}{#1}%
450 \interlinepenalty\@M\reset@font
451 \ifnum \c@secnumdepth >-2\relax
452 \huge\bfseries\prepartname\thepart\postpartname
455 \Huge\bfseries#2\par}%
459 \interlinepenalty\@M\reset@font
460 \Huge\bfseries#1\par}%
462 \def\@endpart{\vfil\newpage
463 \if@twoside\null\thispagestyle{empty}\newpage\fi
464 \if@tempswa\twocolumn\fi}
465 \newcommand{\chapter}{%
466 \if@openright\cleardoublepage\else\clearpage\fi
467 \thispagestyle{jpl@in}%
470 \secdef\@chapter\@schapter}
471 \def\@chapter[#1]#2{%
472 \ifnum \c@secnumdepth >\m@ne
473 \refstepcounter{chapter}%
474 \typeout{\@chapapp\space\thechapter\space\@chappos}%
475 \addcontentsline{toc}{chapter}%
476 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
478 \addcontentsline{toc}{chapter}{#1}%
481 \addtocontents{lof}{\protect\addvspace{10\p@}}%
482 \addtocontents{lot}{\protect\addvspace{10\p@}}%
483 \@makechapterhead{#2}\@afterheading}
484 \def\@makechapterhead#1{\hbox{}%
488 \reset@font\huge\bfseries
490 \ifnum \c@secnumdepth >\m@ne
491 \setlength\@tempdima{\linewidth}%
492 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
493 \addtolength\@tempdima{-\wd\z@}%
495 \vtop{\hsize\@tempdima#1}%
498 \fi}\nobreak\vskip3\Cvs}
500 \@makeschapterhead{#1}\@afterheading
502 \def\@makeschapterhead#1{\hbox{}%
506 \reset@font\huge\bfseries
508 \setlength\@tempdima{\linewidth}%
509 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
510 \newcommand{\section}{\@startsection{section}{1}{\z@}%
511 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
512 {.5\Cvs \@plus.3\Cvs}%
513 {\reset@font\Large\bfseries}}
514 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
515 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
516 {.5\Cvs \@plus.3\Cvs}%
517 {\reset@font\large\bfseries}}
518 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
519 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
520 {.5\Cvs \@plus.3\Cvs}%
521 {\reset@font\normalsize\bfseries}}
522 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
523 {3.25ex \@plus 1ex \@minus .2ex}%
525 {\reset@font\normalsize\bfseries}}
526 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
527 {3.25ex \@plus 1ex \@minus .2ex}%
529 {\reset@font\normalsize\bfseries}}
530 \newcommand{\appendix}{\par
531 \setcounter{chapter}{0}%
532 \setcounter{section}{0}%
533 \renewcommand{\@chapapp}{\appendixname}%
534 \renewcommand{\@chappos}\space%
535 \renewcommand{\thechapter}{\@Alph\c@chapter}}
537 \setlength\leftmargini {2em}
539 \setlength\leftmargini {2.5em}
541 \setlength\leftmarginii {2.2em}
542 \setlength\leftmarginiii {1.87em}
543 \setlength\leftmarginiv {1.7em}
545 \setlength\leftmarginv {.5em}
546 \setlength\leftmarginvi{.5em}
548 \setlength\leftmarginv {1em}
549 \setlength\leftmarginvi{1em}
551 \setlength \labelsep {.5em}
552 \setlength \labelwidth{\leftmargini}
553 \addtolength\labelwidth{-\labelsep}
554 \@beginparpenalty -\@lowpenalty
555 \@endparpenalty -\@lowpenalty
556 \@itempenalty -\@lowpenalty
557 \renewcommand{\theenumi}{\@arabic\c@enumi}
558 \renewcommand{\theenumii}{\@alph\c@enumii}
559 \renewcommand{\theenumiii}{\@roman\c@enumiii}
560 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
561 \newcommand{\labelenumi}{\theenumi.}
562 \newcommand{\labelenumii}{(\theenumii)}
563 \newcommand{\labelenumiii}{\theenumiii.}
564 \newcommand{\labelenumiv}{\theenumiv.}
565 \renewcommand{\p@enumii}{\theenumi}
566 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
567 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
568 \renewenvironment{enumerate}
569 {\ifnum \@enumdepth >\thr@@\@toodeep\else
570 \advance\@enumdepth\@ne
571 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
572 \list{\csname label\@enumctr\endcsname}{%
574 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
576 \parskip\z@ \itemsep\z@ \parsep\z@
577 \labelwidth1\zw \labelsep.3\zw
578 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
579 \else\leftmargin\leftskip\fi
580 \advance\leftmargin 1\zw
582 \usecounter{\@enumctr}%
583 \def\makelabel##1{\hss\llap{##1}}}%
585 \newcommand{\labelitemi}{\textbullet}
586 \newcommand{\labelitemii}{%
590 {\normalfont\bfseries\textendash}
593 \newcommand{\labelitemiii}{\textasteriskcentered}
594 \newcommand{\labelitemiv}{\textperiodcentered}
595 \renewenvironment{itemize}
596 {\ifnum \@itemdepth >\thr@@\@toodeep\else
597 \advance\@itemdepth\@ne
598 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
600 \list{\csname \@itemitem\endcsname}{%
602 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
604 \parskip\z@ \itemsep\z@ \parsep\z@
605 \labelwidth1\zw \labelsep.3\zw
606 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
607 \else\leftmargin\leftskip\fi
608 \advance\leftmargin 1\zw
610 \def\makelabel##1{\hss\llap{##1}}}%
612 \newenvironment{description}
613 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
615 \leftmargin\leftskip \advance\leftmargin3\Cwd
616 \rightmargin\rightskip
617 \labelsep=1\zw \itemsep\z@
618 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
620 \let\makelabel\descriptionlabel}}{\endlist}
621 \newcommand{\descriptionlabel}[1]{%
622 \hspace\labelsep\normalfont\bfseries #1}
623 \newenvironment{verse}
625 \list{}{\itemsep\z@ \itemindent -1.5em%
626 \listparindent\itemindent
627 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
628 \item\relax}{\endlist}
629 \newenvironment{quotation}
630 {\list{}{\listparindent 1.5em%
631 \itemindent\listparindent
632 \rightmargin\leftmargin
633 \parsep\z@ \@plus\p@}%
634 \item\relax}{\endlist}
635 \newenvironment{quote}
636 {\list{}{\rightmargin\leftmargin}%
637 \item\relax}{\endlist}
638 \newcounter{figure}[chapter]
639 \renewcommand{\thefigure}{%
640 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@figure}
644 \def\fnum@figure{\figurename~\thefigure}
645 \newenvironment{figure}
648 \newenvironment{figure*}
651 \newcounter{table}[chapter]
652 \renewcommand{\thetable}{%
653 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@table}
657 \def\fnum@table{\tablename~\thetable}
658 \newenvironment{table}
661 \newenvironment{table*}
664 \newlength\abovecaptionskip
665 \newlength\belowcaptionskip
666 \setlength\abovecaptionskip{10\p@}
667 \setlength\belowcaptionskip{0\p@}
668 \long\def\@makecaption#1#2{%
669 \vskip\abovecaptionskip
670 \iftdir\sbox\@tempboxa{#1\hskip1\zw#2}%
671 \else\sbox\@tempboxa{#1: #2}%
673 \ifdim \wd\@tempboxa >\hsize
674 \iftdir #1\hskip1\zw#2\relax\par
675 \else #1: #2\relax\par\fi
677 \global \@minipagefalse
678 \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
680 \vskip\belowcaptionskip}
681 \setlength\arraycolsep{5\p@}
682 \setlength\tabcolsep{6\p@}
683 \setlength\arrayrulewidth{.4\p@}
684 \setlength\doublerulesep{2\p@}
685 \setlength\tabbingsep{\labelsep}
686 \skip\@mpfootins = \skip\footins
687 \setlength\fboxsep{3\p@}
688 \setlength\fboxrule{.4\p@}
689 \@addtoreset{equation}{chapter}
690 \renewcommand{\theequation}{%
691 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
692 \if@compatibility\else
693 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
694 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
695 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
697 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
701 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
702 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
705 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
706 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
707 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
708 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
709 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
710 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
711 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
712 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
713 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
714 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
715 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
716 \setcounter{tocdepth}{2}
717 \newcommand{\@pnumwidth}{1.55em}
718 \newcommand{\@tocrmarg}{2.55em}
719 \newcommand{\@dotsep}{4.5}
720 \newdimen\toclineskip
721 \setlength\toclineskip{\z@}
723 \def\numberline#1{\hbox to\@lnumwidth{#1\hfil}}
724 \def\@dottedtocline#1#2#3#4#5{%
725 \ifnum #1>\c@tocdepth \else
726 \vskip\toclineskip \@plus.2\p@
727 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
728 \parindent #2\relax\@afterindenttrue
732 \advance\leftskip \@lnumwidth \hbox{}\hskip -\leftskip
734 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
736 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
739 \def\addcontentsline#1#2#3{%
740 \protected@write\@auxout
741 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
742 \@temptokena{\thepage}}%
743 {\string\@writefile{#1}%
744 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
746 \newcommand{\tableofcontents}{%
747 \if@twocolumn\@restonecoltrue\onecolumn
748 \else\@restonecolfalse\fi
749 \chapter*{\contentsname
750 \@mkboth{\contentsname}{\contentsname}%
752 \if@restonecol\twocolumn\fi
754 \newcommand*{\l@part}[2]{%
755 \ifnum \c@tocdepth >-2\relax
756 \addpenalty{-\@highpenalty}%
757 \addvspace{2.25em \@plus\p@}%
759 \parindent\z@\rightskip\@pnumwidth
760 \parfillskip-\@pnumwidth
761 {\leavevmode\large\bfseries
762 \setlength\@lnumwidth{4\zw}%
764 \hbox to\@pnumwidth{\hss#2}}\par
767 \everypar{\global\@nobreakfalse\everypar{}}%
770 \newcommand*{\l@chapter}[2]{%
771 \ifnum \c@tocdepth >\m@ne
772 \addpenalty{-\@highpenalty}%
773 \addvspace{1.0em \@plus\p@}%
775 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
777 \setlength\@lnumwidth{4\zw}%
778 \advance\leftskip\@lnumwidth \hskip-\leftskip
779 #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
780 \penalty\@highpenalty
783 \newcommand*{\l@section}{\@dottedtocline{1}{1.5em}{2.3em}}
784 \newcommand*{\l@subsection} {\@dottedtocline{2}{3.8em}{3.2em}}
785 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{7.0em}{4.1em}}
786 \newcommand*{\l@paragraph} {\@dottedtocline{4}{10em}{5em}}
787 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{12em}{6em}}
788 \newcommand{\listoffigures}{%
789 \if@twocolumn\@restonecoltrue\onecolumn
790 \else\@restonecolfalse\fi
791 \chapter*{\listfigurename
792 \@mkboth{\listfigurename}{\listfigurename}}%
794 \if@restonecol\twocolumn\fi
796 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
797 \newcommand{\listoftables}{%
798 \if@twocolumn\@restonecoltrue\onecolumn
799 \else\@restonecolfalse\fi
800 \chapter*{\listtablename
801 \@mkboth{\listtablename}{\listtablename}}%
803 \if@restonecol\twocolumn\fi
805 \let\l@table\l@figure
807 \setlength\bibindent{1.5em}
808 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
809 \newenvironment{thebibliography}[1]
810 {\chapter*{\bibname\@mkboth{\bibname}{\bibname}}%
811 \list{\@biblabel{\@arabic\c@enumiv}}%
812 {\settowidth\labelwidth{\@biblabel{#1}}%
813 \leftmargin\labelwidth
814 \advance\leftmargin\labelsep
818 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
821 \@clubpenalty\clubpenalty
825 {\@latex@warning{Empty `thebibliography' environment}}%
827 \let\@openbib@code\@empty
828 \newenvironment{theindex}
829 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
830 \columnseprule\z@ \columnsep 35\p@
831 \twocolumn[\@makeschapterhead{\indexname}]%
832 \@mkboth{\indexname}{\indexname}%
833 \thispagestyle{jpl@in}\parindent\z@
834 \parskip\z@ \@plus .3\p@\relax
836 {\if@restonecol\onecolumn\else\clearpage\fi}
837 \newcommand{\@idxitem}{\par\hangindent 40\p@}
838 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
839 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
840 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
841 \renewcommand{\footnoterule}{%
843 \hrule width .4\columnwidth
845 \@addtoreset{footnote}{chapter}
846 \newcommand\@makefntext[1]{\parindent 1em
847 \noindent\hbox to 1.8em{\hss\@makefnmark}#1}
851 \newcount\heisei \heisei\year \advance\heisei-1988\relax
855 \kansuji\number\year 年
856 \kansuji\number\month 月
857 \kansuji\number\day 日
859 平成\ifnum\heisei=1 元年\else\kansuji\number\heisei 年\fi
860 \kansuji\number\month 月
861 \kansuji\number\day 日
869 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
874 \newcommand{\prepartname}{第}
875 \newcommand{\postpartname}{部}
876 \newcommand{\prechaptername}{第}
877 \newcommand{\postchaptername}{章}
878 \newcommand{\contentsname}{目 次}
879 \newcommand{\listfigurename}{図 目 次}
880 \newcommand{\listtablename}{表 目 次}
881 \newcommand{\bibname}{関連図書}
882 \newcommand{\indexname}{索 引}
883 \newcommand{\figurename}{図}
884 \newcommand{\tablename}{表}
885 \newcommand{\appendixname}{付 録}
886 \newcommand{\abstractname}{概 要}
888 \pagenumbering{arabic}
903 %% End of file `ltjreport.cls'.