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 [2015/01/01 v1.6-ltj-9
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 \tate\AtBeginDocument{\message{《縦組モード》}\adjustbaseline}%
122 \DeclareOption{oneside}{\@twosidefalse}
123 \DeclareOption{twoside}{\@twosidetrue}
124 \DeclareOption{onecolumn}{\@twocolumnfalse}
125 \DeclareOption{twocolumn}{\@twocolumntrue}
126 \DeclareOption{titlepage}{\@titlepagetrue}
127 \DeclareOption{notitlepage}{\@titlepagefalse}
130 \DeclareOption{openright}{\@openrighttrue}
131 \DeclareOption{openany}{\@openrightfalse}
133 \DeclareOption{leqno}{\input{leqno.clo}}
134 \DeclareOption{fleqn}{\input{fleqn.clo}}
135 \DeclareOption{openbib}{%
137 \renewcommand\@openbib@code{%
138 \advance\leftmargin\bibindent
139 \itemindent -\bibindent
140 \listparindent \itemindent
143 \renewcommand\newblock{\par}}}
147 \DeclareOption{disablejfam}{%
148 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
149 \DeclareOption{mathrmmc}{\@mathrmmctrue}
151 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
152 \DeclareOption{final}{\setlength\overfullrule{0pt}}
153 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
154 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
155 'ltj.jclasses_load_jfm', 1)}
156 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
157 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
158 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
159 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
160 \ltjglobalsetparameter{differentjfm=both}
161 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
162 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany}
163 \ProcessOptions\relax
164 \input{ltjsize1\@ptsize.clo}
166 \setlength\columnsep{2\Cwd}
168 \setlength\columnsep{10\p@}
170 \setlength\columnseprule{0\p@}
171 \setlength{\@tempdima}{\paperwidth}
172 \setlength{\@tempdimb}{\paperheight}
174 \advance \@tempdima 2in
175 \advance \@tempdimb 2in
177 \setlength{\pdfpagewidth}{\@tempdima}
178 \setlength{\pdfpageheight}{\@tempdimb}
179 \setlength\lineskip{1\p@}
180 \setlength\normallineskip{1\p@}
181 \renewcommand{\baselinestretch}{}
182 \setlength\parskip{0\p@ \@plus \p@}
183 \setlength\parindent{1\Cwd}
187 \setcounter{topnumber}{2}
188 \setcounter{bottomnumber}{1}
189 \setcounter{totalnumber}{3}
190 \setcounter{dbltopnumber}{2}
191 \renewcommand{\topfraction}{.7}
192 \renewcommand{\bottomfraction}{.3}
193 \renewcommand{\textfraction}{.2}
194 \renewcommand{\floatpagefraction}{.5}
195 \renewcommand{\dbltopfraction}{.7}
196 \renewcommand{\dblfloatpagefraction}{.5}
197 \def\ps@plain{\let\@mkboth\@gobbletwo
198 \let\ps@jpl@in\ps@plain
200 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
201 \let\@evenhead\@empty
202 \let\@evenfoot\@oddfoot}
203 \let\ps@jpl@in\ps@plain
204 \def\ps@headnombre{\let\@mkboth\@gobbletwo
205 \let\ps@jpl@in\ps@headnombre
206 \def\@evenhead{\thepage\hfil}%
207 \def\@oddhead{\hfil\thepage}%
208 \let\@oddfoot\@empty\let\@evenfoot\@empty}
209 \def\ps@footnombre{\let\@mkboth\@gobbletwo
210 \let\ps@jpl@in\ps@footnombre
211 \def\@evenfoot{\thepage\hfil}%
212 \def\@oddfoot{\hfil\thepage}%
213 \let\@oddhead\@empty\let\@evenhead\@empty}
215 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
216 \let\@oddfoot\@empty\let\@evenfoot\@empty
217 \def\@evenhead{\thepage\hfil\leftmark}%
218 \def\@oddhead{{\rightmark}\hfil\thepage}%
219 \let\@mkboth\markboth
220 \def\chaptermark##1{\markboth{%
221 \ifnum \c@secnumdepth >\m@ne
222 \@chapapp\thechapter\@chappos\hskip1\zw
225 \def\sectionmark##1{\markright{%
226 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
229 \else % if not twoside
230 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
232 \def\@oddhead{{\rightmark}\hfil\thepage}%
233 \let\@mkboth\markboth
234 \def\chaptermark##1{\markright{%
235 \ifnum \c@secnumdepth >\m@ne
236 \@chapapp\thechapter\@chappos\hskip1\zw
242 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
243 \def\@evenhead{\leftmark\hfil}% right page
244 \def\@evenfoot{\thepage\hfil}% right page
245 \def\@oddhead{\hfil\rightmark}% left page
246 \def\@oddfoot{\hfil\thepage}% left page
247 \let\@mkboth\markboth
248 \def\chaptermark##1{\markboth{%
249 \ifnum \c@secnumdepth >\m@ne
250 \@chapapp\thechapter\@chappos\hskip1\zw
253 \def\sectionmark##1{\markright{%
254 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
257 \else % if one column
258 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
259 \def\@oddhead{\hfil\rightmark}%
260 \def\@oddfoot{\hfil\thepage}%
261 \let\@mkboth\markboth
262 \def\chaptermark##1{\markright{%
263 \ifnum \c@secnumdepth >\m@ne
264 \@chapapp\thechapter\@chappos\hskip1\zw
269 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
270 \let\@oddfoot\@empty\let\@evenfoot\@empty
271 \def\@evenhead{\thepage\hfil\leftmark}%
272 \def\@oddhead{{\rightmark}\hfil\thepage}%
273 \let\@mkboth\@gobbletwo
274 \let\chaptermark\@gobble
275 \let\sectionmark\@gobble
278 \newenvironment{titlepage}
280 \if@twocolumn\@restonecoltrue\onecolumn
281 \else\@restonecolfalse\newpage\fi
282 \thispagestyle{empty}%
285 {\if@restonecol\twocolumn\else\newpage\fi
288 \newenvironment{titlepage}
291 \@restonecoltrue\onecolumn
293 \@restonecolfalse\newpage
295 \thispagestyle{empty}%
296 \setcounter{page}\@ne
298 {\if@restonecol\twocolumn \else \newpage \fi
300 \setcounter{page}\@ne
304 \def\p@thanks#1{\footnotemark
305 \protected@xdef\@thanks{\@thanks
306 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
308 \newcommand{\maketitle}{\begin{titlepage}%
309 \let\footnotesize\small
310 \let\footnoterule\relax
315 {\LARGE \@title \par}%
319 \begin{tabular}[t]{c}%
323 {\large \@date \par}% % Set date in \large size.
327 \setcounter{footnote}{0}%
328 \global\let\thanks\relax
329 \global\let\maketitle\relax
330 \global\let\p@thanks\relax
331 \global\let\@thanks\@empty
332 \global\let\@author\@empty
333 \global\let\@date\@empty
334 \global\let\@title\@empty
335 \global\let\title\relax
336 \global\let\author\relax
337 \global\let\date\relax
338 \global\let\and\relax
341 \newcommand{\maketitle}{\par
343 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
344 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
345 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
346 \long\def\@makefntext##1{\parindent 1em\noindent
347 \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
349 \ifnum \col@number=\@ne \@maketitle
350 \else \twocolumn[\@maketitle]%
354 \global\@topnum\z@ % Prevents figures from going at top of page.
357 \thispagestyle{jpl@in}\@thanks
359 \setcounter{footnote}{0}%
360 \global\let\thanks\relax
361 \global\let\maketitle\relax
362 \global\let\p@thanks\relax
363 \global\let\@thanks\@empty
364 \global\let\@author\@empty
365 \global\let\@date\@empty
366 \global\let\@title\@empty
367 \global\let\title\relax
368 \global\let\author\relax
369 \global\let\date\relax
370 \global\let\and\relax
377 {\LARGE \@title \par}%
381 \begin{tabular}[t]{c}%
390 \newenvironment{abstract}{%
393 \@beginparpenalty\@lowpenalty
395 {\bfseries\abstractname}%
398 {\par\vfil\null\endtitlepage}
400 \newenvironment{abstract}{%
402 \section*{\abstractname}%
406 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
409 \fi}{\if@twocolumn\else\endquotation\fi}
411 \newcommand*{\chaptermark}[1]{}
412 \setcounter{secnumdepth}{2}
415 \newcounter{section}[chapter]
416 \newcounter{subsection}[section]
417 \newcounter{subsubsection}[subsection]
418 \newcounter{paragraph}[subsubsection]
419 \newcounter{subparagraph}[paragraph]
420 \renewcommand{\thepart}{\@Roman\c@part}
421 \renewcommand{\thechapter}{\@arabic\c@chapter}
422 \renewcommand{\thesection}{\thechapter.\@arabic\c@section}
423 \renewcommand{\thesubsection}{\thesection.\@arabic\c@subsection}
424 \renewcommand{\thesubsubsection}{%
425 \thesubsection.\@arabic\c@subsubsection}
426 \renewcommand{\theparagraph}{%
427 \thesubsubsection.\@arabic\c@paragraph}
428 \renewcommand{\thesubparagraph}{%
429 \theparagraph.\@arabic\c@subparagraph}
430 \newcommand{\@chapapp}{\prechaptername}
431 \newcommand{\@chappos}{\postchaptername}
433 \if@openright \cleardoublepage \else \clearpage \fi
434 \thispagestyle{empty}%
435 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
437 \secdef\@part\@spart}
439 \ifnum \c@secnumdepth >-2\relax
440 \refstepcounter{part}%
441 \addcontentsline{toc}{part}{%
442 \prepartname\thepart\postpartname\hspace{1em}#1}%
444 \addcontentsline{toc}{part}{#1}%
448 \interlinepenalty\@M\reset@font
449 \ifnum \c@secnumdepth >-2\relax
450 \huge\bfseries\prepartname\thepart\postpartname
453 \Huge\bfseries#2\par}%
457 \interlinepenalty\@M\reset@font
458 \Huge\bfseries#1\par}%
460 \def\@endpart{\vfil\newpage
461 \if@twoside\null\thispagestyle{empty}\newpage\fi
462 \if@tempswa\twocolumn\fi}
463 \newcommand{\chapter}{%
464 \if@openright\cleardoublepage\else\clearpage\fi
465 \thispagestyle{jpl@in}%
468 \secdef\@chapter\@schapter}
469 \def\@chapter[#1]#2{%
470 \ifnum \c@secnumdepth >\m@ne
471 \refstepcounter{chapter}%
472 \typeout{\@chapapp\space\thechapter\space\@chappos}%
473 \addcontentsline{toc}{chapter}%
474 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
476 \addcontentsline{toc}{chapter}{#1}%
479 \addtocontents{lof}{\protect\addvspace{10\p@}}%
480 \addtocontents{lot}{\protect\addvspace{10\p@}}%
481 \@makechapterhead{#2}\@afterheading}
482 \def\@makechapterhead#1{\hbox{}%
486 \reset@font\huge\bfseries
488 \ifnum \c@secnumdepth >\m@ne
489 \setlength\@tempdima{\linewidth}%
490 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
491 \addtolength\@tempdima{-\wd\z@}%
493 \vtop{\hsize\@tempdima#1}%
496 \fi}\nobreak\vskip3\Cvs}
498 \@makeschapterhead{#1}\@afterheading
500 \def\@makeschapterhead#1{\hbox{}%
504 \reset@font\huge\bfseries
506 \setlength\@tempdima{\linewidth}%
507 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
508 \newcommand{\section}{\@startsection{section}{1}{\z@}%
509 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
510 {.5\Cvs \@plus.3\Cvs}%
511 {\reset@font\Large\bfseries}}
512 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
513 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
514 {.5\Cvs \@plus.3\Cvs}%
515 {\reset@font\large\bfseries}}
516 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
517 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
518 {.5\Cvs \@plus.3\Cvs}%
519 {\reset@font\normalsize\bfseries}}
520 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
521 {3.25ex \@plus 1ex \@minus .2ex}%
523 {\reset@font\normalsize\bfseries}}
524 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
525 {3.25ex \@plus 1ex \@minus .2ex}%
527 {\reset@font\normalsize\bfseries}}
528 \newcommand{\appendix}{\par
529 \setcounter{chapter}{0}%
530 \setcounter{section}{0}%
531 \renewcommand{\@chapapp}{\appendixname}%
532 \renewcommand{\@chappos}\space%
533 \renewcommand{\thechapter}{\@Alph\c@chapter}}
535 \setlength\leftmargini {2em}
537 \setlength\leftmargini {2.5em}
539 \setlength\leftmarginii {2.2em}
540 \setlength\leftmarginiii {1.87em}
541 \setlength\leftmarginiv {1.7em}
543 \setlength\leftmarginv {.5em}
544 \setlength\leftmarginvi{.5em}
546 \setlength\leftmarginv {1em}
547 \setlength\leftmarginvi{1em}
549 \setlength \labelsep {.5em}
550 \setlength \labelwidth{\leftmargini}
551 \addtolength\labelwidth{-\labelsep}
552 \@beginparpenalty -\@lowpenalty
553 \@endparpenalty -\@lowpenalty
554 \@itempenalty -\@lowpenalty
555 \renewcommand{\theenumi}{\@arabic\c@enumi}
556 \renewcommand{\theenumii}{\@alph\c@enumii}
557 \renewcommand{\theenumiii}{\@roman\c@enumiii}
558 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
559 \newcommand{\labelenumi}{\theenumi.}
560 \newcommand{\labelenumii}{(\theenumii)}
561 \newcommand{\labelenumiii}{\theenumiii.}
562 \newcommand{\labelenumiv}{\theenumiv.}
563 \renewcommand{\p@enumii}{\theenumi}
564 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
565 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
566 \renewenvironment{enumerate}
567 {\ifnum \@enumdepth >\thr@@\@toodeep\else
568 \advance\@enumdepth\@ne
569 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
570 \list{\csname label\@enumctr\endcsname}{%
571 \ifnum\ltjgetparameter{direction}=3
572 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
574 \parskip\z@ \itemsep\z@ \parsep\z@
575 \labelwidth1\zw \labelsep.3\zw
576 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
577 \else\leftmargin\leftskip\fi
578 \advance\leftmargin 1\zw
580 \usecounter{\@enumctr}%
581 \def\makelabel##1{\hss\llap{##1}}}%
583 \newcommand{\labelitemi}{\textbullet}
584 \newcommand{\labelitemii}{%
585 \ifnum\ltjgetparameter{direction}=3
588 {\normalfont\bfseries\textendash}
591 \newcommand{\labelitemiii}{\textasteriskcentered}
592 \newcommand{\labelitemiv}{\textperiodcentered}
593 \renewenvironment{itemize}
594 {\ifnum \@itemdepth >\thr@@\@toodeep\else
595 \advance\@itemdepth\@ne
596 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
598 \list{\csname \@itemitem\endcsname}{%
599 \ifnum\ltjgetparameter{direction}=3
600 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
602 \parskip\z@ \itemsep\z@ \parsep\z@
603 \labelwidth1\zw \labelsep.3\zw
604 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
605 \else\leftmargin\leftskip\fi
606 \advance\leftmargin 1\zw
608 \def\makelabel##1{\hss\llap{##1}}}%
610 \newenvironment{description}
611 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
612 \ifnum\ltjgetparameter{direction}=3
613 \leftmargin\leftskip \advance\leftmargin3\Cwd
614 \rightmargin\rightskip
615 \labelsep=1\zw \itemsep\z@
616 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
618 \let\makelabel\descriptionlabel}}{\endlist}
619 \newcommand{\descriptionlabel}[1]{%
620 \hspace\labelsep\normalfont\bfseries #1}
621 \newenvironment{verse}
623 \list{}{\itemsep\z@ \itemindent -1.5em%
624 \listparindent\itemindent
625 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
626 \item\relax}{\endlist}
627 \newenvironment{quotation}
628 {\list{}{\listparindent 1.5em%
629 \itemindent\listparindent
630 \rightmargin\leftmargin
631 \parsep\z@ \@plus\p@}%
632 \item\relax}{\endlist}
633 \newenvironment{quote}
634 {\list{}{\rightmargin\leftmargin}%
635 \item\relax}{\endlist}
636 \newcounter{figure}[chapter]
637 \renewcommand{\thefigure}{%
638 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@figure}
642 \def\fnum@figure{\figurename~\thefigure}
643 \newenvironment{figure}
646 \newenvironment{figure*}
649 \newcounter{table}[chapter]
650 \renewcommand{\thetable}{%
651 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@table}
655 \def\fnum@table{\tablename~\thetable}
656 \newenvironment{table}
659 \newenvironment{table*}
662 \newlength\abovecaptionskip
663 \newlength\belowcaptionskip
664 \setlength\abovecaptionskip{10\p@}
665 \setlength\belowcaptionskip{0\p@}
666 \long\def\@makecaption#1#2{%
667 \vskip\abovecaptionskip
668 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
669 \else\sbox\@tempboxa{#1: #2}%
671 \ifdim \wd\@tempboxa >\hsize
672 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
673 \else #1: #2\relax\par\fi
675 \global \@minipagefalse
676 \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
678 \vskip\belowcaptionskip}
679 \setlength\arraycolsep{5\p@}
680 \setlength\tabcolsep{6\p@}
681 \setlength\arrayrulewidth{.4\p@}
682 \setlength\doublerulesep{2\p@}
683 \setlength\tabbingsep{\labelsep}
684 \skip\@mpfootins = \skip\footins
685 \setlength\fboxsep{3\p@}
686 \setlength\fboxrule{.4\p@}
687 \@addtoreset{equation}{chapter}
688 \renewcommand{\theequation}{%
689 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
690 \if@compatibility\else
691 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
692 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
693 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
695 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
699 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
700 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
703 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
704 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
705 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
706 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
707 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
708 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
709 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
710 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
711 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
712 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
713 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
714 \setcounter{tocdepth}{2}
715 \newcommand{\@pnumwidth}{1.55em}
716 \newcommand{\@tocrmarg}{2.55em}
717 \newcommand{\@dotsep}{4.5}
718 \newdimen\toclineskip
719 \setlength\toclineskip{\z@}
721 \def\numberline#1{\hbox to\@lnumwidth{#1\hfil}}
722 \def\@dottedtocline#1#2#3#4#5{%
723 \ifnum #1>\c@tocdepth \else
724 \vskip\toclineskip \@plus.2\p@
725 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
726 \parindent #2\relax\@afterindenttrue
730 \advance\leftskip \@lnumwidth \hbox{}\hskip -\leftskip
732 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
734 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
737 \def\addcontentsline#1#2#3{%
738 \protected@write\@auxout
739 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
740 \@temptokena{\thepage}}%
741 {\string\@writefile{#1}%
742 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
744 \newcommand{\tableofcontents}{%
745 \if@twocolumn\@restonecoltrue\onecolumn
746 \else\@restonecolfalse\fi
747 \chapter*{\contentsname
748 \@mkboth{\contentsname}{\contentsname}%
750 \if@restonecol\twocolumn\fi
752 \newcommand*{\l@part}[2]{%
753 \ifnum \c@tocdepth >-2\relax
754 \addpenalty{-\@highpenalty}%
755 \addvspace{2.25em \@plus\p@}%
757 \parindent\z@\rightskip\@pnumwidth
758 \parfillskip-\@pnumwidth
759 {\leavevmode\large\bfseries
760 \setlength\@lnumwidth{4\zw}%
762 \hbox to\@pnumwidth{\hss#2}}\par
765 \everypar{\global\@nobreakfalse\everypar{}}%
768 \newcommand*{\l@chapter}[2]{%
769 \ifnum \c@tocdepth >\m@ne
770 \addpenalty{-\@highpenalty}%
771 \addvspace{1.0em \@plus\p@}%
773 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
775 \setlength\@lnumwidth{4\zw}%
776 \advance\leftskip\@lnumwidth \hskip-\leftskip
777 #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
778 \penalty\@highpenalty
781 \newcommand*{\l@section}{\@dottedtocline{1}{1.5em}{2.3em}}
782 \newcommand*{\l@subsection} {\@dottedtocline{2}{3.8em}{3.2em}}
783 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{7.0em}{4.1em}}
784 \newcommand*{\l@paragraph} {\@dottedtocline{4}{10em}{5em}}
785 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{12em}{6em}}
786 \newcommand{\listoffigures}{%
787 \if@twocolumn\@restonecoltrue\onecolumn
788 \else\@restonecolfalse\fi
789 \chapter*{\listfigurename
790 \@mkboth{\listfigurename}{\listfigurename}}%
792 \if@restonecol\twocolumn\fi
794 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
795 \newcommand{\listoftables}{%
796 \if@twocolumn\@restonecoltrue\onecolumn
797 \else\@restonecolfalse\fi
798 \chapter*{\listtablename
799 \@mkboth{\listtablename}{\listtablename}}%
801 \if@restonecol\twocolumn\fi
803 \let\l@table\l@figure
805 \setlength\bibindent{1.5em}
806 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
807 \newenvironment{thebibliography}[1]
808 {\chapter*{\bibname\@mkboth{\bibname}{\bibname}}%
809 \list{\@biblabel{\@arabic\c@enumiv}}%
810 {\settowidth\labelwidth{\@biblabel{#1}}%
811 \leftmargin\labelwidth
812 \advance\leftmargin\labelsep
816 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
819 \@clubpenalty\clubpenalty
823 {\@latex@warning{Empty `thebibliography' environment}}%
825 \let\@openbib@code\@empty
826 \newenvironment{theindex}
827 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
828 \columnseprule\z@ \columnsep 35\p@
829 \twocolumn[\@makeschapterhead{\indexname}]%
830 \@mkboth{\indexname}{\indexname}%
831 \thispagestyle{jpl@in}\parindent\z@
832 \parskip\z@ \@plus .3\p@\relax
834 {\if@restonecol\onecolumn\else\clearpage\fi}
835 \newcommand{\@idxitem}{\par\hangindent 40\p@}
836 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
837 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
838 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
839 \renewcommand{\footnoterule}{%
841 \hrule width .4\columnwidth
843 \@addtoreset{footnote}{chapter}
844 \newcommand\@makefntext[1]{\parindent 1em
845 \noindent\hbox to 1.8em{\hss\@makefnmark}#1}
849 \newcount\heisei \heisei\year \advance\heisei-1988\relax
851 \ifnum\ltjgetparameter{direction}=3
857 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
867 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
872 \newcommand{\prepartname}{第}
873 \newcommand{\postpartname}{部}
874 \newcommand{\prechaptername}{第}
875 \newcommand{\postchaptername}{章}
876 \newcommand{\contentsname}{目 次}
877 \newcommand{\listfigurename}{図 目 次}
878 \newcommand{\listtablename}{表 目 次}
879 \newcommand{\bibname}{関連図書}
880 \newcommand{\indexname}{索 引}
881 \newcommand{\figurename}{図}
882 \newcommand{\tablename}{表}
883 \newcommand{\appendixname}{付 録}
884 \newcommand{\abstractname}{概 要}
886 \pagenumbering{arabic}
901 %% End of file `ltjreport.cls'.