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 [2013/06/06 v1.6-ltj-2
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@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}}
94 \renewcommand{\@ptsize}{0}
96 \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
98 \DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
99 \DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
100 \DeclareOption{landscape}{\@landscapetrue
101 \setlength\@tempdima{\paperheight}%
102 \setlength\paperheight{\paperwidth}%
103 \setlength\paperwidth{\@tempdima}}
104 \DeclareOption{tombow}{%
105 \tombowtrue \tombowdatetrue
106 \setlength{\@tombowwidth}{.1\p@}%
108 \jobname\space:\space\number\year/\number\month/\number\day
109 (\number\hour:\number\minute)}
111 \DeclareOption{tombo}{%
112 \tombowtrue \tombowdatefalse
113 \setlength{\@tombowwidth}{.1\p@}%
115 \DeclareOption{mentuke}{%
116 \tombowtrue \tombowdatefalse
117 \setlength{\@tombowwidth}{\z@}%
119 %% \DeclareOption{tate}{%
120 %% \AtBeginDocument{\tate\message{《縦組モード》}%
123 \DeclareOption{oneside}{\@twosidefalse}
124 \DeclareOption{twoside}{\@twosidetrue}
125 \DeclareOption{onecolumn}{\@twocolumnfalse}
126 \DeclareOption{twocolumn}{\@twocolumntrue}
127 \DeclareOption{titlepage}{\@titlepagetrue}
128 \DeclareOption{notitlepage}{\@titlepagefalse}
131 \DeclareOption{openright}{\@openrighttrue}
132 \DeclareOption{openany}{\@openrightfalse}
134 \DeclareOption{leqno}{\input{leqno.clo}}
135 \DeclareOption{fleqn}{\input{fleqn.clo}}
136 \DeclareOption{openbib}{%
138 \renewcommand\@openbib@code{%
139 \advance\leftmargin\bibindent
140 \itemindent -\bibindent
141 \listparindent \itemindent
144 \renewcommand\newblock{\par}}}
148 \DeclareOption{disablejfam}{%
149 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
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}
157 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
158 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
159 'ltj.jclasses_load_jfm', 1)}
160 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
161 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
162 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
163 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
164 \ltjglobalsetparameter{differentjfm=both}
165 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
167 \setlength\columnsep{2\Cwd}
169 \setlength\columnsep{10\p@}
171 \setlength\columnseprule{0\p@}
172 \setlength{\@tempdima}{\paperwidth}
173 \setlength{\@tempdimb}{\paperheight}
175 \advance \@tempdima 2in
176 \advance \@tempdimb 2in
178 \setlength{\pdfpagewidth}{\@tempdima}
179 \setlength{\pdfpageheight}{\@tempdimb}
180 \setlength\lineskip{1\p@}
181 \setlength\normallineskip{1\p@}
182 \renewcommand{\baselinestretch}{}
183 \setlength\parskip{0\p@ \@plus \p@}
184 \setlength\parindent{1\Cwd}
188 \setcounter{topnumber}{2}
189 \setcounter{bottomnumber}{1}
190 \setcounter{totalnumber}{3}
191 \setcounter{dbltopnumber}{2}
192 \renewcommand{\topfraction}{.7}
193 \renewcommand{\bottomfraction}{.3}
194 \renewcommand{\textfraction}{.2}
195 \renewcommand{\floatpagefraction}{.5}
196 \renewcommand{\dbltopfraction}{.7}
197 \renewcommand{\dblfloatpagefraction}{.5}
198 \def\ps@plain{\let\@mkboth\@gobbletwo
199 \let\ps@jpl@in\ps@plain
201 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
202 \let\@evenhead\@empty
203 \let\@evenfoot\@oddfoot}
204 \let\ps@jpl@in\ps@plain
205 \def\ps@headnombre{\let\@mkboth\@gobbletwo
206 \let\ps@jpl@in\ps@headnombre
207 \def\@evenhead{\thepage\hfil}%
208 \def\@oddhead{\hfil\thepage}%
209 \let\@oddfoot\@empty\let\@evenfoot\@empty}
210 \def\ps@footnombre{\let\@mkboth\@gobbletwo
211 \let\ps@jpl@in\ps@footnombre
212 \def\@evenfoot{\thepage\hfil}%
213 \def\@oddfoot{\hfil\thepage}%
214 \let\@oddhead\@empty\let\@evenhead\@empty}
216 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
217 \let\@oddfoot\@empty\let\@evenfoot\@empty
218 \def\@evenhead{\thepage\hfil\leftmark}%
219 \def\@oddhead{{\rightmark}\hfil\thepage}%
220 \let\@mkboth\markboth
221 \def\chaptermark##1{\markboth{%
222 \ifnum \c@secnumdepth >\m@ne
223 \@chapapp\thechapter\@chappos\hskip1\zw
226 \def\sectionmark##1{\markright{%
227 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
230 \else % if not twoside
231 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
233 \def\@oddhead{{\rightmark}\hfil\thepage}%
234 \let\@mkboth\markboth
235 \def\chaptermark##1{\markright{%
236 \ifnum \c@secnumdepth >\m@ne
237 \@chapapp\thechapter\@chappos\hskip1\zw
243 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
244 \def\@evenhead{\leftmark\hfil}% right page
245 \def\@evenfoot{\thepage\hfil}% right page
246 \def\@oddhead{\hfil\rightmark}% left page
247 \def\@oddfoot{\hfil\thepage}% left page
248 \let\@mkboth\markboth
249 \def\chaptermark##1{\markboth{%
250 \ifnum \c@secnumdepth >\m@ne
251 \@chapapp\thechapter\@chappos\hskip1\zw
254 \def\sectionmark##1{\markright{%
255 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
258 \else % if one column
259 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
260 \def\@oddhead{\hfil\rightmark}%
261 \def\@oddfoot{\hfil\thepage}%
262 \let\@mkboth\markboth
263 \def\chaptermark##1{\markright{%
264 \ifnum \c@secnumdepth >\m@ne
265 \@chapapp\thechapter\@chappos\hskip1\zw
270 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
271 \let\@oddfoot\@empty\let\@evenfoot\@empty
272 \def\@evenhead{\thepage\hfil\leftmark}%
273 \def\@oddhead{{\rightmark}\hfil\thepage}%
274 \let\@mkboth\@gobbletwo
275 \let\chaptermark\@gobble
276 \let\sectionmark\@gobble
279 \newenvironment{titlepage}
281 \if@twocolumn\@restonecoltrue\onecolumn
282 \else\@restonecolfalse\newpage\fi
283 \thispagestyle{empty}%
286 {\if@restonecol\twocolumn\else\newpage\fi
289 \newenvironment{titlepage}
292 \@restonecoltrue\onecolumn
294 \@restonecolfalse\newpage
296 \thispagestyle{empty}%
297 \setcounter{page}\@ne
299 {\if@restonecol\twocolumn \else \newpage \fi
301 \setcounter{page}\@ne
305 \def\p@thanks#1{\footnotemark
306 \protected@xdef\@thanks{\@thanks
307 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
309 \newcommand{\maketitle}{\begin{titlepage}%
310 \let\footnotesize\small
311 \let\footnoterule\relax
316 {\LARGE \@title \par}%
320 \begin{tabular}[t]{c}%
324 {\large \@date \par}% % Set date in \large size.
328 \setcounter{footnote}{0}%
329 \global\let\thanks\relax
330 \global\let\maketitle\relax
331 \global\let\p@thanks\relax
332 \global\let\@thanks\@empty
333 \global\let\@author\@empty
334 \global\let\@date\@empty
335 \global\let\@title\@empty
336 \global\let\title\relax
337 \global\let\author\relax
338 \global\let\date\relax
339 \global\let\and\relax
342 \newcommand{\maketitle}{\par
344 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
345 \def\@makefnmark{\hbox{\ifydir $\m@th^{\@thefnmark}$
346 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
347 \long\def\@makefntext##1{\parindent 1em\noindent
348 \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
350 \ifnum \col@number=\@ne \@maketitle
351 \else \twocolumn[\@maketitle]%
355 \global\@topnum\z@ % Prevents figures from going at top of page.
358 \thispagestyle{jpl@in}\@thanks
360 \setcounter{footnote}{0}%
361 \global\let\thanks\relax
362 \global\let\maketitle\relax
363 \global\let\p@thanks\relax
364 \global\let\@thanks\@empty
365 \global\let\@author\@empty
366 \global\let\@date\@empty
367 \global\let\@title\@empty
368 \global\let\title\relax
369 \global\let\author\relax
370 \global\let\date\relax
371 \global\let\and\relax
378 {\LARGE \@title \par}%
382 \begin{tabular}[t]{c}%
391 \newenvironment{abstract}{%
394 \@beginparpenalty\@lowpenalty
396 {\bfseries\abstractname}%
399 {\par\vfil\null\endtitlepage}
401 \newenvironment{abstract}{%
403 \section*{\abstractname}%
407 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
410 \fi}{\if@twocolumn\else\endquotation\fi}
412 \newcommand*{\chaptermark}[1]{}
413 \setcounter{secnumdepth}{2}
416 \newcounter{section}[chapter]
417 \newcounter{subsection}[section]
418 \newcounter{subsubsection}[subsection]
419 \newcounter{paragraph}[subsubsection]
420 \newcounter{subparagraph}[paragraph]
421 \renewcommand{\thepart}{\@Roman\c@part}
422 \renewcommand{\thechapter}{\@arabic\c@chapter}
423 \renewcommand{\thesection}{\thechapter.\@arabic\c@section}
424 \renewcommand{\thesubsection}{\thesection.\@arabic\c@subsection}
425 \renewcommand{\thesubsubsection}{%
426 \thesubsection.\@arabic\c@subsubsection}
427 \renewcommand{\theparagraph}{%
428 \thesubsubsection.\@arabic\c@paragraph}
429 \renewcommand{\thesubparagraph}{%
430 \theparagraph.\@arabic\c@subparagraph}
431 \newcommand{\@chapapp}{\prechaptername}
432 \newcommand{\@chappos}{\postchaptername}
434 \if@openright \cleardoublepage \else \clearpage \fi
435 \thispagestyle{empty}%
436 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
438 \secdef\@part\@spart}
440 \ifnum \c@secnumdepth >-2\relax
441 \refstepcounter{part}%
442 \addcontentsline{toc}{part}{%
443 \prepartname\thepart\postpartname\hspace{1em}#1}%
445 \addcontentsline{toc}{part}{#1}%
449 \interlinepenalty\@M\reset@font
450 \ifnum \c@secnumdepth >-2\relax
451 \huge\bfseries\prepartname\thepart\postpartname
454 \Huge\bfseries#2\par}%
458 \interlinepenalty\@M\reset@font
459 \Huge\bfseries#1\par}%
461 \def\@endpart{\vfil\newpage
462 \if@twoside\null\thispagestyle{empty}\newpage\fi
463 \if@tempswa\twocolumn\fi}
464 \newcommand{\chapter}{%
465 \if@openright\cleardoublepage\else\clearpage\fi
466 \thispagestyle{jpl@in}%
469 \secdef\@chapter\@schapter}
470 \def\@chapter[#1]#2{%
471 \ifnum \c@secnumdepth >\m@ne
472 \refstepcounter{chapter}%
473 \typeout{\@chapapp\space\thechapter\space\@chappos}%
474 \addcontentsline{toc}{chapter}%
475 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
477 \addcontentsline{toc}{chapter}{#1}%
480 \addtocontents{lof}{\protect\addvspace{10\p@}}%
481 \addtocontents{lot}{\protect\addvspace{10\p@}}%
482 \@makechapterhead{#2}\@afterheading}
483 \def\@makechapterhead#1{\hbox{}%
487 \reset@font\huge\bfseries
489 \ifnum \c@secnumdepth >\m@ne
490 \setlength\@tempdima{\linewidth}%
491 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
492 \addtolength\@tempdima{-\wd\z@}%
494 \vtop{\hsize\@tempdima#1}%
497 \fi}\nobreak\vskip3\Cvs}
499 \@makeschapterhead{#1}\@afterheading
501 \def\@makeschapterhead#1{\hbox{}%
505 \reset@font\huge\bfseries
507 \setlength\@tempdima{\linewidth}%
508 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
509 \newcommand{\section}{\@startsection{section}{1}{\z@}%
510 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
511 {.5\Cvs \@plus.3\Cvs}%
512 {\reset@font\Large\bfseries}}
513 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
514 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
515 {.5\Cvs \@plus.3\Cvs}%
516 {\reset@font\large\bfseries}}
517 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
518 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
519 {.5\Cvs \@plus.3\Cvs}%
520 {\reset@font\normalsize\bfseries}}
521 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
522 {3.25ex \@plus 1ex \@minus .2ex}%
524 {\reset@font\normalsize\bfseries}}
525 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
526 {3.25ex \@plus 1ex \@minus .2ex}%
528 {\reset@font\normalsize\bfseries}}
529 \newcommand{\appendix}{\par
530 \setcounter{chapter}{0}%
531 \setcounter{section}{0}%
532 \renewcommand{\@chapapp}{\appendixname}%
533 \renewcommand{\@chappos}\space%
534 \renewcommand{\thechapter}{\@Alph\c@chapter}}
536 \setlength\leftmargini {2em}
538 \setlength\leftmargini {2.5em}
540 \setlength\leftmarginii {2.2em}
541 \setlength\leftmarginiii {1.87em}
542 \setlength\leftmarginiv {1.7em}
544 \setlength\leftmarginv {.5em}
545 \setlength\leftmarginvi{.5em}
547 \setlength\leftmarginv {1em}
548 \setlength\leftmarginvi{1em}
550 \setlength \labelsep {.5em}
551 \setlength \labelwidth{\leftmargini}
552 \addtolength\labelwidth{-\labelsep}
553 \@beginparpenalty -\@lowpenalty
554 \@endparpenalty -\@lowpenalty
555 \@itempenalty -\@lowpenalty
556 \renewcommand{\theenumi}{\@arabic\c@enumi}
557 \renewcommand{\theenumii}{\@alph\c@enumii}
558 \renewcommand{\theenumiii}{\@roman\c@enumiii}
559 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
560 \newcommand{\labelenumi}{\theenumi.}
561 \newcommand{\labelenumii}{(\theenumii)}
562 \newcommand{\labelenumiii}{\theenumiii.}
563 \newcommand{\labelenumiv}{\theenumiv.}
564 \renewcommand{\p@enumii}{\theenumi}
565 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
566 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
567 \renewenvironment{enumerate}
568 {\ifnum \@enumdepth >\thr@@\@toodeep\else
569 \advance\@enumdepth\@ne
570 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
571 \list{\csname label\@enumctr\endcsname}{%
573 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
575 \parskip\z@ \itemsep\z@ \parsep\z@
576 \labelwidth1\zw \labelsep.3\zw
577 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
578 \else\leftmargin\leftskip\fi
579 \advance\leftmargin 1\zw
581 \usecounter{\@enumctr}%
582 \def\makelabel##1{\hss\llap{##1}}}%
584 \newcommand{\labelitemi}{\textbullet}
585 \newcommand{\labelitemii}{%
589 {\normalfont\bfseries\textendash}
592 \newcommand{\labelitemiii}{\textasteriskcentered}
593 \newcommand{\labelitemiv}{\textperiodcentered}
594 \renewenvironment{itemize}
595 {\ifnum \@itemdepth >\thr@@\@toodeep\else
596 \advance\@itemdepth\@ne
597 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
599 \list{\csname \@itemitem\endcsname}{%
601 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
603 \parskip\z@ \itemsep\z@ \parsep\z@
604 \labelwidth1\zw \labelsep.3\zw
605 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
606 \else\leftmargin\leftskip\fi
607 \advance\leftmargin 1\zw
609 \def\makelabel##1{\hss\llap{##1}}}%
611 \newenvironment{description}
612 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
614 \leftmargin\leftskip \advance\leftmargin3\Cwd
615 \rightmargin\rightskip
616 \labelsep=1\zw \itemsep\z@
617 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
619 \let\makelabel\descriptionlabel}}{\endlist}
620 \newcommand{\descriptionlabel}[1]{%
621 \hspace\labelsep\normalfont\bfseries #1}
622 \newenvironment{verse}
624 \list{}{\itemsep\z@ \itemindent -1.5em%
625 \listparindent\itemindent
626 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
627 \item\relax}{\endlist}
628 \newenvironment{quotation}
629 {\list{}{\listparindent 1.5em%
630 \itemindent\listparindent
631 \rightmargin\leftmargin
632 \parsep\z@ \@plus\p@}%
633 \item\relax}{\endlist}
634 \newenvironment{quote}
635 {\list{}{\rightmargin\leftmargin}%
636 \item\relax}{\endlist}
637 \newcounter{figure}[chapter]
638 \renewcommand{\thefigure}{%
639 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@figure}
643 \def\fnum@figure{\figurename~\thefigure}
644 \newenvironment{figure}
647 \newenvironment{figure*}
650 \newcounter{table}[chapter]
651 \renewcommand{\thetable}{%
652 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@table}
656 \def\fnum@table{\tablename~\thetable}
657 \newenvironment{table}
660 \newenvironment{table*}
663 \newlength\abovecaptionskip
664 \newlength\belowcaptionskip
665 \setlength\abovecaptionskip{10\p@}
666 \setlength\belowcaptionskip{0\p@}
667 \long\def\@makecaption#1#2{%
668 \vskip\abovecaptionskip
669 \iftdir\sbox\@tempboxa{#1\hskip1\zw#2}%
670 \else\sbox\@tempboxa{#1: #2}%
672 \ifdim \wd\@tempboxa >\hsize
673 \iftdir #1\hskip1\zw#2\relax\par
674 \else #1: #2\relax\par\fi
676 \global \@minipagefalse
677 \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
679 \vskip\belowcaptionskip}
680 \setlength\arraycolsep{5\p@}
681 \setlength\tabcolsep{6\p@}
682 \setlength\arrayrulewidth{.4\p@}
683 \setlength\doublerulesep{2\p@}
684 \setlength\tabbingsep{\labelsep}
685 \skip\@mpfootins = \skip\footins
686 \setlength\fboxsep{3\p@}
687 \setlength\fboxrule{.4\p@}
688 \@addtoreset{equation}{chapter}
689 \renewcommand{\theequation}{%
690 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
691 \if@compatibility\else
692 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
693 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
694 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
696 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
700 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
701 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
704 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
705 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
706 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
707 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
708 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
709 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
710 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
711 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
712 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
713 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
714 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
715 \setcounter{tocdepth}{2}
716 \newcommand{\@pnumwidth}{1.55em}
717 \newcommand{\@tocrmarg}{2.55em}
718 \newcommand{\@dotsep}{4.5}
719 \newdimen\toclineskip
720 \setlength\toclineskip{\z@}
722 \def\numberline#1{\hbox to\@lnumwidth{#1\hfil}}
723 \def\@dottedtocline#1#2#3#4#5{%
724 \ifnum #1>\c@tocdepth \else
725 \vskip\toclineskip \@plus.2\p@
726 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
727 \parindent #2\relax\@afterindenttrue
731 \advance\leftskip \@lnumwidth \hbox{}\hskip -\leftskip
733 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
735 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
738 \def\addcontentsline#1#2#3{%
739 \protected@write\@auxout
740 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
741 \@temptokena{\thepage}}%
742 {\string\@writefile{#1}%
743 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
745 \newcommand{\tableofcontents}{%
746 \if@twocolumn\@restonecoltrue\onecolumn
747 \else\@restonecolfalse\fi
748 \chapter*{\contentsname
749 \@mkboth{\contentsname}{\contentsname}%
751 \if@restonecol\twocolumn\fi
753 \newcommand*{\l@part}[2]{%
754 \ifnum \c@tocdepth >-2\relax
755 \addpenalty{-\@highpenalty}%
756 \addvspace{2.25em \@plus\p@}%
758 \parindent\z@\rightskip\@pnumwidth
759 \parfillskip-\@pnumwidth
760 {\leavevmode\large\bfseries
761 \setlength\@lnumwidth{4\zw}%
763 \hbox to\@pnumwidth{\hss#2}}\par
766 \everypar{\global\@nobreakfalse\everypar{}}%
769 \newcommand*{\l@chapter}[2]{%
770 \ifnum \c@tocdepth >\m@ne
771 \addpenalty{-\@highpenalty}%
772 \addvspace{1.0em \@plus\p@}%
774 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
776 \setlength\@lnumwidth{4\zw}%
777 \advance\leftskip\@lnumwidth \hskip-\leftskip
778 #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
779 \penalty\@highpenalty
782 \newcommand*{\l@section}{\@dottedtocline{1}{1.5em}{2.3em}}
783 \newcommand*{\l@subsection} {\@dottedtocline{2}{3.8em}{3.2em}}
784 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{7.0em}{4.1em}}
785 \newcommand*{\l@paragraph} {\@dottedtocline{4}{10em}{5em}}
786 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{12em}{6em}}
787 \newcommand{\listoffigures}{%
788 \if@twocolumn\@restonecoltrue\onecolumn
789 \else\@restonecolfalse\fi
790 \chapter*{\listfigurename
791 \@mkboth{\listfigurename}{\listfigurename}}%
793 \if@restonecol\twocolumn\fi
795 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
796 \newcommand{\listoftables}{%
797 \if@twocolumn\@restonecoltrue\onecolumn
798 \else\@restonecolfalse\fi
799 \chapter*{\listtablename
800 \@mkboth{\listtablename}{\listtablename}}%
802 \if@restonecol\twocolumn\fi
804 \let\l@table\l@figure
806 \setlength\bibindent{1.5em}
807 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
808 \newenvironment{thebibliography}[1]
809 {\chapter*{\bibname\@mkboth{\bibname}{\bibname}}%
810 \list{\@biblabel{\@arabic\c@enumiv}}%
811 {\settowidth\labelwidth{\@biblabel{#1}}%
812 \leftmargin\labelwidth
813 \advance\leftmargin\labelsep
817 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
820 \@clubpenalty\clubpenalty
824 {\@latex@warning{Empty `thebibliography' environment}}%
826 \let\@openbib@code\@empty
827 \newenvironment{theindex}
828 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
829 \columnseprule\z@ \columnsep 35\p@
830 \twocolumn[\@makeschapterhead{\indexname}]%
831 \@mkboth{\indexname}{\indexname}%
832 \thispagestyle{jpl@in}\parindent\z@
833 \parskip\z@ \@plus .3\p@\relax
835 {\if@restonecol\onecolumn\else\clearpage\fi}
836 \newcommand{\@idxitem}{\par\hangindent 40\p@}
837 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
838 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
839 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
840 \renewcommand{\footnoterule}{%
842 \hrule width .4\columnwidth
844 \@addtoreset{footnote}{chapter}
845 \newcommand\@makefntext[1]{\parindent 1em
846 \noindent\hbox to 1.8em{\hss\@makefnmark}#1}
850 \newcount\heisei \heisei\year \advance\heisei-1988\relax
854 \kansuji\number\year 年
855 \kansuji\number\month 月
856 \kansuji\number\day 日
858 平成\ifnum\heisei=1 元年\else\kansuji\number\heisei 年\fi
859 \kansuji\number\month 月
860 \kansuji\number\day 日
868 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
873 \newcommand{\prepartname}{第}
874 \newcommand{\postpartname}{部}
875 \newcommand{\prechaptername}{第}
876 \newcommand{\postchaptername}{章}
877 \newcommand{\contentsname}{目 次}
878 \newcommand{\listfigurename}{図 目 次}
879 \newcommand{\listtablename}{表 目 次}
880 \newcommand{\bibname}{関連図書}
881 \newcommand{\indexname}{索 引}
882 \newcommand{\figurename}{図}
883 \newcommand{\tablename}{表}
884 \newcommand{\appendixname}{付 録}
885 \newcommand{\abstractname}{概 要}
887 \pagenumbering{arabic}
902 %% End of file `ltjreport.cls'.