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/11/24 v1.7b-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
453 \if@twoside\null\thispagestyle{empty}\newpage\fi
454 \if@tempswa\twocolumn\fi}
455 \newcommand{\chapter}{%
456 \if@openright\cleardoublepage\else\clearpage\fi
457 \thispagestyle{jpl@in}%
460 \secdef\@chapter\@schapter}
461 \def\@chapter[#1]#2{%
462 \ifnum \c@secnumdepth >\m@ne
463 \refstepcounter{chapter}%
464 \typeout{\@chapapp\space\thechapter\space\@chappos}%
465 \addcontentsline{toc}{chapter}%
466 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
468 \addcontentsline{toc}{chapter}{#1}%
471 \addtocontents{lof}{\protect\addvspace{10\p@}}%
472 \addtocontents{lot}{\protect\addvspace{10\p@}}%
473 \@makechapterhead{#2}\@afterheading}
474 \def\@makechapterhead#1{\hbox{}%
478 \normalfont\huge\bfseries
480 \ifnum \c@secnumdepth >\m@ne
481 \setlength\@tempdima{\linewidth}%
482 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
483 \addtolength\@tempdima{-\wd\z@}%
485 \vtop{\hsize\@tempdima#1}%
488 \fi}\nobreak\vskip3\Cvs}
490 \@makeschapterhead{#1}\@afterheading
492 \def\@makeschapterhead#1{\hbox{}%
496 \normalfont\huge\bfseries
498 \setlength\@tempdima{\linewidth}%
499 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
500 \newcommand{\section}{\@startsection{section}{1}{\z@}%
501 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
502 {.5\Cvs \@plus.3\Cvs}%
503 {\normalfont\Large\bfseries}}
504 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
505 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
506 {.5\Cvs \@plus.3\Cvs}%
507 {\normalfont\large\bfseries}}
508 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
509 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
510 {.5\Cvs \@plus.3\Cvs}%
511 {\normalfont\normalsize\bfseries}}
512 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
513 {3.25ex \@plus 1ex \@minus .2ex}%
515 {\normalfont\normalsize\bfseries}}
516 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
517 {3.25ex \@plus 1ex \@minus .2ex}%
519 {\normalfont\normalsize\bfseries}}
520 \newcommand{\appendix}{\par
521 \setcounter{chapter}{0}%
522 \setcounter{section}{0}%
523 \renewcommand{\@chapapp}{\appendixname}%
524 \renewcommand{\@chappos}\space%
525 \renewcommand{\thechapter}{\@Alph\c@chapter}}
527 \setlength\leftmargini {2em}
529 \setlength\leftmargini {2.5em}
531 \setlength\leftmarginii {2.2em}
532 \setlength\leftmarginiii {1.87em}
533 \setlength\leftmarginiv {1.7em}
535 \setlength\leftmarginv {.5em}
536 \setlength\leftmarginvi{.5em}
538 \setlength\leftmarginv {1em}
539 \setlength\leftmarginvi{1em}
541 \setlength \labelsep {.5em}
542 \setlength \labelwidth{\leftmargini}
543 \addtolength\labelwidth{-\labelsep}
544 \@beginparpenalty -\@lowpenalty
545 \@endparpenalty -\@lowpenalty
546 \@itempenalty -\@lowpenalty
547 \renewcommand{\theenumi}{\@arabic\c@enumi}
548 \renewcommand{\theenumii}{\@alph\c@enumii}
549 \renewcommand{\theenumiii}{\@roman\c@enumiii}
550 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
551 \newcommand{\labelenumi}{\theenumi.}
552 \newcommand{\labelenumii}{(\theenumii)}
553 \newcommand{\labelenumiii}{\theenumiii.}
554 \newcommand{\labelenumiv}{\theenumiv.}
555 \renewcommand{\p@enumii}{\theenumi}
556 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
557 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
558 \renewenvironment{enumerate}
559 {\ifnum \@enumdepth >\thr@@\@toodeep\else
560 \advance\@enumdepth\@ne
561 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
562 \expandafter \list \csname label\@enumctr\endcsname{%
563 \ifnum\ltjgetparameter{direction}=3
564 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
566 \parskip\z@ \itemsep\z@ \parsep\z@
567 \labelwidth1\zw \labelsep.3\zw
568 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
569 \else\leftmargin\leftskip\fi
570 \advance\leftmargin 1\zw
572 \usecounter{\@enumctr}%
573 \def\makelabel##1{\hss\llap{##1}}}%
575 \newcommand{\labelitemi}{\textbullet}
576 \newcommand{\labelitemii}{%
577 \ifnum\ltjgetparameter{direction}=3
580 {\normalfont\bfseries\textendash}
583 \newcommand{\labelitemiii}{\textasteriskcentered}
584 \newcommand{\labelitemiv}{\textperiodcentered}
585 \renewenvironment{itemize}
586 {\ifnum \@itemdepth >\thr@@\@toodeep\else
587 \advance\@itemdepth\@ne
588 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
589 \expandafter \list \csname \@itemitem\endcsname{%
590 \ifnum\ltjgetparameter{direction}=3
591 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
593 \parskip\z@ \itemsep\z@ \parsep\z@
594 \labelwidth1\zw \labelsep.3\zw
595 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
596 \else\leftmargin\leftskip\fi
597 \advance\leftmargin 1\zw
599 \def\makelabel##1{\hss\llap{##1}}}%
601 \newenvironment{description}
602 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
603 \ifnum\ltjgetparameter{direction}=3
604 \leftmargin\leftskip \advance\leftmargin3\Cwd
605 \rightmargin\rightskip
606 \labelsep=1\zw \itemsep\z@
607 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
609 \let\makelabel\descriptionlabel}}{\endlist}
610 \newcommand{\descriptionlabel}[1]{%
611 \hspace\labelsep\normalfont\bfseries #1}
612 \newenvironment{verse}
614 \list{}{\itemsep\z@ \itemindent -1.5em%
615 \listparindent\itemindent
616 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
617 \item\relax}{\endlist}
618 \newenvironment{quotation}
619 {\list{}{\listparindent 1.5em%
620 \itemindent\listparindent
621 \rightmargin\leftmargin
622 \parsep\z@ \@plus\p@}%
623 \item\relax}{\endlist}
624 \newenvironment{quote}
625 {\list{}{\rightmargin\leftmargin}%
626 \item\relax}{\endlist}
627 \newcounter{figure}[chapter]
628 \renewcommand{\thefigure}{%
629 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@figure}
633 \def\fnum@figure{\figurename~\thefigure}
634 \newenvironment{figure}
637 \newenvironment{figure*}
640 \newcounter{table}[chapter]
641 \renewcommand{\thetable}{%
642 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@table}
646 \def\fnum@table{\tablename~\thetable}
647 \newenvironment{table}
650 \newenvironment{table*}
653 \newlength\abovecaptionskip
654 \newlength\belowcaptionskip
655 \setlength\abovecaptionskip{10\p@}
656 \setlength\belowcaptionskip{0\p@}
657 \long\def\@makecaption#1#2{%
658 \vskip\abovecaptionskip
659 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
660 \else\sbox\@tempboxa{#1: #2}%
662 \ifdim \wd\@tempboxa >\hsize
663 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
664 \else #1: #2\relax\par\fi
666 \global \@minipagefalse
667 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
669 \vskip\belowcaptionskip}
670 \setlength\arraycolsep{5\p@}
671 \setlength\tabcolsep{6\p@}
672 \setlength\arrayrulewidth{.4\p@}
673 \setlength\doublerulesep{2\p@}
674 \setlength\tabbingsep{\labelsep}
675 \skip\@mpfootins = \skip\footins
676 \setlength\fboxsep{3\p@}
677 \setlength\fboxrule{.4\p@}
678 \@addtoreset{equation}{chapter}
679 \renewcommand{\theequation}{%
680 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
681 \if@compatibility\else
682 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
683 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
684 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
686 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
690 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
691 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
694 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
695 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
696 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
697 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
698 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
699 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
700 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
701 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
702 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
703 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
704 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
705 \setcounter{tocdepth}{2}
706 \newcommand{\@pnumwidth}{1.55em}
707 \newcommand{\@tocrmarg}{2.55em}
708 \newcommand{\@dotsep}{4.5}
709 \newdimen\toclineskip
710 \setlength\toclineskip{\z@}
712 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
713 \def\@dottedtocline#1#2#3#4#5{%
714 \ifnum #1>\c@tocdepth \else
715 \vskip\toclineskip \@plus.2\p@
716 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
717 \parindent #2\relax\@afterindenttrue
721 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
723 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
725 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
728 \def\addcontentsline#1#2#3{%
729 \protected@write\@auxout
730 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
731 \@temptokena{\thepage}}%
732 {\string\@writefile{#1}%
733 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
735 \newcommand{\tableofcontents}{%
736 \if@twocolumn\@restonecoltrue\onecolumn
737 \else\@restonecolfalse\fi
738 \chapter*{\contentsname
739 \@mkboth{\contentsname}{\contentsname}%
741 \if@restonecol\twocolumn\fi
743 \newcommand*{\l@part}[2]{%
744 \ifnum \c@tocdepth >-2\relax
745 \addpenalty{-\@highpenalty}%
746 \addvspace{2.25em \@plus\p@}%
748 \parindent\z@\rightskip\@pnumwidth
749 \parfillskip-\@pnumwidth
750 {\leavevmode\large\bfseries
751 \setlength\@lnumwidth{4\zw}%
753 \hb@xt@\@pnumwidth{\hss#2}}\par
756 \everypar{\global\@nobreakfalse\everypar{}}%
759 \newcommand*{\l@chapter}[2]{%
760 \ifnum \c@tocdepth >\m@ne
761 \addpenalty{-\@highpenalty}%
762 \addvspace{1.0em \@plus\p@}%
764 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
766 \setlength\@lnumwidth{4\zw}%
767 \advance\leftskip\@lnumwidth \hskip-\leftskip
768 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
769 \penalty\@highpenalty
772 \newcommand*{\l@section}{\@dottedtocline{1}{1.5em}{2.3em}}
773 \newcommand*{\l@subsection} {\@dottedtocline{2}{3.8em}{3.2em}}
774 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{7.0em}{4.1em}}
775 \newcommand*{\l@paragraph} {\@dottedtocline{4}{10em}{5em}}
776 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{12em}{6em}}
777 \newcommand{\listoffigures}{%
778 \if@twocolumn\@restonecoltrue\onecolumn
779 \else\@restonecolfalse\fi
780 \chapter*{\listfigurename}%
781 \@mkboth{\listfigurename}{\listfigurename}%
783 \if@restonecol\twocolumn\fi
785 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
786 \newcommand{\listoftables}{%
787 \if@twocolumn\@restonecoltrue\onecolumn
788 \else\@restonecolfalse\fi
789 \chapter*{\listtablename}%
790 \@mkboth{\listtablename}{\listtablename}%
792 \if@restonecol\twocolumn\fi
794 \let\l@table\l@figure
796 \setlength\bibindent{1.5em}
797 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
798 \newenvironment{thebibliography}[1]
799 {\chapter*{\bibname}\@mkboth{\bibname}{\bibname}%
800 \list{\@biblabel{\@arabic\c@enumiv}}%
801 {\settowidth\labelwidth{\@biblabel{#1}}%
802 \leftmargin\labelwidth
803 \advance\leftmargin\labelsep
807 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
810 \@clubpenalty\clubpenalty
814 {\@latex@warning{Empty `thebibliography' environment}}%
816 \let\@openbib@code\@empty
817 \newenvironment{theindex}
818 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
819 \twocolumn[\@makeschapterhead{\indexname}]%
820 \@mkboth{\indexname}{\indexname}%
821 \thispagestyle{jpl@in}\parindent\z@
822 \parskip\z@ \@plus .3\p@\relax
823 \columnseprule\z@ \columnsep 35\p@
825 {\if@restonecol\onecolumn\else\clearpage\fi}
826 \newcommand{\@idxitem}{\par\hangindent 40\p@}
827 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
828 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
829 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
830 \renewcommand{\footnoterule}{%
832 \hrule\@width.4\columnwidth
834 \@addtoreset{footnote}{chapter}
835 \newcommand\@makefntext[1]{\parindent 1em
836 \noindent\hb@xt@ 1.8em{\hss\@makefnmark}#1}
840 \newcount\heisei \heisei\year \advance\heisei-1988\relax
842 \ifnum\ltjgetparameter{direction}=3
848 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
858 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
863 \newcommand{\prepartname}{第}
864 \newcommand{\postpartname}{部}
865 \newcommand{\prechaptername}{第}
866 \newcommand{\postchaptername}{章}
867 \newcommand{\contentsname}{目 次}
868 \newcommand{\listfigurename}{図 目 次}
869 \newcommand{\listtablename}{表 目 次}
870 \newcommand{\bibname}{関連図書}
871 \newcommand{\indexname}{索 引}
872 \newcommand{\figurename}{図}
873 \newcommand{\tablename}{表}
874 \newcommand{\appendixname}{付 録}
875 \newcommand{\abstractname}{概 要}
877 \pagenumbering{arabic}
892 %% End of file `ltjreport.cls'.