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/10/18 v1.6-ltj-10
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 \ifdefined\pdfpagewidth
178 \setlength{\pdfpagewidth}{\@tempdima}
179 \setlength{\pdfpageheight}{\@tempdimb}
181 \setlength{\pagewidth}{\@tempdima}
182 \setlength{\pageheight}{\@tempdimb}
184 \setlength\lineskip{1\p@}
185 \setlength\normallineskip{1\p@}
186 \renewcommand{\baselinestretch}{}
187 \setlength\parskip{0\p@ \@plus \p@}
188 \setlength\parindent{1\Cwd}
192 \setcounter{topnumber}{2}
193 \setcounter{bottomnumber}{1}
194 \setcounter{totalnumber}{3}
195 \setcounter{dbltopnumber}{2}
196 \renewcommand{\topfraction}{.7}
197 \renewcommand{\bottomfraction}{.3}
198 \renewcommand{\textfraction}{.2}
199 \renewcommand{\floatpagefraction}{.5}
200 \renewcommand{\dbltopfraction}{.7}
201 \renewcommand{\dblfloatpagefraction}{.5}
202 \def\ps@plain{\let\@mkboth\@gobbletwo
203 \let\ps@jpl@in\ps@plain
205 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
206 \let\@evenhead\@empty
207 \let\@evenfoot\@oddfoot}
208 \let\ps@jpl@in\ps@plain
209 \def\ps@headnombre{\let\@mkboth\@gobbletwo
210 \let\ps@jpl@in\ps@headnombre
211 \def\@evenhead{\thepage\hfil}%
212 \def\@oddhead{\hfil\thepage}%
213 \let\@oddfoot\@empty\let\@evenfoot\@empty}
214 \def\ps@footnombre{\let\@mkboth\@gobbletwo
215 \let\ps@jpl@in\ps@footnombre
216 \def\@evenfoot{\thepage\hfil}%
217 \def\@oddfoot{\hfil\thepage}%
218 \let\@oddhead\@empty\let\@evenhead\@empty}
220 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
221 \let\@oddfoot\@empty\let\@evenfoot\@empty
222 \def\@evenhead{\thepage\hfil\leftmark}%
223 \def\@oddhead{{\rightmark}\hfil\thepage}%
224 \let\@mkboth\markboth
225 \def\chaptermark##1{\markboth{%
226 \ifnum \c@secnumdepth >\m@ne
227 \@chapapp\thechapter\@chappos\hskip1\zw
230 \def\sectionmark##1{\markright{%
231 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
234 \else % if not twoside
235 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
237 \def\@oddhead{{\rightmark}\hfil\thepage}%
238 \let\@mkboth\markboth
239 \def\chaptermark##1{\markright{%
240 \ifnum \c@secnumdepth >\m@ne
241 \@chapapp\thechapter\@chappos\hskip1\zw
247 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
248 \def\@evenhead{\leftmark\hfil}% right page
249 \def\@evenfoot{\thepage\hfil}% right page
250 \def\@oddhead{\hfil\rightmark}% left page
251 \def\@oddfoot{\hfil\thepage}% left page
252 \let\@mkboth\markboth
253 \def\chaptermark##1{\markboth{%
254 \ifnum \c@secnumdepth >\m@ne
255 \@chapapp\thechapter\@chappos\hskip1\zw
258 \def\sectionmark##1{\markright{%
259 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
262 \else % if one column
263 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
264 \def\@oddhead{\hfil\rightmark}%
265 \def\@oddfoot{\hfil\thepage}%
266 \let\@mkboth\markboth
267 \def\chaptermark##1{\markright{%
268 \ifnum \c@secnumdepth >\m@ne
269 \@chapapp\thechapter\@chappos\hskip1\zw
274 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
275 \let\@oddfoot\@empty\let\@evenfoot\@empty
276 \def\@evenhead{\thepage\hfil\leftmark}%
277 \def\@oddhead{{\rightmark}\hfil\thepage}%
278 \let\@mkboth\@gobbletwo
279 \let\chaptermark\@gobble
280 \let\sectionmark\@gobble
283 \newenvironment{titlepage}
285 \if@twocolumn\@restonecoltrue\onecolumn
286 \else\@restonecolfalse\newpage\fi
287 \thispagestyle{empty}%
290 {\if@restonecol\twocolumn\else\newpage\fi
293 \newenvironment{titlepage}
296 \@restonecoltrue\onecolumn
298 \@restonecolfalse\newpage
300 \thispagestyle{empty}%
301 \setcounter{page}\@ne
303 {\if@restonecol\twocolumn \else \newpage \fi
305 \setcounter{page}\@ne
309 \def\p@thanks#1{\footnotemark
310 \protected@xdef\@thanks{\@thanks
311 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
313 \newcommand{\maketitle}{\begin{titlepage}%
314 \let\footnotesize\small
315 \let\footnoterule\relax
320 {\LARGE \@title \par}%
324 \begin{tabular}[t]{c}%
328 {\large \@date \par}% % Set date in \large size.
332 \setcounter{footnote}{0}%
333 \global\let\thanks\relax
334 \global\let\maketitle\relax
335 \global\let\p@thanks\relax
336 \global\let\@thanks\@empty
337 \global\let\@author\@empty
338 \global\let\@date\@empty
339 \global\let\@title\@empty
340 \global\let\title\relax
341 \global\let\author\relax
342 \global\let\date\relax
343 \global\let\and\relax
346 \newcommand{\maketitle}{\par
348 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
349 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
350 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
351 \long\def\@makefntext##1{\parindent 1em\noindent
352 \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
354 \ifnum \col@number=\@ne \@maketitle
355 \else \twocolumn[\@maketitle]%
359 \global\@topnum\z@ % Prevents figures from going at top of page.
362 \thispagestyle{jpl@in}\@thanks
364 \setcounter{footnote}{0}%
365 \global\let\thanks\relax
366 \global\let\maketitle\relax
367 \global\let\p@thanks\relax
368 \global\let\@thanks\@empty
369 \global\let\@author\@empty
370 \global\let\@date\@empty
371 \global\let\@title\@empty
372 \global\let\title\relax
373 \global\let\author\relax
374 \global\let\date\relax
375 \global\let\and\relax
382 {\LARGE \@title \par}%
386 \begin{tabular}[t]{c}%
395 \newenvironment{abstract}{%
398 \@beginparpenalty\@lowpenalty
400 {\bfseries\abstractname}%
403 {\par\vfil\null\endtitlepage}
405 \newenvironment{abstract}{%
407 \section*{\abstractname}%
411 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
414 \fi}{\if@twocolumn\else\endquotation\fi}
416 \newcommand*{\chaptermark}[1]{}
417 \setcounter{secnumdepth}{2}
420 \newcounter{section}[chapter]
421 \newcounter{subsection}[section]
422 \newcounter{subsubsection}[subsection]
423 \newcounter{paragraph}[subsubsection]
424 \newcounter{subparagraph}[paragraph]
425 \renewcommand{\thepart}{\@Roman\c@part}
426 \renewcommand{\thechapter}{\@arabic\c@chapter}
427 \renewcommand{\thesection}{\thechapter.\@arabic\c@section}
428 \renewcommand{\thesubsection}{\thesection.\@arabic\c@subsection}
429 \renewcommand{\thesubsubsection}{%
430 \thesubsection.\@arabic\c@subsubsection}
431 \renewcommand{\theparagraph}{%
432 \thesubsubsection.\@arabic\c@paragraph}
433 \renewcommand{\thesubparagraph}{%
434 \theparagraph.\@arabic\c@subparagraph}
435 \newcommand{\@chapapp}{\prechaptername}
436 \newcommand{\@chappos}{\postchaptername}
438 \if@openright \cleardoublepage \else \clearpage \fi
439 \thispagestyle{empty}%
440 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
442 \secdef\@part\@spart}
444 \ifnum \c@secnumdepth >-2\relax
445 \refstepcounter{part}%
446 \addcontentsline{toc}{part}{%
447 \prepartname\thepart\postpartname\hspace{1em}#1}%
449 \addcontentsline{toc}{part}{#1}%
453 \interlinepenalty\@M\reset@font
454 \ifnum \c@secnumdepth >-2\relax
455 \huge\bfseries\prepartname\thepart\postpartname
458 \Huge\bfseries#2\par}%
462 \interlinepenalty\@M\reset@font
463 \Huge\bfseries#1\par}%
465 \def\@endpart{\vfil\newpage
466 \if@twoside\null\thispagestyle{empty}\newpage\fi
467 \if@tempswa\twocolumn\fi}
468 \newcommand{\chapter}{%
469 \if@openright\cleardoublepage\else\clearpage\fi
470 \thispagestyle{jpl@in}%
473 \secdef\@chapter\@schapter}
474 \def\@chapter[#1]#2{%
475 \ifnum \c@secnumdepth >\m@ne
476 \refstepcounter{chapter}%
477 \typeout{\@chapapp\space\thechapter\space\@chappos}%
478 \addcontentsline{toc}{chapter}%
479 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
481 \addcontentsline{toc}{chapter}{#1}%
484 \addtocontents{lof}{\protect\addvspace{10\p@}}%
485 \addtocontents{lot}{\protect\addvspace{10\p@}}%
486 \@makechapterhead{#2}\@afterheading}
487 \def\@makechapterhead#1{\hbox{}%
491 \reset@font\huge\bfseries
493 \ifnum \c@secnumdepth >\m@ne
494 \setlength\@tempdima{\linewidth}%
495 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
496 \addtolength\@tempdima{-\wd\z@}%
498 \vtop{\hsize\@tempdima#1}%
501 \fi}\nobreak\vskip3\Cvs}
503 \@makeschapterhead{#1}\@afterheading
505 \def\@makeschapterhead#1{\hbox{}%
509 \reset@font\huge\bfseries
511 \setlength\@tempdima{\linewidth}%
512 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
513 \newcommand{\section}{\@startsection{section}{1}{\z@}%
514 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
515 {.5\Cvs \@plus.3\Cvs}%
516 {\reset@font\Large\bfseries}}
517 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
518 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
519 {.5\Cvs \@plus.3\Cvs}%
520 {\reset@font\large\bfseries}}
521 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
522 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
523 {.5\Cvs \@plus.3\Cvs}%
524 {\reset@font\normalsize\bfseries}}
525 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
526 {3.25ex \@plus 1ex \@minus .2ex}%
528 {\reset@font\normalsize\bfseries}}
529 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
530 {3.25ex \@plus 1ex \@minus .2ex}%
532 {\reset@font\normalsize\bfseries}}
533 \newcommand{\appendix}{\par
534 \setcounter{chapter}{0}%
535 \setcounter{section}{0}%
536 \renewcommand{\@chapapp}{\appendixname}%
537 \renewcommand{\@chappos}\space%
538 \renewcommand{\thechapter}{\@Alph\c@chapter}}
540 \setlength\leftmargini {2em}
542 \setlength\leftmargini {2.5em}
544 \setlength\leftmarginii {2.2em}
545 \setlength\leftmarginiii {1.87em}
546 \setlength\leftmarginiv {1.7em}
548 \setlength\leftmarginv {.5em}
549 \setlength\leftmarginvi{.5em}
551 \setlength\leftmarginv {1em}
552 \setlength\leftmarginvi{1em}
554 \setlength \labelsep {.5em}
555 \setlength \labelwidth{\leftmargini}
556 \addtolength\labelwidth{-\labelsep}
557 \@beginparpenalty -\@lowpenalty
558 \@endparpenalty -\@lowpenalty
559 \@itempenalty -\@lowpenalty
560 \renewcommand{\theenumi}{\@arabic\c@enumi}
561 \renewcommand{\theenumii}{\@alph\c@enumii}
562 \renewcommand{\theenumiii}{\@roman\c@enumiii}
563 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
564 \newcommand{\labelenumi}{\theenumi.}
565 \newcommand{\labelenumii}{(\theenumii)}
566 \newcommand{\labelenumiii}{\theenumiii.}
567 \newcommand{\labelenumiv}{\theenumiv.}
568 \renewcommand{\p@enumii}{\theenumi}
569 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
570 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
571 \renewenvironment{enumerate}
572 {\ifnum \@enumdepth >\thr@@\@toodeep\else
573 \advance\@enumdepth\@ne
574 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
575 \list{\csname label\@enumctr\endcsname}{%
576 \ifnum\ltjgetparameter{direction}=3
577 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
579 \parskip\z@ \itemsep\z@ \parsep\z@
580 \labelwidth1\zw \labelsep.3\zw
581 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
582 \else\leftmargin\leftskip\fi
583 \advance\leftmargin 1\zw
585 \usecounter{\@enumctr}%
586 \def\makelabel##1{\hss\llap{##1}}}%
588 \newcommand{\labelitemi}{\textbullet}
589 \newcommand{\labelitemii}{%
590 \ifnum\ltjgetparameter{direction}=3
593 {\normalfont\bfseries\textendash}
596 \newcommand{\labelitemiii}{\textasteriskcentered}
597 \newcommand{\labelitemiv}{\textperiodcentered}
598 \renewenvironment{itemize}
599 {\ifnum \@itemdepth >\thr@@\@toodeep\else
600 \advance\@itemdepth\@ne
601 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
603 \list{\csname \@itemitem\endcsname}{%
604 \ifnum\ltjgetparameter{direction}=3
605 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
607 \parskip\z@ \itemsep\z@ \parsep\z@
608 \labelwidth1\zw \labelsep.3\zw
609 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
610 \else\leftmargin\leftskip\fi
611 \advance\leftmargin 1\zw
613 \def\makelabel##1{\hss\llap{##1}}}%
615 \newenvironment{description}
616 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
617 \ifnum\ltjgetparameter{direction}=3
618 \leftmargin\leftskip \advance\leftmargin3\Cwd
619 \rightmargin\rightskip
620 \labelsep=1\zw \itemsep\z@
621 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
623 \let\makelabel\descriptionlabel}}{\endlist}
624 \newcommand{\descriptionlabel}[1]{%
625 \hspace\labelsep\normalfont\bfseries #1}
626 \newenvironment{verse}
628 \list{}{\itemsep\z@ \itemindent -1.5em%
629 \listparindent\itemindent
630 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
631 \item\relax}{\endlist}
632 \newenvironment{quotation}
633 {\list{}{\listparindent 1.5em%
634 \itemindent\listparindent
635 \rightmargin\leftmargin
636 \parsep\z@ \@plus\p@}%
637 \item\relax}{\endlist}
638 \newenvironment{quote}
639 {\list{}{\rightmargin\leftmargin}%
640 \item\relax}{\endlist}
641 \newcounter{figure}[chapter]
642 \renewcommand{\thefigure}{%
643 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@figure}
647 \def\fnum@figure{\figurename~\thefigure}
648 \newenvironment{figure}
651 \newenvironment{figure*}
654 \newcounter{table}[chapter]
655 \renewcommand{\thetable}{%
656 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@table}
660 \def\fnum@table{\tablename~\thetable}
661 \newenvironment{table}
664 \newenvironment{table*}
667 \newlength\abovecaptionskip
668 \newlength\belowcaptionskip
669 \setlength\abovecaptionskip{10\p@}
670 \setlength\belowcaptionskip{0\p@}
671 \long\def\@makecaption#1#2{%
672 \vskip\abovecaptionskip
673 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
674 \else\sbox\@tempboxa{#1: #2}%
676 \ifdim \wd\@tempboxa >\hsize
677 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
678 \else #1: #2\relax\par\fi
680 \global \@minipagefalse
681 \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
683 \vskip\belowcaptionskip}
684 \setlength\arraycolsep{5\p@}
685 \setlength\tabcolsep{6\p@}
686 \setlength\arrayrulewidth{.4\p@}
687 \setlength\doublerulesep{2\p@}
688 \setlength\tabbingsep{\labelsep}
689 \skip\@mpfootins = \skip\footins
690 \setlength\fboxsep{3\p@}
691 \setlength\fboxrule{.4\p@}
692 \@addtoreset{equation}{chapter}
693 \renewcommand{\theequation}{%
694 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
695 \if@compatibility\else
696 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
697 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
698 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
700 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
704 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
705 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
708 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
709 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
710 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
711 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
712 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
713 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
714 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
715 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
716 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
717 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
718 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
719 \setcounter{tocdepth}{2}
720 \newcommand{\@pnumwidth}{1.55em}
721 \newcommand{\@tocrmarg}{2.55em}
722 \newcommand{\@dotsep}{4.5}
723 \newdimen\toclineskip
724 \setlength\toclineskip{\z@}
726 \def\numberline#1{\hbox to\@lnumwidth{#1\hfil}}
727 \def\@dottedtocline#1#2#3#4#5{%
728 \ifnum #1>\c@tocdepth \else
729 \vskip\toclineskip \@plus.2\p@
730 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
731 \parindent #2\relax\@afterindenttrue
735 \advance\leftskip \@lnumwidth \hbox{}\hskip -\leftskip
737 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
739 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
742 \def\addcontentsline#1#2#3{%
743 \protected@write\@auxout
744 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
745 \@temptokena{\thepage}}%
746 {\string\@writefile{#1}%
747 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
749 \newcommand{\tableofcontents}{%
750 \if@twocolumn\@restonecoltrue\onecolumn
751 \else\@restonecolfalse\fi
752 \chapter*{\contentsname
753 \@mkboth{\contentsname}{\contentsname}%
755 \if@restonecol\twocolumn\fi
757 \newcommand*{\l@part}[2]{%
758 \ifnum \c@tocdepth >-2\relax
759 \addpenalty{-\@highpenalty}%
760 \addvspace{2.25em \@plus\p@}%
762 \parindent\z@\rightskip\@pnumwidth
763 \parfillskip-\@pnumwidth
764 {\leavevmode\large\bfseries
765 \setlength\@lnumwidth{4\zw}%
767 \hbox to\@pnumwidth{\hss#2}}\par
770 \everypar{\global\@nobreakfalse\everypar{}}%
773 \newcommand*{\l@chapter}[2]{%
774 \ifnum \c@tocdepth >\m@ne
775 \addpenalty{-\@highpenalty}%
776 \addvspace{1.0em \@plus\p@}%
778 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
780 \setlength\@lnumwidth{4\zw}%
781 \advance\leftskip\@lnumwidth \hskip-\leftskip
782 #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
783 \penalty\@highpenalty
786 \newcommand*{\l@section}{\@dottedtocline{1}{1.5em}{2.3em}}
787 \newcommand*{\l@subsection} {\@dottedtocline{2}{3.8em}{3.2em}}
788 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{7.0em}{4.1em}}
789 \newcommand*{\l@paragraph} {\@dottedtocline{4}{10em}{5em}}
790 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{12em}{6em}}
791 \newcommand{\listoffigures}{%
792 \if@twocolumn\@restonecoltrue\onecolumn
793 \else\@restonecolfalse\fi
794 \chapter*{\listfigurename
795 \@mkboth{\listfigurename}{\listfigurename}}%
797 \if@restonecol\twocolumn\fi
799 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
800 \newcommand{\listoftables}{%
801 \if@twocolumn\@restonecoltrue\onecolumn
802 \else\@restonecolfalse\fi
803 \chapter*{\listtablename
804 \@mkboth{\listtablename}{\listtablename}}%
806 \if@restonecol\twocolumn\fi
808 \let\l@table\l@figure
810 \setlength\bibindent{1.5em}
811 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
812 \newenvironment{thebibliography}[1]
813 {\chapter*{\bibname\@mkboth{\bibname}{\bibname}}%
814 \list{\@biblabel{\@arabic\c@enumiv}}%
815 {\settowidth\labelwidth{\@biblabel{#1}}%
816 \leftmargin\labelwidth
817 \advance\leftmargin\labelsep
821 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
824 \@clubpenalty\clubpenalty
828 {\@latex@warning{Empty `thebibliography' environment}}%
830 \let\@openbib@code\@empty
831 \newenvironment{theindex}
832 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
833 \columnseprule\z@ \columnsep 35\p@
834 \twocolumn[\@makeschapterhead{\indexname}]%
835 \@mkboth{\indexname}{\indexname}%
836 \thispagestyle{jpl@in}\parindent\z@
837 \parskip\z@ \@plus .3\p@\relax
839 {\if@restonecol\onecolumn\else\clearpage\fi}
840 \newcommand{\@idxitem}{\par\hangindent 40\p@}
841 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
842 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
843 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
844 \renewcommand{\footnoterule}{%
846 \hrule width .4\columnwidth
848 \@addtoreset{footnote}{chapter}
849 \newcommand\@makefntext[1]{\parindent 1em
850 \noindent\hbox to 1.8em{\hss\@makefnmark}#1}
854 \newcount\heisei \heisei\year \advance\heisei-1988\relax
856 \ifnum\ltjgetparameter{direction}=3
862 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
872 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
877 \newcommand{\prepartname}{第}
878 \newcommand{\postpartname}{部}
879 \newcommand{\prechaptername}{第}
880 \newcommand{\postchaptername}{章}
881 \newcommand{\contentsname}{目 次}
882 \newcommand{\listfigurename}{図 目 次}
883 \newcommand{\listtablename}{表 目 次}
884 \newcommand{\bibname}{関連図書}
885 \newcommand{\indexname}{索 引}
886 \newcommand{\figurename}{図}
887 \newcommand{\tablename}{表}
888 \newcommand{\appendixname}{付 録}
889 \newcommand{\abstractname}{概 要}
891 \pagenumbering{arabic}
906 %% End of file `ltjreport.cls'.