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
24 \NeedsTeXFormat{LaTeX2e}
25 \ProvidesClass{ltjreport}
26 [2017/01/17 v1.7c-ltj-12
27 Standard LuaLaTeX-ja class]
28 \RequirePackage{luatexja}
30 \newif\if@landscape \@landscapefalse
31 \newcommand{\@ptsize}{}
36 \hour\time \divide\hour by 60\relax
37 \@tempcnta\hour \multiply\@tempcnta 60\relax
38 \minute\time \advance\minute-\@tempcnta
39 \newif\if@stysize \@stysizefalse
40 \newif\if@mathrmmc \@mathrmmcfalse
41 \DeclareOption{a4paper}{\setcounter{@paper}{1}%
42 \setlength\paperheight {297mm}%
43 \setlength\paperwidth {210mm}}
44 \DeclareOption{a5paper}{\setcounter{@paper}{2}%
45 \setlength\paperheight {210mm}
46 \setlength\paperwidth {148mm}}
47 \DeclareOption{b4paper}{\setcounter{@paper}{3}%
48 \setlength\paperheight {364mm}
49 \setlength\paperwidth {257mm}}
50 \DeclareOption{b5paper}{\setcounter{@paper}{4}%
51 \setlength\paperheight {257mm}
52 \setlength\paperwidth {182mm}}
53 \DeclareOption{a4j}{\setcounter{@paper}{1}\@stysizetrue
54 \setlength\paperheight {297mm}%
55 \setlength\paperwidth {210mm}}
56 \DeclareOption{a5j}{\setcounter{@paper}{2}\@stysizetrue
57 \setlength\paperheight {210mm}
58 \setlength\paperwidth {148mm}}
59 \DeclareOption{b4j}{\setcounter{@paper}{3}\@stysizetrue
60 \setlength\paperheight {364mm}
61 \setlength\paperwidth {257mm}}
62 \DeclareOption{b5j}{\setcounter{@paper}{4}\@stysizetrue
63 \setlength\paperheight {257mm}
64 \setlength\paperwidth {182mm}}
65 \DeclareOption{a4p}{\setcounter{@paper}{1}\@stysizetrue
66 \setlength\paperheight {297mm}%
67 \setlength\paperwidth {210mm}}
68 \DeclareOption{a5p}{\setcounter{@paper}{2}\@stysizetrue
69 \setlength\paperheight {210mm}
70 \setlength\paperwidth {148mm}}
71 \DeclareOption{b4p}{\setcounter{@paper}{3}\@stysizetrue
72 \setlength\paperheight {364mm}
73 \setlength\paperwidth {257mm}}
74 \DeclareOption{b5p}{\setcounter{@paper}{4}\@stysizetrue
75 \setlength\paperheight {257mm}
76 \setlength\paperwidth {182mm}}
78 \renewcommand{\@ptsize}{0}
80 \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
82 \DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
83 \DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
84 \DeclareOption{landscape}{\@landscapetrue
85 \setlength\@tempdima{\paperheight}%
86 \setlength\paperheight{\paperwidth}%
87 \setlength\paperwidth{\@tempdima}}
88 \DeclareOption{tombow}{%
89 \tombowtrue \tombowdatetrue
90 \setlength{\@tombowwidth}{.1\p@}%
92 \jobname\space:\space\number\year/\number\month/\number\day
93 (\number\hour:\number\minute)}
95 \DeclareOption{tombo}{%
96 \tombowtrue \tombowdatefalse
97 \setlength{\@tombowwidth}{.1\p@}%
99 \DeclareOption{mentuke}{%
100 \tombowtrue \tombowdatefalse
101 \setlength{\@tombowwidth}{\z@}%
103 \DeclareOption{tate}{%
104 \tate\AtBeginDocument{\message{《縦組モード》}\adjustbaseline}%
106 \DeclareOption{oneside}{\@twosidefalse}
107 \DeclareOption{twoside}{\@twosidetrue}
108 \DeclareOption{onecolumn}{\@twocolumnfalse}
109 \DeclareOption{twocolumn}{\@twocolumntrue}
110 \DeclareOption{titlepage}{\@titlepagetrue}
111 \DeclareOption{notitlepage}{\@titlepagefalse}
114 \DeclareOption{openright}{\@openrighttrue}
115 \DeclareOption{openany}{\@openrightfalse}
117 \DeclareOption{leqno}{\input{leqno.clo}}
118 \DeclareOption{fleqn}{\input{fleqn.clo}}
119 \DeclareOption{openbib}{%
121 \renewcommand\@openbib@code{%
122 \advance\leftmargin\bibindent
123 \itemindent -\bibindent
124 \listparindent \itemindent
127 \renewcommand\newblock{\par}}}
131 \DeclareOption{disablejfam}{%
132 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
133 \DeclareOption{mathrmmc}{\@mathrmmctrue}
135 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
136 \DeclareOption{final}{\setlength\overfullrule{0pt}}
137 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
138 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
139 'ltj.jclasses_load_jfm', 1)}
140 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
141 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
142 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
143 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
144 \ltjglobalsetparameter{differentjfm=both}
145 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
146 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany}
147 \ProcessOptions\relax
148 \input{ltjsize1\@ptsize.clo}
150 \setlength\columnsep{2\Cwd}
152 \setlength\columnsep{10\p@}
154 \setlength\columnseprule{0\p@}
156 \newlength{\stockwidth}
157 \newlength{\stockheight}
158 \setlength{\stockwidth}{\paperwidth}
159 \setlength{\stockheight}{\paperheight}
160 \advance \stockwidth 2in
161 \advance \stockheight 2in
162 \ifdefined\pdfpagewidth
163 \setlength{\pdfpagewidth}{\stockwidth}
164 \setlength{\pdfpageheight}{\stockheight}
166 \setlength{\pagewidth}{\stockwidth}
167 \setlength{\pageheight}{\stockheight}
170 \ifdefined\pdfpagewidth
171 \setlength{\pdfpagewidth}{\paperwidth}
172 \setlength{\pdfpageheight}{\paperheight}
174 \setlength{\pagewidth}{\paperwidth}
175 \setlength{\pageheight}{\paperheight}
178 \setlength\lineskip{1\p@}
179 \setlength\normallineskip{1\p@}
180 \renewcommand{\baselinestretch}{}
181 \setlength\parskip{0\p@ \@plus \p@}
182 \setlength\parindent{1\Cwd}
186 \setcounter{topnumber}{2}
187 \setcounter{bottomnumber}{1}
188 \setcounter{totalnumber}{3}
189 \setcounter{dbltopnumber}{2}
190 \renewcommand{\topfraction}{.7}
191 \renewcommand{\bottomfraction}{.3}
192 \renewcommand{\textfraction}{.2}
193 \renewcommand{\floatpagefraction}{.5}
194 \renewcommand{\dbltopfraction}{.7}
195 \renewcommand{\dblfloatpagefraction}{.5}
196 \def\ps@plain{\let\@mkboth\@gobbletwo
197 \let\ps@jpl@in\ps@plain
199 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
200 \let\@evenhead\@empty
201 \let\@evenfoot\@oddfoot}
202 \let\ps@jpl@in\ps@plain
203 \def\ps@headnombre{\let\@mkboth\@gobbletwo
204 \let\ps@jpl@in\ps@headnombre
205 \def\@evenhead{\thepage\hfil}%
206 \def\@oddhead{\hfil\thepage}%
207 \let\@oddfoot\@empty\let\@evenfoot\@empty}
208 \def\ps@footnombre{\let\@mkboth\@gobbletwo
209 \let\ps@jpl@in\ps@footnombre
210 \def\@evenfoot{\thepage\hfil}%
211 \def\@oddfoot{\hfil\thepage}%
212 \let\@oddhead\@empty\let\@evenhead\@empty}
214 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
215 \let\@oddfoot\@empty\let\@evenfoot\@empty
216 \def\@evenhead{\thepage\hfil\leftmark}%
217 \def\@oddhead{{\rightmark}\hfil\thepage}%
218 \let\@mkboth\markboth
219 \def\chaptermark##1{\markboth{%
220 \ifnum \c@secnumdepth >\m@ne
221 \@chapapp\thechapter\@chappos\hskip1\zw
224 \def\sectionmark##1{\markright{%
225 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
228 \else % if not twoside
229 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
231 \def\@oddhead{{\rightmark}\hfil\thepage}%
232 \let\@mkboth\markboth
233 \def\chaptermark##1{\markright{%
234 \ifnum \c@secnumdepth >\m@ne
235 \@chapapp\thechapter\@chappos\hskip1\zw
241 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
242 \def\@evenhead{\leftmark\hfil}% right page
243 \def\@evenfoot{\thepage\hfil}% right page
244 \def\@oddhead{\hfil\rightmark}% left page
245 \def\@oddfoot{\hfil\thepage}% left page
246 \let\@mkboth\markboth
247 \def\chaptermark##1{\markboth{%
248 \ifnum \c@secnumdepth >\m@ne
249 \@chapapp\thechapter\@chappos\hskip1\zw
252 \def\sectionmark##1{\markright{%
253 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
256 \else % if one column
257 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
258 \def\@oddhead{\hfil\rightmark}%
259 \def\@oddfoot{\hfil\thepage}%
260 \let\@mkboth\markboth
261 \def\chaptermark##1{\markright{%
262 \ifnum \c@secnumdepth >\m@ne
263 \@chapapp\thechapter\@chappos\hskip1\zw
268 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
269 \let\@oddfoot\@empty\let\@evenfoot\@empty
270 \def\@evenhead{\thepage\hfil\leftmark}%
271 \def\@oddhead{{\rightmark}\hfil\thepage}%
272 \let\@mkboth\@gobbletwo
273 \let\chaptermark\@gobble
274 \let\sectionmark\@gobble
277 \newenvironment{titlepage}
279 \if@twocolumn\@restonecoltrue\onecolumn
280 \else\@restonecolfalse\newpage\fi
281 \thispagestyle{empty}%
284 {\if@restonecol\twocolumn\else\newpage\fi
287 \newenvironment{titlepage}
290 \@restonecoltrue\onecolumn
292 \@restonecolfalse\newpage
294 \thispagestyle{empty}%
295 \setcounter{page}\@ne
297 {\if@restonecol\twocolumn \else \newpage \fi
299 \setcounter{page}\@ne
303 \def\p@thanks#1{\footnotemark
304 \protected@xdef\@thanks{\@thanks
305 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
307 \newcommand{\maketitle}{\begin{titlepage}%
308 \let\footnotesize\small
309 \let\footnoterule\relax
314 {\LARGE \@title \par}%
318 \begin{tabular}[t]{c}%
322 {\large \@date \par}% % Set date in \large size.
326 \setcounter{footnote}{0}%
327 \global\let\thanks\relax
328 \global\let\maketitle\relax
329 \global\let\p@thanks\relax
330 \global\let\@thanks\@empty
331 \global\let\@author\@empty
332 \global\let\@date\@empty
333 \global\let\@title\@empty
334 \global\let\title\relax
335 \global\let\author\relax
336 \global\let\date\relax
337 \global\let\and\relax
340 \newcommand{\maketitle}{\par
342 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
343 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
344 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
345 \long\def\@makefntext##1{\parindent 1em\noindent
346 \hb@xt@1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
348 \ifnum \col@number=\@ne \@maketitle
349 \else \twocolumn[\@maketitle]%
353 \global\@topnum\z@ % Prevents figures from going at top of page.
356 \thispagestyle{jpl@in}\@thanks
358 \setcounter{footnote}{0}%
359 \global\let\thanks\relax
360 \global\let\maketitle\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\normalfont
449 \ifnum \c@secnumdepth >-2\relax
450 \huge\bfseries\prepartname\thepart\postpartname
453 \Huge\bfseries#2\par}%
457 \interlinepenalty\@M\normalfont
458 \Huge\bfseries#1\par}%
460 \def\@endpart{\vfil\newpage
462 \if@openright %% added (2016/12/18)
463 \null\thispagestyle{empty}\newpage
464 \fi %% added (2016/12/18)
466 \if@tempswa\twocolumn\fi}
467 \newcommand{\chapter}{%
468 \if@openright\cleardoublepage\else\clearpage\fi
469 \thispagestyle{jpl@in}%
472 \secdef\@chapter\@schapter}
473 \def\@chapter[#1]#2{%
474 \ifnum \c@secnumdepth >\m@ne
475 \refstepcounter{chapter}%
476 \typeout{\@chapapp\space\thechapter\space\@chappos}%
477 \addcontentsline{toc}{chapter}%
478 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
480 \addcontentsline{toc}{chapter}{#1}%
483 \addtocontents{lof}{\protect\addvspace{10\p@}}%
484 \addtocontents{lot}{\protect\addvspace{10\p@}}%
485 \@makechapterhead{#2}\@afterheading}
486 \def\@makechapterhead#1{\hbox{}%
490 \normalfont\huge\bfseries
492 \ifnum \c@secnumdepth >\m@ne
493 \setlength\@tempdima{\linewidth}%
494 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
495 \addtolength\@tempdima{-\wd\z@}%
497 \vtop{\hsize\@tempdima#1}%
500 \fi}\nobreak\vskip3\Cvs}
502 \@makeschapterhead{#1}\@afterheading
504 \def\@makeschapterhead#1{\hbox{}%
508 \normalfont\huge\bfseries
510 \setlength\@tempdima{\linewidth}%
511 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
512 \newcommand{\section}{\@startsection{section}{1}{\z@}%
513 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
514 {.5\Cvs \@plus.3\Cvs}%
515 {\normalfont\Large\bfseries}}
516 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
517 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
518 {.5\Cvs \@plus.3\Cvs}%
519 {\normalfont\large\bfseries}}
520 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
521 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
522 {.5\Cvs \@plus.3\Cvs}%
523 {\normalfont\normalsize\bfseries}}
524 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
525 {3.25ex \@plus 1ex \@minus .2ex}%
527 {\normalfont\normalsize\bfseries}}
528 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
529 {3.25ex \@plus 1ex \@minus .2ex}%
531 {\normalfont\normalsize\bfseries}}
532 \newcommand{\appendix}{\par
533 \setcounter{chapter}{0}%
534 \setcounter{section}{0}%
535 \renewcommand{\@chapapp}{\appendixname}%
536 \renewcommand{\@chappos}\space%
537 \renewcommand{\thechapter}{\@Alph\c@chapter}}
539 \setlength\leftmargini {2em}
541 \setlength\leftmargini {2.5em}
543 \setlength\leftmarginii {2.2em}
544 \setlength\leftmarginiii {1.87em}
545 \setlength\leftmarginiv {1.7em}
547 \setlength\leftmarginv {.5em}
548 \setlength\leftmarginvi{.5em}
550 \setlength\leftmarginv {1em}
551 \setlength\leftmarginvi{1em}
553 \setlength \labelsep {.5em}
554 \setlength \labelwidth{\leftmargini}
555 \addtolength\labelwidth{-\labelsep}
556 \@beginparpenalty -\@lowpenalty
557 \@endparpenalty -\@lowpenalty
558 \@itempenalty -\@lowpenalty
559 \renewcommand{\theenumi}{\@arabic\c@enumi}
560 \renewcommand{\theenumii}{\@alph\c@enumii}
561 \renewcommand{\theenumiii}{\@roman\c@enumiii}
562 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
563 \newcommand{\labelenumi}{\theenumi.}
564 \newcommand{\labelenumii}{(\theenumii)}
565 \newcommand{\labelenumiii}{\theenumiii.}
566 \newcommand{\labelenumiv}{\theenumiv.}
567 \renewcommand{\p@enumii}{\theenumi}
568 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
569 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
570 \renewenvironment{enumerate}
571 {\ifnum \@enumdepth >\thr@@\@toodeep\else
572 \advance\@enumdepth\@ne
573 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
574 \expandafter \list \csname label\@enumctr\endcsname{%
575 \ifnum\ltjgetparameter{direction}=3
576 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
578 \parskip\z@ \itemsep\z@ \parsep\z@
579 \labelwidth1\zw \labelsep.3\zw
580 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
581 \else\leftmargin\leftskip\fi
582 \advance\leftmargin 1\zw
584 \usecounter{\@enumctr}%
585 \def\makelabel##1{\hss\llap{##1}}}%
587 \newcommand{\labelitemi}{\textbullet}
588 \newcommand{\labelitemii}{%
589 \ifnum\ltjgetparameter{direction}=3
592 {\normalfont\bfseries\textendash}
595 \newcommand{\labelitemiii}{\textasteriskcentered}
596 \newcommand{\labelitemiv}{\textperiodcentered}
597 \renewenvironment{itemize}
598 {\ifnum \@itemdepth >\thr@@\@toodeep\else
599 \advance\@itemdepth\@ne
600 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
601 \expandafter \list \csname \@itemitem\endcsname{%
602 \ifnum\ltjgetparameter{direction}=3
603 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
605 \parskip\z@ \itemsep\z@ \parsep\z@
606 \labelwidth1\zw \labelsep.3\zw
607 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
608 \else\leftmargin\leftskip\fi
609 \advance\leftmargin 1\zw
611 \def\makelabel##1{\hss\llap{##1}}}%
613 \newenvironment{description}
614 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
615 \ifnum\ltjgetparameter{direction}=3
616 \leftmargin\leftskip \advance\leftmargin3\Cwd
617 \rightmargin\rightskip
618 \labelsep=1\zw \itemsep\z@
619 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
621 \let\makelabel\descriptionlabel}}{\endlist}
622 \newcommand{\descriptionlabel}[1]{%
623 \hspace\labelsep\normalfont\bfseries #1}
624 \newenvironment{verse}
626 \list{}{\itemsep\z@ \itemindent -1.5em%
627 \listparindent\itemindent
628 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
629 \item\relax}{\endlist}
630 \newenvironment{quotation}
631 {\list{}{\listparindent 1.5em%
632 \itemindent\listparindent
633 \rightmargin\leftmargin
634 \parsep\z@ \@plus\p@}%
635 \item\relax}{\endlist}
636 \newenvironment{quote}
637 {\list{}{\rightmargin\leftmargin}%
638 \item\relax}{\endlist}
639 \newcounter{figure}[chapter]
640 \renewcommand{\thefigure}{%
641 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@figure}
645 \def\fnum@figure{\figurename~\thefigure}
646 \newenvironment{figure}
649 \newenvironment{figure*}
652 \newcounter{table}[chapter]
653 \renewcommand{\thetable}{%
654 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@table}
658 \def\fnum@table{\tablename~\thetable}
659 \newenvironment{table}
662 \newenvironment{table*}
665 \newlength\abovecaptionskip
666 \newlength\belowcaptionskip
667 \setlength\abovecaptionskip{10\p@}
668 \setlength\belowcaptionskip{0\p@}
669 \long\def\@makecaption#1#2{%
670 \vskip\abovecaptionskip
671 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
672 \else\sbox\@tempboxa{#1: #2}%
674 \ifdim \wd\@tempboxa >\hsize
675 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
676 \else #1: #2\relax\par\fi
678 \global \@minipagefalse
679 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
681 \vskip\belowcaptionskip}
682 \setlength\arraycolsep{5\p@}
683 \setlength\tabcolsep{6\p@}
684 \setlength\arrayrulewidth{.4\p@}
685 \setlength\doublerulesep{2\p@}
686 \setlength\tabbingsep{\labelsep}
687 \skip\@mpfootins = \skip\footins
688 \setlength\fboxsep{3\p@}
689 \setlength\fboxrule{.4\p@}
690 \@addtoreset{equation}{chapter}
691 \renewcommand{\theequation}{%
692 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
693 \if@compatibility\else
694 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
695 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
696 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
698 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
702 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
703 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
706 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
707 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
708 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
709 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
710 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
711 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
712 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
713 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
714 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
715 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
716 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
717 \setcounter{tocdepth}{2}
718 \newcommand{\@pnumwidth}{1.55em}
719 \newcommand{\@tocrmarg}{2.55em}
720 \newcommand{\@dotsep}{4.5}
721 \newdimen\toclineskip
722 \setlength\toclineskip{\z@}
724 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
725 \def\@dottedtocline#1#2#3#4#5{%
726 \ifnum #1>\c@tocdepth \else
727 \vskip\toclineskip \@plus.2\p@
728 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
729 \parindent #2\relax\@afterindenttrue
733 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
735 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
737 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
740 \def\addcontentsline#1#2#3{%
741 \protected@write\@auxout
742 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
743 \@temptokena{\thepage}}%
744 {\string\@writefile{#1}%
745 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
747 \newcommand{\tableofcontents}{%
748 \if@twocolumn\@restonecoltrue\onecolumn
749 \else\@restonecolfalse\fi
750 \chapter*{\contentsname
751 \@mkboth{\contentsname}{\contentsname}%
753 \if@restonecol\twocolumn\fi
755 \newcommand*{\l@part}[2]{%
756 \ifnum \c@tocdepth >-2\relax
757 \addpenalty{-\@highpenalty}%
758 \addvspace{2.25em \@plus\p@}%
760 \parindent\z@\rightskip\@pnumwidth
761 \parfillskip-\@pnumwidth
762 {\leavevmode\large\bfseries
763 \setlength\@lnumwidth{4\zw}%
765 \hb@xt@\@pnumwidth{\hss#2}}\par
768 \everypar{\global\@nobreakfalse\everypar{}}%
771 \newcommand*{\l@chapter}[2]{%
772 \ifnum \c@tocdepth >\m@ne
773 \addpenalty{-\@highpenalty}%
774 \addvspace{1.0em \@plus\p@}%
776 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
778 \setlength\@lnumwidth{4\zw}%
779 \advance\leftskip\@lnumwidth \hskip-\leftskip
780 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
781 \penalty\@highpenalty
784 \newcommand*{\l@section}{\@dottedtocline{1}{1.5em}{2.3em}}
785 \newcommand*{\l@subsection} {\@dottedtocline{2}{3.8em}{3.2em}}
786 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{7.0em}{4.1em}}
787 \newcommand*{\l@paragraph} {\@dottedtocline{4}{10em}{5em}}
788 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{12em}{6em}}
789 \newcommand{\listoffigures}{%
790 \if@twocolumn\@restonecoltrue\onecolumn
791 \else\@restonecolfalse\fi
792 \chapter*{\listfigurename}%
793 \@mkboth{\listfigurename}{\listfigurename}%
795 \if@restonecol\twocolumn\fi
797 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
798 \newcommand{\listoftables}{%
799 \if@twocolumn\@restonecoltrue\onecolumn
800 \else\@restonecolfalse\fi
801 \chapter*{\listtablename}%
802 \@mkboth{\listtablename}{\listtablename}%
804 \if@restonecol\twocolumn\fi
806 \let\l@table\l@figure
808 \setlength\bibindent{1.5em}
809 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
810 \newenvironment{thebibliography}[1]
811 {\chapter*{\bibname}\@mkboth{\bibname}{\bibname}%
812 \list{\@biblabel{\@arabic\c@enumiv}}%
813 {\settowidth\labelwidth{\@biblabel{#1}}%
814 \leftmargin\labelwidth
815 \advance\leftmargin\labelsep
819 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
822 \@clubpenalty\clubpenalty
826 {\@latex@warning{Empty `thebibliography' environment}}%
828 \let\@openbib@code\@empty
829 \newenvironment{theindex}
830 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
831 \twocolumn[\@makeschapterhead{\indexname}]%
832 \@mkboth{\indexname}{\indexname}%
833 \thispagestyle{jpl@in}\parindent\z@
834 \parskip\z@ \@plus .3\p@\relax
835 \columnseprule\z@ \columnsep 35\p@
837 {\if@restonecol\onecolumn\else\clearpage\fi}
838 \newcommand{\@idxitem}{\par\hangindent 40\p@}
839 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
840 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
841 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
842 \renewcommand{\footnoterule}{%
844 \hrule\@width.4\columnwidth
846 \@addtoreset{footnote}{chapter}
847 \newcommand\@makefntext[1]{\parindent 1em
848 \noindent\hb@xt@ 1.8em{\hss\@makefnmark}#1}
852 \newcount\heisei \heisei\year \advance\heisei-1988\relax
854 \ifnum\ltjgetparameter{direction}=3
860 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
870 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
875 \newcommand{\prepartname}{第}
876 \newcommand{\postpartname}{部}
877 \newcommand{\prechaptername}{第}
878 \newcommand{\postchaptername}{章}
879 \newcommand{\contentsname}{目 次}
880 \newcommand{\listfigurename}{図 目 次}
881 \newcommand{\listtablename}{表 目 次}
882 \newcommand{\bibname}{関連図書}
883 \newcommand{\indexname}{索 引}
884 \newcommand{\figurename}{図}
885 \newcommand{\tablename}{表}
886 \newcommand{\appendixname}{付 録}
887 \newcommand{\abstractname}{概 要}
889 \pagenumbering{arabic}
904 %% End of file `ltjreport.cls'.