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 [2016/01/31 v1.6-ltj-11
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}
173 \ifdefined\pdfpagewidth
175 \advance \@tempdima 2in
176 \advance \@tempdimb 2in
178 \setlength{\pdfpagewidth}{\@tempdima}
179 \setlength{\pdfpageheight}{\@tempdimb}
182 \advance \@tempdima 2in
183 \advance \@tempdimb 2in
185 \setlength{\pagewidth}{\@tempdima}
186 \setlength{\pageheight}{\@tempdimb}
188 \setlength\lineskip{1\p@}
189 \setlength\normallineskip{1\p@}
190 \renewcommand{\baselinestretch}{}
191 \setlength\parskip{0\p@ \@plus \p@}
192 \setlength\parindent{1\Cwd}
196 \setcounter{topnumber}{2}
197 \setcounter{bottomnumber}{1}
198 \setcounter{totalnumber}{3}
199 \setcounter{dbltopnumber}{2}
200 \renewcommand{\topfraction}{.7}
201 \renewcommand{\bottomfraction}{.3}
202 \renewcommand{\textfraction}{.2}
203 \renewcommand{\floatpagefraction}{.5}
204 \renewcommand{\dbltopfraction}{.7}
205 \renewcommand{\dblfloatpagefraction}{.5}
206 \def\ps@plain{\let\@mkboth\@gobbletwo
207 \let\ps@jpl@in\ps@plain
209 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
210 \let\@evenhead\@empty
211 \let\@evenfoot\@oddfoot}
212 \let\ps@jpl@in\ps@plain
213 \def\ps@headnombre{\let\@mkboth\@gobbletwo
214 \let\ps@jpl@in\ps@headnombre
215 \def\@evenhead{\thepage\hfil}%
216 \def\@oddhead{\hfil\thepage}%
217 \let\@oddfoot\@empty\let\@evenfoot\@empty}
218 \def\ps@footnombre{\let\@mkboth\@gobbletwo
219 \let\ps@jpl@in\ps@footnombre
220 \def\@evenfoot{\thepage\hfil}%
221 \def\@oddfoot{\hfil\thepage}%
222 \let\@oddhead\@empty\let\@evenhead\@empty}
224 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
225 \let\@oddfoot\@empty\let\@evenfoot\@empty
226 \def\@evenhead{\thepage\hfil\leftmark}%
227 \def\@oddhead{{\rightmark}\hfil\thepage}%
228 \let\@mkboth\markboth
229 \def\chaptermark##1{\markboth{%
230 \ifnum \c@secnumdepth >\m@ne
231 \@chapapp\thechapter\@chappos\hskip1\zw
234 \def\sectionmark##1{\markright{%
235 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
238 \else % if not twoside
239 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
241 \def\@oddhead{{\rightmark}\hfil\thepage}%
242 \let\@mkboth\markboth
243 \def\chaptermark##1{\markright{%
244 \ifnum \c@secnumdepth >\m@ne
245 \@chapapp\thechapter\@chappos\hskip1\zw
251 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
252 \def\@evenhead{\leftmark\hfil}% right page
253 \def\@evenfoot{\thepage\hfil}% right page
254 \def\@oddhead{\hfil\rightmark}% left page
255 \def\@oddfoot{\hfil\thepage}% left page
256 \let\@mkboth\markboth
257 \def\chaptermark##1{\markboth{%
258 \ifnum \c@secnumdepth >\m@ne
259 \@chapapp\thechapter\@chappos\hskip1\zw
262 \def\sectionmark##1{\markright{%
263 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
266 \else % if one column
267 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
268 \def\@oddhead{\hfil\rightmark}%
269 \def\@oddfoot{\hfil\thepage}%
270 \let\@mkboth\markboth
271 \def\chaptermark##1{\markright{%
272 \ifnum \c@secnumdepth >\m@ne
273 \@chapapp\thechapter\@chappos\hskip1\zw
278 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
279 \let\@oddfoot\@empty\let\@evenfoot\@empty
280 \def\@evenhead{\thepage\hfil\leftmark}%
281 \def\@oddhead{{\rightmark}\hfil\thepage}%
282 \let\@mkboth\@gobbletwo
283 \let\chaptermark\@gobble
284 \let\sectionmark\@gobble
287 \newenvironment{titlepage}
289 \if@twocolumn\@restonecoltrue\onecolumn
290 \else\@restonecolfalse\newpage\fi
291 \thispagestyle{empty}%
294 {\if@restonecol\twocolumn\else\newpage\fi
297 \newenvironment{titlepage}
300 \@restonecoltrue\onecolumn
302 \@restonecolfalse\newpage
304 \thispagestyle{empty}%
305 \setcounter{page}\@ne
307 {\if@restonecol\twocolumn \else \newpage \fi
309 \setcounter{page}\@ne
313 \def\p@thanks#1{\footnotemark
314 \protected@xdef\@thanks{\@thanks
315 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
317 \newcommand{\maketitle}{\begin{titlepage}%
318 \let\footnotesize\small
319 \let\footnoterule\relax
324 {\LARGE \@title \par}%
328 \begin{tabular}[t]{c}%
332 {\large \@date \par}% % Set date in \large size.
336 \setcounter{footnote}{0}%
337 \global\let\thanks\relax
338 \global\let\maketitle\relax
339 \global\let\p@thanks\relax
340 \global\let\@thanks\@empty
341 \global\let\@author\@empty
342 \global\let\@date\@empty
343 \global\let\@title\@empty
344 \global\let\title\relax
345 \global\let\author\relax
346 \global\let\date\relax
347 \global\let\and\relax
350 \newcommand{\maketitle}{\par
352 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
353 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
354 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
355 \long\def\@makefntext##1{\parindent 1em\noindent
356 \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
358 \ifnum \col@number=\@ne \@maketitle
359 \else \twocolumn[\@maketitle]%
363 \global\@topnum\z@ % Prevents figures from going at top of page.
366 \thispagestyle{jpl@in}\@thanks
368 \setcounter{footnote}{0}%
369 \global\let\thanks\relax
370 \global\let\maketitle\relax
371 \global\let\p@thanks\relax
372 \global\let\@thanks\@empty
373 \global\let\@author\@empty
374 \global\let\@date\@empty
375 \global\let\@title\@empty
376 \global\let\title\relax
377 \global\let\author\relax
378 \global\let\date\relax
379 \global\let\and\relax
386 {\LARGE \@title \par}%
390 \begin{tabular}[t]{c}%
399 \newenvironment{abstract}{%
402 \@beginparpenalty\@lowpenalty
404 {\bfseries\abstractname}%
407 {\par\vfil\null\endtitlepage}
409 \newenvironment{abstract}{%
411 \section*{\abstractname}%
415 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
418 \fi}{\if@twocolumn\else\endquotation\fi}
420 \newcommand*{\chaptermark}[1]{}
421 \setcounter{secnumdepth}{2}
424 \newcounter{section}[chapter]
425 \newcounter{subsection}[section]
426 \newcounter{subsubsection}[subsection]
427 \newcounter{paragraph}[subsubsection]
428 \newcounter{subparagraph}[paragraph]
429 \renewcommand{\thepart}{\@Roman\c@part}
430 \renewcommand{\thechapter}{\@arabic\c@chapter}
431 \renewcommand{\thesection}{\thechapter.\@arabic\c@section}
432 \renewcommand{\thesubsection}{\thesection.\@arabic\c@subsection}
433 \renewcommand{\thesubsubsection}{%
434 \thesubsection.\@arabic\c@subsubsection}
435 \renewcommand{\theparagraph}{%
436 \thesubsubsection.\@arabic\c@paragraph}
437 \renewcommand{\thesubparagraph}{%
438 \theparagraph.\@arabic\c@subparagraph}
439 \newcommand{\@chapapp}{\prechaptername}
440 \newcommand{\@chappos}{\postchaptername}
442 \if@openright \cleardoublepage \else \clearpage \fi
443 \thispagestyle{empty}%
444 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
446 \secdef\@part\@spart}
448 \ifnum \c@secnumdepth >-2\relax
449 \refstepcounter{part}%
450 \addcontentsline{toc}{part}{%
451 \prepartname\thepart\postpartname\hspace{1em}#1}%
453 \addcontentsline{toc}{part}{#1}%
457 \interlinepenalty\@M\reset@font
458 \ifnum \c@secnumdepth >-2\relax
459 \huge\bfseries\prepartname\thepart\postpartname
462 \Huge\bfseries#2\par}%
466 \interlinepenalty\@M\reset@font
467 \Huge\bfseries#1\par}%
469 \def\@endpart{\vfil\newpage
470 \if@twoside\null\thispagestyle{empty}\newpage\fi
471 \if@tempswa\twocolumn\fi}
472 \newcommand{\chapter}{%
473 \if@openright\cleardoublepage\else\clearpage\fi
474 \thispagestyle{jpl@in}%
477 \secdef\@chapter\@schapter}
478 \def\@chapter[#1]#2{%
479 \ifnum \c@secnumdepth >\m@ne
480 \refstepcounter{chapter}%
481 \typeout{\@chapapp\space\thechapter\space\@chappos}%
482 \addcontentsline{toc}{chapter}%
483 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
485 \addcontentsline{toc}{chapter}{#1}%
488 \addtocontents{lof}{\protect\addvspace{10\p@}}%
489 \addtocontents{lot}{\protect\addvspace{10\p@}}%
490 \@makechapterhead{#2}\@afterheading}
491 \def\@makechapterhead#1{\hbox{}%
495 \reset@font\huge\bfseries
497 \ifnum \c@secnumdepth >\m@ne
498 \setlength\@tempdima{\linewidth}%
499 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
500 \addtolength\@tempdima{-\wd\z@}%
502 \vtop{\hsize\@tempdima#1}%
505 \fi}\nobreak\vskip3\Cvs}
507 \@makeschapterhead{#1}\@afterheading
509 \def\@makeschapterhead#1{\hbox{}%
513 \reset@font\huge\bfseries
515 \setlength\@tempdima{\linewidth}%
516 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
517 \newcommand{\section}{\@startsection{section}{1}{\z@}%
518 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
519 {.5\Cvs \@plus.3\Cvs}%
520 {\reset@font\Large\bfseries}}
521 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
522 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
523 {.5\Cvs \@plus.3\Cvs}%
524 {\reset@font\large\bfseries}}
525 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
526 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
527 {.5\Cvs \@plus.3\Cvs}%
528 {\reset@font\normalsize\bfseries}}
529 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
530 {3.25ex \@plus 1ex \@minus .2ex}%
532 {\reset@font\normalsize\bfseries}}
533 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
534 {3.25ex \@plus 1ex \@minus .2ex}%
536 {\reset@font\normalsize\bfseries}}
537 \newcommand{\appendix}{\par
538 \setcounter{chapter}{0}%
539 \setcounter{section}{0}%
540 \renewcommand{\@chapapp}{\appendixname}%
541 \renewcommand{\@chappos}\space%
542 \renewcommand{\thechapter}{\@Alph\c@chapter}}
544 \setlength\leftmargini {2em}
546 \setlength\leftmargini {2.5em}
548 \setlength\leftmarginii {2.2em}
549 \setlength\leftmarginiii {1.87em}
550 \setlength\leftmarginiv {1.7em}
552 \setlength\leftmarginv {.5em}
553 \setlength\leftmarginvi{.5em}
555 \setlength\leftmarginv {1em}
556 \setlength\leftmarginvi{1em}
558 \setlength \labelsep {.5em}
559 \setlength \labelwidth{\leftmargini}
560 \addtolength\labelwidth{-\labelsep}
561 \@beginparpenalty -\@lowpenalty
562 \@endparpenalty -\@lowpenalty
563 \@itempenalty -\@lowpenalty
564 \renewcommand{\theenumi}{\@arabic\c@enumi}
565 \renewcommand{\theenumii}{\@alph\c@enumii}
566 \renewcommand{\theenumiii}{\@roman\c@enumiii}
567 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
568 \newcommand{\labelenumi}{\theenumi.}
569 \newcommand{\labelenumii}{(\theenumii)}
570 \newcommand{\labelenumiii}{\theenumiii.}
571 \newcommand{\labelenumiv}{\theenumiv.}
572 \renewcommand{\p@enumii}{\theenumi}
573 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
574 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
575 \renewenvironment{enumerate}
576 {\ifnum \@enumdepth >\thr@@\@toodeep\else
577 \advance\@enumdepth\@ne
578 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
579 \list{\csname label\@enumctr\endcsname}{%
580 \ifnum\ltjgetparameter{direction}=3
581 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
583 \parskip\z@ \itemsep\z@ \parsep\z@
584 \labelwidth1\zw \labelsep.3\zw
585 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
586 \else\leftmargin\leftskip\fi
587 \advance\leftmargin 1\zw
589 \usecounter{\@enumctr}%
590 \def\makelabel##1{\hss\llap{##1}}}%
592 \newcommand{\labelitemi}{\textbullet}
593 \newcommand{\labelitemii}{%
594 \ifnum\ltjgetparameter{direction}=3
597 {\normalfont\bfseries\textendash}
600 \newcommand{\labelitemiii}{\textasteriskcentered}
601 \newcommand{\labelitemiv}{\textperiodcentered}
602 \renewenvironment{itemize}
603 {\ifnum \@itemdepth >\thr@@\@toodeep\else
604 \advance\@itemdepth\@ne
605 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
607 \list{\csname \@itemitem\endcsname}{%
608 \ifnum\ltjgetparameter{direction}=3
609 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
611 \parskip\z@ \itemsep\z@ \parsep\z@
612 \labelwidth1\zw \labelsep.3\zw
613 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
614 \else\leftmargin\leftskip\fi
615 \advance\leftmargin 1\zw
617 \def\makelabel##1{\hss\llap{##1}}}%
619 \newenvironment{description}
620 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
621 \ifnum\ltjgetparameter{direction}=3
622 \leftmargin\leftskip \advance\leftmargin3\Cwd
623 \rightmargin\rightskip
624 \labelsep=1\zw \itemsep\z@
625 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
627 \let\makelabel\descriptionlabel}}{\endlist}
628 \newcommand{\descriptionlabel}[1]{%
629 \hspace\labelsep\normalfont\bfseries #1}
630 \newenvironment{verse}
632 \list{}{\itemsep\z@ \itemindent -1.5em%
633 \listparindent\itemindent
634 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
635 \item\relax}{\endlist}
636 \newenvironment{quotation}
637 {\list{}{\listparindent 1.5em%
638 \itemindent\listparindent
639 \rightmargin\leftmargin
640 \parsep\z@ \@plus\p@}%
641 \item\relax}{\endlist}
642 \newenvironment{quote}
643 {\list{}{\rightmargin\leftmargin}%
644 \item\relax}{\endlist}
645 \newcounter{figure}[chapter]
646 \renewcommand{\thefigure}{%
647 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@figure}
651 \def\fnum@figure{\figurename~\thefigure}
652 \newenvironment{figure}
655 \newenvironment{figure*}
658 \newcounter{table}[chapter]
659 \renewcommand{\thetable}{%
660 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@table}
664 \def\fnum@table{\tablename~\thetable}
665 \newenvironment{table}
668 \newenvironment{table*}
671 \newlength\abovecaptionskip
672 \newlength\belowcaptionskip
673 \setlength\abovecaptionskip{10\p@}
674 \setlength\belowcaptionskip{0\p@}
675 \long\def\@makecaption#1#2{%
676 \vskip\abovecaptionskip
677 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
678 \else\sbox\@tempboxa{#1: #2}%
680 \ifdim \wd\@tempboxa >\hsize
681 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
682 \else #1: #2\relax\par\fi
684 \global \@minipagefalse
685 \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
687 \vskip\belowcaptionskip}
688 \setlength\arraycolsep{5\p@}
689 \setlength\tabcolsep{6\p@}
690 \setlength\arrayrulewidth{.4\p@}
691 \setlength\doublerulesep{2\p@}
692 \setlength\tabbingsep{\labelsep}
693 \skip\@mpfootins = \skip\footins
694 \setlength\fboxsep{3\p@}
695 \setlength\fboxrule{.4\p@}
696 \@addtoreset{equation}{chapter}
697 \renewcommand{\theequation}{%
698 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
699 \if@compatibility\else
700 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
701 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
702 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
704 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
708 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
709 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
712 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
713 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
714 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
715 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
716 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
717 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
718 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
719 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
720 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
721 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
722 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
723 \setcounter{tocdepth}{2}
724 \newcommand{\@pnumwidth}{1.55em}
725 \newcommand{\@tocrmarg}{2.55em}
726 \newcommand{\@dotsep}{4.5}
727 \newdimen\toclineskip
728 \setlength\toclineskip{\z@}
730 \def\numberline#1{\hbox to\@lnumwidth{#1\hfil}}
731 \def\@dottedtocline#1#2#3#4#5{%
732 \ifnum #1>\c@tocdepth \else
733 \vskip\toclineskip \@plus.2\p@
734 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
735 \parindent #2\relax\@afterindenttrue
739 \advance\leftskip \@lnumwidth \hbox{}\hskip -\leftskip
741 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
743 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
746 \def\addcontentsline#1#2#3{%
747 \protected@write\@auxout
748 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
749 \@temptokena{\thepage}}%
750 {\string\@writefile{#1}%
751 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
753 \newcommand{\tableofcontents}{%
754 \if@twocolumn\@restonecoltrue\onecolumn
755 \else\@restonecolfalse\fi
756 \chapter*{\contentsname
757 \@mkboth{\contentsname}{\contentsname}%
759 \if@restonecol\twocolumn\fi
761 \newcommand*{\l@part}[2]{%
762 \ifnum \c@tocdepth >-2\relax
763 \addpenalty{-\@highpenalty}%
764 \addvspace{2.25em \@plus\p@}%
766 \parindent\z@\rightskip\@pnumwidth
767 \parfillskip-\@pnumwidth
768 {\leavevmode\large\bfseries
769 \setlength\@lnumwidth{4\zw}%
771 \hbox to\@pnumwidth{\hss#2}}\par
774 \everypar{\global\@nobreakfalse\everypar{}}%
777 \newcommand*{\l@chapter}[2]{%
778 \ifnum \c@tocdepth >\m@ne
779 \addpenalty{-\@highpenalty}%
780 \addvspace{1.0em \@plus\p@}%
782 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
784 \setlength\@lnumwidth{4\zw}%
785 \advance\leftskip\@lnumwidth \hskip-\leftskip
786 #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
787 \penalty\@highpenalty
790 \newcommand*{\l@section}{\@dottedtocline{1}{1.5em}{2.3em}}
791 \newcommand*{\l@subsection} {\@dottedtocline{2}{3.8em}{3.2em}}
792 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{7.0em}{4.1em}}
793 \newcommand*{\l@paragraph} {\@dottedtocline{4}{10em}{5em}}
794 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{12em}{6em}}
795 \newcommand{\listoffigures}{%
796 \if@twocolumn\@restonecoltrue\onecolumn
797 \else\@restonecolfalse\fi
798 \chapter*{\listfigurename
799 \@mkboth{\listfigurename}{\listfigurename}}%
801 \if@restonecol\twocolumn\fi
803 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
804 \newcommand{\listoftables}{%
805 \if@twocolumn\@restonecoltrue\onecolumn
806 \else\@restonecolfalse\fi
807 \chapter*{\listtablename
808 \@mkboth{\listtablename}{\listtablename}}%
810 \if@restonecol\twocolumn\fi
812 \let\l@table\l@figure
814 \setlength\bibindent{1.5em}
815 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
816 \newenvironment{thebibliography}[1]
817 {\chapter*{\bibname\@mkboth{\bibname}{\bibname}}%
818 \list{\@biblabel{\@arabic\c@enumiv}}%
819 {\settowidth\labelwidth{\@biblabel{#1}}%
820 \leftmargin\labelwidth
821 \advance\leftmargin\labelsep
825 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
828 \@clubpenalty\clubpenalty
832 {\@latex@warning{Empty `thebibliography' environment}}%
834 \let\@openbib@code\@empty
835 \newenvironment{theindex}
836 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
837 \columnseprule\z@ \columnsep 35\p@
838 \twocolumn[\@makeschapterhead{\indexname}]%
839 \@mkboth{\indexname}{\indexname}%
840 \thispagestyle{jpl@in}\parindent\z@
841 \parskip\z@ \@plus .3\p@\relax
843 {\if@restonecol\onecolumn\else\clearpage\fi}
844 \newcommand{\@idxitem}{\par\hangindent 40\p@}
845 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
846 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
847 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
848 \renewcommand{\footnoterule}{%
850 \hrule width .4\columnwidth
852 \@addtoreset{footnote}{chapter}
853 \newcommand\@makefntext[1]{\parindent 1em
854 \noindent\hbox to 1.8em{\hss\@makefnmark}#1}
858 \newcount\heisei \heisei\year \advance\heisei-1988\relax
860 \ifnum\ltjgetparameter{direction}=3
866 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
876 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
881 \newcommand{\prepartname}{第}
882 \newcommand{\postpartname}{部}
883 \newcommand{\prechaptername}{第}
884 \newcommand{\postchaptername}{章}
885 \newcommand{\contentsname}{目 次}
886 \newcommand{\listfigurename}{図 目 次}
887 \newcommand{\listtablename}{表 目 次}
888 \newcommand{\bibname}{関連図書}
889 \newcommand{\indexname}{索 引}
890 \newcommand{\figurename}{図}
891 \newcommand{\tablename}{表}
892 \newcommand{\appendixname}{付 録}
893 \newcommand{\abstractname}{概 要}
895 \pagenumbering{arabic}
910 %% End of file `ltjreport.cls'.