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 [2016/12/30 v1.7c-ltj-11
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@}
155 \newlength{\stockwidth}
156 \newlength{\stockheight}
157 \setlength{\stockwidth}{\paperwidth}
158 \setlength{\stockheight}{\paperheight}
160 \advance \stockwidth 2in
161 \advance \stockheight 2in
163 \ifdefined\pdfpagewidth
164 \setlength{\pdfpagewidth}{\stockwidth}
165 \setlength{\pdfpageheight}{\stockheight}
167 \setlength{\pagewidth}{\stockwidth}
168 \setlength{\pageheight}{\stockheight}
170 \setlength\lineskip{1\p@}
171 \setlength\normallineskip{1\p@}
172 \renewcommand{\baselinestretch}{}
173 \setlength\parskip{0\p@ \@plus \p@}
174 \setlength\parindent{1\Cwd}
178 \setcounter{topnumber}{2}
179 \setcounter{bottomnumber}{1}
180 \setcounter{totalnumber}{3}
181 \setcounter{dbltopnumber}{2}
182 \renewcommand{\topfraction}{.7}
183 \renewcommand{\bottomfraction}{.3}
184 \renewcommand{\textfraction}{.2}
185 \renewcommand{\floatpagefraction}{.5}
186 \renewcommand{\dbltopfraction}{.7}
187 \renewcommand{\dblfloatpagefraction}{.5}
188 \def\ps@plain{\let\@mkboth\@gobbletwo
189 \let\ps@jpl@in\ps@plain
191 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
192 \let\@evenhead\@empty
193 \let\@evenfoot\@oddfoot}
194 \let\ps@jpl@in\ps@plain
195 \def\ps@headnombre{\let\@mkboth\@gobbletwo
196 \let\ps@jpl@in\ps@headnombre
197 \def\@evenhead{\thepage\hfil}%
198 \def\@oddhead{\hfil\thepage}%
199 \let\@oddfoot\@empty\let\@evenfoot\@empty}
200 \def\ps@footnombre{\let\@mkboth\@gobbletwo
201 \let\ps@jpl@in\ps@footnombre
202 \def\@evenfoot{\thepage\hfil}%
203 \def\@oddfoot{\hfil\thepage}%
204 \let\@oddhead\@empty\let\@evenhead\@empty}
206 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
207 \let\@oddfoot\@empty\let\@evenfoot\@empty
208 \def\@evenhead{\thepage\hfil\leftmark}%
209 \def\@oddhead{{\rightmark}\hfil\thepage}%
210 \let\@mkboth\markboth
211 \def\chaptermark##1{\markboth{%
212 \ifnum \c@secnumdepth >\m@ne
213 \@chapapp\thechapter\@chappos\hskip1\zw
216 \def\sectionmark##1{\markright{%
217 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
220 \else % if not twoside
221 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
223 \def\@oddhead{{\rightmark}\hfil\thepage}%
224 \let\@mkboth\markboth
225 \def\chaptermark##1{\markright{%
226 \ifnum \c@secnumdepth >\m@ne
227 \@chapapp\thechapter\@chappos\hskip1\zw
233 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
234 \def\@evenhead{\leftmark\hfil}% right page
235 \def\@evenfoot{\thepage\hfil}% right page
236 \def\@oddhead{\hfil\rightmark}% left page
237 \def\@oddfoot{\hfil\thepage}% left page
238 \let\@mkboth\markboth
239 \def\chaptermark##1{\markboth{%
240 \ifnum \c@secnumdepth >\m@ne
241 \@chapapp\thechapter\@chappos\hskip1\zw
244 \def\sectionmark##1{\markright{%
245 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
248 \else % if one column
249 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
250 \def\@oddhead{\hfil\rightmark}%
251 \def\@oddfoot{\hfil\thepage}%
252 \let\@mkboth\markboth
253 \def\chaptermark##1{\markright{%
254 \ifnum \c@secnumdepth >\m@ne
255 \@chapapp\thechapter\@chappos\hskip1\zw
260 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
261 \let\@oddfoot\@empty\let\@evenfoot\@empty
262 \def\@evenhead{\thepage\hfil\leftmark}%
263 \def\@oddhead{{\rightmark}\hfil\thepage}%
264 \let\@mkboth\@gobbletwo
265 \let\chaptermark\@gobble
266 \let\sectionmark\@gobble
269 \newenvironment{titlepage}
271 \if@twocolumn\@restonecoltrue\onecolumn
272 \else\@restonecolfalse\newpage\fi
273 \thispagestyle{empty}%
276 {\if@restonecol\twocolumn\else\newpage\fi
279 \newenvironment{titlepage}
282 \@restonecoltrue\onecolumn
284 \@restonecolfalse\newpage
286 \thispagestyle{empty}%
287 \setcounter{page}\@ne
289 {\if@restonecol\twocolumn \else \newpage \fi
291 \setcounter{page}\@ne
295 \def\p@thanks#1{\footnotemark
296 \protected@xdef\@thanks{\@thanks
297 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
299 \newcommand{\maketitle}{\begin{titlepage}%
300 \let\footnotesize\small
301 \let\footnoterule\relax
306 {\LARGE \@title \par}%
310 \begin{tabular}[t]{c}%
314 {\large \@date \par}% % Set date in \large size.
318 \setcounter{footnote}{0}%
319 \global\let\thanks\relax
320 \global\let\maketitle\relax
321 \global\let\p@thanks\relax
322 \global\let\@thanks\@empty
323 \global\let\@author\@empty
324 \global\let\@date\@empty
325 \global\let\@title\@empty
326 \global\let\title\relax
327 \global\let\author\relax
328 \global\let\date\relax
329 \global\let\and\relax
332 \newcommand{\maketitle}{\par
334 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
335 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
336 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
337 \long\def\@makefntext##1{\parindent 1em\noindent
338 \hb@xt@1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
340 \ifnum \col@number=\@ne \@maketitle
341 \else \twocolumn[\@maketitle]%
345 \global\@topnum\z@ % Prevents figures from going at top of page.
348 \thispagestyle{jpl@in}\@thanks
350 \setcounter{footnote}{0}%
351 \global\let\thanks\relax
352 \global\let\maketitle\relax
353 \global\let\@maketitle\relax
354 \global\let\p@thanks\relax
355 \global\let\@thanks\@empty
356 \global\let\@author\@empty
357 \global\let\@date\@empty
358 \global\let\@title\@empty
359 \global\let\title\relax
360 \global\let\author\relax
361 \global\let\date\relax
362 \global\let\and\relax
369 {\LARGE \@title \par}%
373 \begin{tabular}[t]{c}%
382 \newenvironment{abstract}{%
385 \@beginparpenalty\@lowpenalty
387 {\bfseries\abstractname}%
390 {\par\vfil\null\endtitlepage}
392 \newenvironment{abstract}{%
394 \section*{\abstractname}%
398 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
401 \fi}{\if@twocolumn\else\endquotation\fi}
403 \newcommand*{\chaptermark}[1]{}
404 \setcounter{secnumdepth}{2}
407 \newcounter{section}[chapter]
408 \newcounter{subsection}[section]
409 \newcounter{subsubsection}[subsection]
410 \newcounter{paragraph}[subsubsection]
411 \newcounter{subparagraph}[paragraph]
412 \renewcommand{\thepart}{\@Roman\c@part}
413 \renewcommand{\thechapter}{\@arabic\c@chapter}
414 \renewcommand{\thesection}{\thechapter.\@arabic\c@section}
415 \renewcommand{\thesubsection}{\thesection.\@arabic\c@subsection}
416 \renewcommand{\thesubsubsection}{%
417 \thesubsection.\@arabic\c@subsubsection}
418 \renewcommand{\theparagraph}{%
419 \thesubsubsection.\@arabic\c@paragraph}
420 \renewcommand{\thesubparagraph}{%
421 \theparagraph.\@arabic\c@subparagraph}
422 \newcommand{\@chapapp}{\prechaptername}
423 \newcommand{\@chappos}{\postchaptername}
425 \if@openright \cleardoublepage \else \clearpage \fi
426 \thispagestyle{empty}%
427 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
429 \secdef\@part\@spart}
431 \ifnum \c@secnumdepth >-2\relax
432 \refstepcounter{part}%
433 \addcontentsline{toc}{part}{%
434 \prepartname\thepart\postpartname\hspace{1em}#1}%
436 \addcontentsline{toc}{part}{#1}%
440 \interlinepenalty\@M\normalfont
441 \ifnum \c@secnumdepth >-2\relax
442 \huge\bfseries\prepartname\thepart\postpartname
445 \Huge\bfseries#2\par}%
449 \interlinepenalty\@M\normalfont
450 \Huge\bfseries#1\par}%
452 \def\@endpart{\vfil\newpage
454 \if@openright %% added (2016/12/18)
455 \null\thispagestyle{empty}\newpage
456 \fi %% added (2016/12/18)
458 \if@tempswa\twocolumn\fi}
459 \newcommand{\chapter}{%
460 \if@openright\cleardoublepage\else\clearpage\fi
461 \thispagestyle{jpl@in}%
464 \secdef\@chapter\@schapter}
465 \def\@chapter[#1]#2{%
466 \ifnum \c@secnumdepth >\m@ne
467 \refstepcounter{chapter}%
468 \typeout{\@chapapp\space\thechapter\space\@chappos}%
469 \addcontentsline{toc}{chapter}%
470 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
472 \addcontentsline{toc}{chapter}{#1}%
475 \addtocontents{lof}{\protect\addvspace{10\p@}}%
476 \addtocontents{lot}{\protect\addvspace{10\p@}}%
477 \@makechapterhead{#2}\@afterheading}
478 \def\@makechapterhead#1{\hbox{}%
482 \normalfont\huge\bfseries
484 \ifnum \c@secnumdepth >\m@ne
485 \setlength\@tempdima{\linewidth}%
486 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
487 \addtolength\@tempdima{-\wd\z@}%
489 \vtop{\hsize\@tempdima#1}%
492 \fi}\nobreak\vskip3\Cvs}
494 \@makeschapterhead{#1}\@afterheading
496 \def\@makeschapterhead#1{\hbox{}%
500 \normalfont\huge\bfseries
502 \setlength\@tempdima{\linewidth}%
503 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
504 \newcommand{\section}{\@startsection{section}{1}{\z@}%
505 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
506 {.5\Cvs \@plus.3\Cvs}%
507 {\normalfont\Large\bfseries}}
508 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
509 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
510 {.5\Cvs \@plus.3\Cvs}%
511 {\normalfont\large\bfseries}}
512 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
513 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
514 {.5\Cvs \@plus.3\Cvs}%
515 {\normalfont\normalsize\bfseries}}
516 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
517 {3.25ex \@plus 1ex \@minus .2ex}%
519 {\normalfont\normalsize\bfseries}}
520 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
521 {3.25ex \@plus 1ex \@minus .2ex}%
523 {\normalfont\normalsize\bfseries}}
524 \newcommand{\appendix}{\par
525 \setcounter{chapter}{0}%
526 \setcounter{section}{0}%
527 \renewcommand{\@chapapp}{\appendixname}%
528 \renewcommand{\@chappos}\space%
529 \renewcommand{\thechapter}{\@Alph\c@chapter}}
531 \setlength\leftmargini {2em}
533 \setlength\leftmargini {2.5em}
535 \setlength\leftmarginii {2.2em}
536 \setlength\leftmarginiii {1.87em}
537 \setlength\leftmarginiv {1.7em}
539 \setlength\leftmarginv {.5em}
540 \setlength\leftmarginvi{.5em}
542 \setlength\leftmarginv {1em}
543 \setlength\leftmarginvi{1em}
545 \setlength \labelsep {.5em}
546 \setlength \labelwidth{\leftmargini}
547 \addtolength\labelwidth{-\labelsep}
548 \@beginparpenalty -\@lowpenalty
549 \@endparpenalty -\@lowpenalty
550 \@itempenalty -\@lowpenalty
551 \renewcommand{\theenumi}{\@arabic\c@enumi}
552 \renewcommand{\theenumii}{\@alph\c@enumii}
553 \renewcommand{\theenumiii}{\@roman\c@enumiii}
554 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
555 \newcommand{\labelenumi}{\theenumi.}
556 \newcommand{\labelenumii}{(\theenumii)}
557 \newcommand{\labelenumiii}{\theenumiii.}
558 \newcommand{\labelenumiv}{\theenumiv.}
559 \renewcommand{\p@enumii}{\theenumi}
560 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
561 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
562 \renewenvironment{enumerate}
563 {\ifnum \@enumdepth >\thr@@\@toodeep\else
564 \advance\@enumdepth\@ne
565 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
566 \expandafter \list \csname label\@enumctr\endcsname{%
567 \ifnum\ltjgetparameter{direction}=3
568 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
570 \parskip\z@ \itemsep\z@ \parsep\z@
571 \labelwidth1\zw \labelsep.3\zw
572 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
573 \else\leftmargin\leftskip\fi
574 \advance\leftmargin 1\zw
576 \usecounter{\@enumctr}%
577 \def\makelabel##1{\hss\llap{##1}}}%
579 \newcommand{\labelitemi}{\textbullet}
580 \newcommand{\labelitemii}{%
581 \ifnum\ltjgetparameter{direction}=3
584 {\normalfont\bfseries\textendash}
587 \newcommand{\labelitemiii}{\textasteriskcentered}
588 \newcommand{\labelitemiv}{\textperiodcentered}
589 \renewenvironment{itemize}
590 {\ifnum \@itemdepth >\thr@@\@toodeep\else
591 \advance\@itemdepth\@ne
592 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
593 \expandafter \list \csname \@itemitem\endcsname{%
594 \ifnum\ltjgetparameter{direction}=3
595 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
597 \parskip\z@ \itemsep\z@ \parsep\z@
598 \labelwidth1\zw \labelsep.3\zw
599 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
600 \else\leftmargin\leftskip\fi
601 \advance\leftmargin 1\zw
603 \def\makelabel##1{\hss\llap{##1}}}%
605 \newenvironment{description}
606 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
607 \ifnum\ltjgetparameter{direction}=3
608 \leftmargin\leftskip \advance\leftmargin3\Cwd
609 \rightmargin\rightskip
610 \labelsep=1\zw \itemsep\z@
611 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
613 \let\makelabel\descriptionlabel}}{\endlist}
614 \newcommand{\descriptionlabel}[1]{%
615 \hspace\labelsep\normalfont\bfseries #1}
616 \newenvironment{verse}
618 \list{}{\itemsep\z@ \itemindent -1.5em%
619 \listparindent\itemindent
620 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
621 \item\relax}{\endlist}
622 \newenvironment{quotation}
623 {\list{}{\listparindent 1.5em%
624 \itemindent\listparindent
625 \rightmargin\leftmargin
626 \parsep\z@ \@plus\p@}%
627 \item\relax}{\endlist}
628 \newenvironment{quote}
629 {\list{}{\rightmargin\leftmargin}%
630 \item\relax}{\endlist}
631 \newcounter{figure}[chapter]
632 \renewcommand{\thefigure}{%
633 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@figure}
637 \def\fnum@figure{\figurename~\thefigure}
638 \newenvironment{figure}
641 \newenvironment{figure*}
644 \newcounter{table}[chapter]
645 \renewcommand{\thetable}{%
646 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@table}
650 \def\fnum@table{\tablename~\thetable}
651 \newenvironment{table}
654 \newenvironment{table*}
657 \newlength\abovecaptionskip
658 \newlength\belowcaptionskip
659 \setlength\abovecaptionskip{10\p@}
660 \setlength\belowcaptionskip{0\p@}
661 \long\def\@makecaption#1#2{%
662 \vskip\abovecaptionskip
663 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
664 \else\sbox\@tempboxa{#1: #2}%
666 \ifdim \wd\@tempboxa >\hsize
667 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
668 \else #1: #2\relax\par\fi
670 \global \@minipagefalse
671 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
673 \vskip\belowcaptionskip}
674 \setlength\arraycolsep{5\p@}
675 \setlength\tabcolsep{6\p@}
676 \setlength\arrayrulewidth{.4\p@}
677 \setlength\doublerulesep{2\p@}
678 \setlength\tabbingsep{\labelsep}
679 \skip\@mpfootins = \skip\footins
680 \setlength\fboxsep{3\p@}
681 \setlength\fboxrule{.4\p@}
682 \@addtoreset{equation}{chapter}
683 \renewcommand{\theequation}{%
684 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
685 \if@compatibility\else
686 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
687 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
688 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
690 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
694 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
695 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
698 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
699 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
700 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
701 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
702 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
703 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
704 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
705 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
706 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
707 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
708 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
709 \setcounter{tocdepth}{2}
710 \newcommand{\@pnumwidth}{1.55em}
711 \newcommand{\@tocrmarg}{2.55em}
712 \newcommand{\@dotsep}{4.5}
713 \newdimen\toclineskip
714 \setlength\toclineskip{\z@}
716 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
717 \def\@dottedtocline#1#2#3#4#5{%
718 \ifnum #1>\c@tocdepth \else
719 \vskip\toclineskip \@plus.2\p@
720 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
721 \parindent #2\relax\@afterindenttrue
725 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
727 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
729 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
732 \def\addcontentsline#1#2#3{%
733 \protected@write\@auxout
734 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
735 \@temptokena{\thepage}}%
736 {\string\@writefile{#1}%
737 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
739 \newcommand{\tableofcontents}{%
740 \if@twocolumn\@restonecoltrue\onecolumn
741 \else\@restonecolfalse\fi
742 \chapter*{\contentsname
743 \@mkboth{\contentsname}{\contentsname}%
745 \if@restonecol\twocolumn\fi
747 \newcommand*{\l@part}[2]{%
748 \ifnum \c@tocdepth >-2\relax
749 \addpenalty{-\@highpenalty}%
750 \addvspace{2.25em \@plus\p@}%
752 \parindent\z@\rightskip\@pnumwidth
753 \parfillskip-\@pnumwidth
754 {\leavevmode\large\bfseries
755 \setlength\@lnumwidth{4\zw}%
757 \hb@xt@\@pnumwidth{\hss#2}}\par
760 \everypar{\global\@nobreakfalse\everypar{}}%
763 \newcommand*{\l@chapter}[2]{%
764 \ifnum \c@tocdepth >\m@ne
765 \addpenalty{-\@highpenalty}%
766 \addvspace{1.0em \@plus\p@}%
768 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
770 \setlength\@lnumwidth{4\zw}%
771 \advance\leftskip\@lnumwidth \hskip-\leftskip
772 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
773 \penalty\@highpenalty
776 \newcommand*{\l@section}{\@dottedtocline{1}{1.5em}{2.3em}}
777 \newcommand*{\l@subsection} {\@dottedtocline{2}{3.8em}{3.2em}}
778 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{7.0em}{4.1em}}
779 \newcommand*{\l@paragraph} {\@dottedtocline{4}{10em}{5em}}
780 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{12em}{6em}}
781 \newcommand{\listoffigures}{%
782 \if@twocolumn\@restonecoltrue\onecolumn
783 \else\@restonecolfalse\fi
784 \chapter*{\listfigurename}%
785 \@mkboth{\listfigurename}{\listfigurename}%
787 \if@restonecol\twocolumn\fi
789 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
790 \newcommand{\listoftables}{%
791 \if@twocolumn\@restonecoltrue\onecolumn
792 \else\@restonecolfalse\fi
793 \chapter*{\listtablename}%
794 \@mkboth{\listtablename}{\listtablename}%
796 \if@restonecol\twocolumn\fi
798 \let\l@table\l@figure
800 \setlength\bibindent{1.5em}
801 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
802 \newenvironment{thebibliography}[1]
803 {\chapter*{\bibname}\@mkboth{\bibname}{\bibname}%
804 \list{\@biblabel{\@arabic\c@enumiv}}%
805 {\settowidth\labelwidth{\@biblabel{#1}}%
806 \leftmargin\labelwidth
807 \advance\leftmargin\labelsep
811 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
814 \@clubpenalty\clubpenalty
818 {\@latex@warning{Empty `thebibliography' environment}}%
820 \let\@openbib@code\@empty
821 \newenvironment{theindex}
822 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
823 \twocolumn[\@makeschapterhead{\indexname}]%
824 \@mkboth{\indexname}{\indexname}%
825 \thispagestyle{jpl@in}\parindent\z@
826 \parskip\z@ \@plus .3\p@\relax
827 \columnseprule\z@ \columnsep 35\p@
829 {\if@restonecol\onecolumn\else\clearpage\fi}
830 \newcommand{\@idxitem}{\par\hangindent 40\p@}
831 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
832 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
833 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
834 \renewcommand{\footnoterule}{%
836 \hrule\@width.4\columnwidth
838 \@addtoreset{footnote}{chapter}
839 \newcommand\@makefntext[1]{\parindent 1em
840 \noindent\hb@xt@ 1.8em{\hss\@makefnmark}#1}
844 \newcount\heisei \heisei\year \advance\heisei-1988\relax
846 \ifnum\ltjgetparameter{direction}=3
852 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
862 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
867 \newcommand{\prepartname}{第}
868 \newcommand{\postpartname}{部}
869 \newcommand{\prechaptername}{第}
870 \newcommand{\postchaptername}{章}
871 \newcommand{\contentsname}{目 次}
872 \newcommand{\listfigurename}{図 目 次}
873 \newcommand{\listtablename}{表 目 次}
874 \newcommand{\bibname}{関連図書}
875 \newcommand{\indexname}{索 引}
876 \newcommand{\figurename}{図}
877 \newcommand{\tablename}{表}
878 \newcommand{\appendixname}{付 録}
879 \newcommand{\abstractname}{概 要}
881 \pagenumbering{arabic}
896 %% End of file `ltjreport.cls'.