2 %% This is file `ltjtreport.cls',
3 %% generated with the docstrip utility.
5 %% The original source files were:
7 %% ltjclasses.dtx (with options: `report,tate')
11 %% For the copyright see the source file.
13 %% Any modified versions of this file must be renamed
14 %% with new filenames distinct from ltjtreport.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{ltjtreport}
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 \AtEndOfPackageFile{everyshi}{%
107 \def\@EveryShipout@Output{%
111 \@EveryShipout@AtNextHook
112 \global\setbox\luatexoutputbox=\box\luatexoutputbox
114 \gdef\@EveryShipout@AtNextHook{}%
115 \@EveryShipout@Org@Shipout\box\luatexoutputbox
117 \DeclareOption{oneside}{\@twosidefalse}
118 \DeclareOption{twoside}{\@twosidetrue}
119 \DeclareOption{onecolumn}{\@twocolumnfalse}
120 \DeclareOption{twocolumn}{\@twocolumntrue}
121 \DeclareOption{titlepage}{\@titlepagetrue}
122 \DeclareOption{notitlepage}{\@titlepagefalse}
125 \DeclareOption{openright}{\@openrighttrue}
126 \DeclareOption{openany}{\@openrightfalse}
128 \DeclareOption{leqno}{\input{leqno.clo}}
129 \DeclareOption{fleqn}{\input{fleqn.clo}}
130 \DeclareOption{openbib}{%
132 \renewcommand\@openbib@code{%
133 \advance\leftmargin\bibindent
134 \itemindent -\bibindent
135 \listparindent \itemindent
138 \renewcommand\newblock{\par}}}
142 \DeclareOption{disablejfam}{%
143 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
144 \DeclareOption{mathrmmc}{\@mathrmmctrue}
146 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
147 \DeclareOption{final}{\setlength\overfullrule{0pt}}
148 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
149 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
150 'ltj.jclasses_load_jfm', 1)}
151 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
152 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
153 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
154 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
155 \ltjglobalsetparameter{differentjfm=both}
156 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
157 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany,tate}
158 \ProcessOptions\relax
159 \input{ltjtsize1\@ptsize.clo}
160 \RequirePackage{lltjext}
162 \setlength\columnsep{3\Cwd}
164 \setlength\columnsep{10\p@}
166 \setlength\columnseprule{0\p@}
167 \newlength{\stockwidth}
168 \newlength{\stockheight}
169 \setlength{\stockwidth}{\paperwidth}
170 \setlength{\stockheight}{\paperheight}
172 \advance \stockwidth 2in
173 \advance \stockheight 2in
175 \ifdefined\pdfpagewidth
176 \setlength{\pdfpagewidth}{\stockwidth}
177 \setlength{\pdfpageheight}{\stockheight}
179 \setlength{\pagewidth}{\stockwidth}
180 \setlength{\pageheight}{\stockheight}
182 \setlength\lineskip{1\p@}
183 \setlength\normallineskip{1\p@}
184 \renewcommand{\baselinestretch}{}
185 \setlength\parskip{0\p@ \@plus \p@}
186 \setlength\parindent{1\Cwd}
190 \setcounter{topnumber}{2}
191 \setcounter{bottomnumber}{1}
192 \setcounter{totalnumber}{3}
193 \setcounter{dbltopnumber}{2}
194 \renewcommand{\topfraction}{.7}
195 \renewcommand{\bottomfraction}{.3}
196 \renewcommand{\textfraction}{.2}
197 \renewcommand{\floatpagefraction}{.5}
198 \renewcommand{\dbltopfraction}{.7}
199 \renewcommand{\dblfloatpagefraction}{.5}
200 \def\ps@plain{\let\@mkboth\@gobbletwo
201 \let\ps@jpl@in\ps@plain
203 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
204 \let\@evenhead\@empty
205 \let\@evenfoot\@oddfoot}
206 \let\ps@jpl@in\ps@plain
207 \def\ps@headnombre{\let\@mkboth\@gobbletwo
208 \let\ps@jpl@in\ps@headnombre
209 \def\@evenhead{\hfil\thepage}%
210 \def\@oddhead{\thepage\hfil}%
211 \let\@oddfoot\@empty\let\@evenfoot\@empty}
212 \def\ps@footnombre{\let\@mkboth\@gobbletwo
213 \let\ps@jpl@in\ps@footnombre
214 \def\@evenfoot{\hfil\thepage}%
215 \def\@oddfoot{\thepage\hfil}%
216 \let\@oddhead\@empty\let\@evenhead\@empty}
218 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
219 \let\@oddfoot\@empty\let\@evenfoot\@empty
220 \def\@evenhead{{\leftmark}\hfil\thepage}%
221 \def\@oddhead{\thepage\hfil\rightmark}%
222 \let\@mkboth\markboth
223 \def\chaptermark##1{\markboth{%
224 \ifnum \c@secnumdepth >\m@ne
225 \@chapapp\thechapter\@chappos\hskip1\zw
228 \def\sectionmark##1{\markright{%
229 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
232 \else % if not twoside
233 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
235 \def\@oddhead{\thepage\hfil\rightmark}%
236 \let\@mkboth\markboth
237 \def\chaptermark##1{\markright{%
238 \ifnum \c@secnumdepth >\m@ne
239 \@chapapp\thechapter\@chappos\hskip1\zw
245 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
246 \def\@evenhead{\hfil\leftmark}% right page
247 \def\@evenfoot{\hfil\thepage}% right page
248 \def\@oddhead{\rightmark\hfil}% left page
249 \def\@oddfoot{\thepage\hfil}% left page
250 \let\@mkboth\markboth
251 \def\chaptermark##1{\markboth{%
252 \ifnum \c@secnumdepth >\m@ne
253 \@chapapp\thechapter\@chappos\hskip1\zw
256 \def\sectionmark##1{\markright{%
257 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
260 \else % if one column
261 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
262 \def\@oddhead{\rightmark\hfil}%
263 \def\@oddfoot{\thepage\hfil}%
264 \let\@mkboth\markboth
265 \def\chaptermark##1{\markright{%
266 \ifnum \c@secnumdepth >\m@ne
267 \@chapapp\thechapter\@chappos\hskip1\zw
272 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
273 \let\@oddfoot\@empty\let\@evenfoot\@empty
274 \def\@evenhead{{\leftmark}\hfil\thepage}%
275 \def\@oddhead{\thepage\hfil\rightmark}%
276 \let\@mkboth\@gobbletwo
277 \let\chaptermark\@gobble
278 \let\sectionmark\@gobble
281 \newenvironment{titlepage}
283 \if@twocolumn\@restonecoltrue\onecolumn
284 \else\@restonecolfalse\newpage\fi
285 \thispagestyle{empty}%
288 {\if@restonecol\twocolumn\else\newpage\fi
291 \newenvironment{titlepage}
294 \@restonecoltrue\onecolumn
296 \@restonecolfalse\newpage
298 \thispagestyle{empty}%
299 \setcounter{page}\@ne
301 {\if@restonecol\twocolumn \else \newpage \fi
303 \setcounter{page}\@ne
307 \def\p@thanks#1{\footnotemark
308 \protected@xdef\@thanks{\@thanks
309 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
311 \newcommand{\maketitle}{\begin{titlepage}%
312 \let\footnotesize\small
313 \let\footnoterule\relax
316 \vbox to\textheight\bgroup\tate\hsize\textwidth
320 {\LARGE \@title \par}%
324 \begin{tabular}[t]{c}%
328 {\large \@date \par}% % Set date in \large size.
330 \vfil{\centering\@thanks}\vfil\null
333 \setcounter{footnote}{0}%
334 \global\let\thanks\relax
335 \global\let\maketitle\relax
336 \global\let\p@thanks\relax
337 \global\let\@thanks\@empty
338 \global\let\@author\@empty
339 \global\let\@date\@empty
340 \global\let\@title\@empty
341 \global\let\title\relax
342 \global\let\author\relax
343 \global\let\date\relax
344 \global\let\and\relax
347 \newcommand{\maketitle}{\par
349 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
350 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
351 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
352 \long\def\@makefntext##1{\parindent 1\zw\noindent
353 \hb@xt@ 2\zw{\hss\@makefnmark}##1}%
355 \ifnum \col@number=\@ne \@maketitle
356 \else \twocolumn[\@maketitle]%
360 \global\@topnum\z@ % Prevents figures from going at top of page.
363 \thispagestyle{jpl@in}\@thanks
365 \setcounter{footnote}{0}%
366 \global\let\thanks\relax
367 \global\let\maketitle\relax
368 \global\let\@maketitle\relax
369 \global\let\p@thanks\relax
370 \global\let\@thanks\@empty
371 \global\let\@author\@empty
372 \global\let\@date\@empty
373 \global\let\@title\@empty
374 \global\let\title\relax
375 \global\let\author\relax
376 \global\let\date\relax
377 \global\let\and\relax
383 \let\footnote\p@thanks
384 {\LARGE \@title \par}%
388 \begin{tabular}[t]{c}%
397 \newenvironment{abstract}{%
400 \@beginparpenalty\@lowpenalty
402 {\bfseries\abstractname}%
405 {\par\vfil\null\endtitlepage}
407 \newenvironment{abstract}{%
409 \section*{\abstractname}%
413 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
416 \fi}{\if@twocolumn\else\endquotation\fi}
418 \newcommand*{\chaptermark}[1]{}
419 \setcounter{secnumdepth}{2}
422 \newcounter{section}[chapter]
423 \newcounter{subsection}[section]
424 \newcounter{subsubsection}[subsection]
425 \newcounter{paragraph}[subsubsection]
426 \newcounter{subparagraph}[paragraph]
427 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
428 \renewcommand{\thechapter}{\rensuji{\@arabic\c@chapter}}
429 \renewcommand{\thesection}{\thechapter・\rensuji{\@arabic\c@section}}
430 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
431 \renewcommand{\thesubsubsection}{%
432 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
433 \renewcommand{\theparagraph}{%
434 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
435 \renewcommand{\thesubparagraph}{%
436 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
437 \newcommand{\@chapapp}{\prechaptername}
438 \newcommand{\@chappos}{\postchaptername}
440 \if@openright \cleardoublepage \else \clearpage \fi
441 \thispagestyle{empty}%
442 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
444 \secdef\@part\@spart}
446 \ifnum \c@secnumdepth >-2\relax
447 \refstepcounter{part}%
448 \addcontentsline{toc}{part}{%
449 \prepartname\thepart\postpartname\hspace{1em}#1}%
451 \addcontentsline{toc}{part}{#1}%
455 \interlinepenalty\@M\normalfont
456 \ifnum \c@secnumdepth >-2\relax
457 \huge\bfseries\prepartname\thepart\postpartname
460 \Huge\bfseries#2\par}%
464 \interlinepenalty\@M\normalfont
465 \Huge\bfseries#1\par}%
467 \def\@endpart{\vfil\newpage
468 \if@twoside\null\thispagestyle{empty}\newpage\fi
469 \if@tempswa\twocolumn\fi}
470 \newcommand{\chapter}{%
471 \if@openright\cleardoublepage\else\clearpage\fi
472 \thispagestyle{jpl@in}%
475 \secdef\@chapter\@schapter}
476 \def\@chapter[#1]#2{%
477 \ifnum \c@secnumdepth >\m@ne
478 \refstepcounter{chapter}%
479 \typeout{\@chapapp\space\thechapter\space\@chappos}%
480 \addcontentsline{toc}{chapter}%
481 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
483 \addcontentsline{toc}{chapter}{#1}%
486 \addtocontents{lof}{\protect\addvspace{10\p@}}%
487 \addtocontents{lot}{\protect\addvspace{10\p@}}%
488 \@makechapterhead{#2}\@afterheading}
489 \def\@makechapterhead#1{\hbox{}%
493 \normalfont\huge\bfseries
495 \ifnum \c@secnumdepth >\m@ne
496 \setlength\@tempdima{\linewidth}%
497 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
498 \addtolength\@tempdima{-\wd\z@}%
500 \vtop{\hsize\@tempdima#1}%
503 \fi}\nobreak\vskip3\Cvs}
505 \@makeschapterhead{#1}\@afterheading
507 \def\@makeschapterhead#1{\hbox{}%
511 \normalfont\huge\bfseries
513 \setlength\@tempdima{\linewidth}%
514 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
515 \newcommand{\section}{\@startsection{section}{1}{\z@}%
516 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
517 {.5\Cvs \@plus.3\Cvs}%
518 {\normalfont\Large\bfseries}}
519 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
520 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
521 {.5\Cvs \@plus.3\Cvs}%
522 {\normalfont\large\bfseries}}
523 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
524 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
525 {.5\Cvs \@plus.3\Cvs}%
526 {\normalfont\normalsize\bfseries}}
527 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
528 {3.25ex \@plus 1ex \@minus .2ex}%
530 {\normalfont\normalsize\bfseries}}
531 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
532 {3.25ex \@plus 1ex \@minus .2ex}%
534 {\normalfont\normalsize\bfseries}}
535 \newcommand{\appendix}{\par
536 \setcounter{chapter}{0}%
537 \setcounter{section}{0}%
538 \renewcommand{\@chapapp}{\appendixname}%
539 \renewcommand{\@chappos}\space%
540 \renewcommand{\thechapter}{\rensuji{\@Alph\c@chapter}}}
542 \setlength\leftmargini {2em}
544 \setlength\leftmargini {2.5em}
546 \setlength\leftmarginii {2.2em}
547 \setlength\leftmarginiii {1.87em}
548 \setlength\leftmarginiv {1.7em}
550 \setlength\leftmarginv {.5em}
551 \setlength\leftmarginvi{.5em}
553 \setlength\leftmarginv {1em}
554 \setlength\leftmarginvi{1em}
556 \setlength \labelsep {.5em}
557 \setlength \labelwidth{\leftmargini}
558 \addtolength\labelwidth{-\labelsep}
559 \@beginparpenalty -\@lowpenalty
560 \@endparpenalty -\@lowpenalty
561 \@itempenalty -\@lowpenalty
562 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
563 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
564 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
565 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
566 \newcommand{\labelenumi}{\theenumi}
567 \newcommand{\labelenumii}{\theenumii}
568 \newcommand{\labelenumiii}{\theenumiii}
569 \newcommand{\labelenumiv}{\theenumiv}
570 \renewcommand{\p@enumii}{\theenumi}
571 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
572 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
573 \renewenvironment{enumerate}
574 {\ifnum \@enumdepth >\thr@@\@toodeep\else
575 \advance\@enumdepth\@ne
576 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
577 \expandafter \list \csname label\@enumctr\endcsname{%
578 \ifnum\ltjgetparameter{direction}=3
579 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
581 \parskip\z@ \itemsep\z@ \parsep\z@
582 \labelwidth1\zw \labelsep.3\zw
583 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
584 \else\leftmargin\leftskip\fi
585 \advance\leftmargin 1\zw
587 \usecounter{\@enumctr}%
588 \def\makelabel##1{\hss\llap{##1}}}%
590 \newcommand{\labelitemi}{\textbullet}
591 \newcommand{\labelitemii}{%
592 \ifnum\ltjgetparameter{direction}=3
595 {\normalfont\bfseries\textendash}
598 \newcommand{\labelitemiii}{\textasteriskcentered}
599 \newcommand{\labelitemiv}{\textperiodcentered}
600 \renewenvironment{itemize}
601 {\ifnum \@itemdepth >\thr@@\@toodeep\else
602 \advance\@itemdepth\@ne
603 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
604 \expandafter \list \csname \@itemitem\endcsname{%
605 \ifnum\ltjgetparameter{direction}=3
606 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
608 \parskip\z@ \itemsep\z@ \parsep\z@
609 \labelwidth1\zw \labelsep.3\zw
610 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
611 \else\leftmargin\leftskip\fi
612 \advance\leftmargin 1\zw
614 \def\makelabel##1{\hss\llap{##1}}}%
616 \newenvironment{description}
617 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
618 \ifnum\ltjgetparameter{direction}=3
619 \leftmargin\leftskip \advance\leftmargin3\Cwd
620 \rightmargin\rightskip
621 \labelsep=1\zw \itemsep\z@
622 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
624 \let\makelabel\descriptionlabel}}{\endlist}
625 \newcommand{\descriptionlabel}[1]{%
626 \hspace\labelsep\normalfont\bfseries #1}
627 \newenvironment{verse}
629 \list{}{\itemsep\z@ \itemindent -1.5em%
630 \listparindent\itemindent
631 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
632 \item\relax}{\endlist}
633 \newenvironment{quotation}
634 {\list{}{\listparindent 1.5em%
635 \itemindent\listparindent
636 \rightmargin\leftmargin
637 \parsep\z@ \@plus\p@}%
638 \item\relax}{\endlist}
639 \newenvironment{quote}
640 {\list{}{\rightmargin\leftmargin}%
641 \item\relax}{\endlist}
642 \newcounter{figure}[chapter]
643 \renewcommand{\thefigure}{%
644 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@figure}}
648 \def\fnum@figure{\figurename\thefigure}
649 \newenvironment{figure}
652 \newenvironment{figure*}
655 \newcounter{table}[chapter]
656 \renewcommand{\thetable}{%
657 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@table}}
661 \def\fnum@table{\tablename\thetable}
662 \newenvironment{table}
665 \newenvironment{table*}
668 \newlength\abovecaptionskip
669 \newlength\belowcaptionskip
670 \setlength\abovecaptionskip{10\p@}
671 \setlength\belowcaptionskip{0\p@}
672 \long\def\@makecaption#1#2{%
673 \vskip\abovecaptionskip
674 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
675 \else\sbox\@tempboxa{#1: #2}%
677 \ifdim \wd\@tempboxa >\hsize
678 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
679 \else #1: #2\relax\par\fi
681 \global \@minipagefalse
682 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
684 \vskip\belowcaptionskip}
685 \setlength\arraycolsep{5\p@}
686 \setlength\tabcolsep{6\p@}
687 \setlength\arrayrulewidth{.4\p@}
688 \setlength\doublerulesep{2\p@}
689 \setlength\tabbingsep{\labelsep}
690 \skip\@mpfootins = \skip\footins
691 \setlength\fboxsep{3\p@}
692 \setlength\fboxrule{.4\p@}
693 \@addtoreset{equation}{chapter}
694 \renewcommand{\theequation}{%
695 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
696 \if@compatibility\else
697 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
698 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
699 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
701 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
705 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
706 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
709 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
710 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
711 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
712 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
713 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
714 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
715 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
716 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
717 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
718 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
719 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
720 \setcounter{tocdepth}{2}
721 \newcommand{\@pnumwidth}{1.55em}
722 \newcommand{\@tocrmarg}{2.55em}
723 \newcommand{\@dotsep}{4.5}
724 \newdimen\toclineskip
725 \setlength\toclineskip{2\p@}
727 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
728 \def\@dottedtocline#1#2#3#4#5{%
729 \ifnum #1>\c@tocdepth \else
730 \vskip\toclineskip \@plus.2\p@
731 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
732 \parindent #2\relax\@afterindenttrue
736 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
738 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
740 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
743 \def\addcontentsline#1#2#3{%
744 \protected@write\@auxout
745 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
746 \@temptokena{\rensuji{\thepage}}}%
747 {\string\@writefile{#1}%
748 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
750 \newcommand{\tableofcontents}{%
751 \if@twocolumn\@restonecoltrue\onecolumn
752 \else\@restonecolfalse\fi
753 \chapter*{\contentsname
754 \@mkboth{\contentsname}{\contentsname}%
756 \if@restonecol\twocolumn\fi
758 \newcommand*{\l@part}[2]{%
759 \ifnum \c@tocdepth >-2\relax
760 \addpenalty{-\@highpenalty}%
761 \addvspace{2.25em \@plus\p@}%
763 \parindent\z@\rightskip\@pnumwidth
764 \parfillskip-\@pnumwidth
765 {\leavevmode\large\bfseries
766 \setlength\@lnumwidth{4\zw}%
768 \hb@xt@\@pnumwidth{\hss#2}}\par
771 \everypar{\global\@nobreakfalse\everypar{}}%
774 \newcommand*{\l@chapter}[2]{%
775 \ifnum \c@tocdepth >\m@ne
776 \addpenalty{-\@highpenalty}%
777 \addvspace{1.0em \@plus\p@}%
779 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
781 \setlength\@lnumwidth{4\zw}%
782 \advance\leftskip\@lnumwidth \hskip-\leftskip
783 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
784 \penalty\@highpenalty
787 \newcommand*{\l@section}{\@dottedtocline{1}{1\zw}{4\zw}}
788 \newcommand*{\l@subsection} {\@dottedtocline{2}{2\zw}{6\zw}}
789 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3\zw}{8\zw}}
790 \newcommand*{\l@paragraph} {\@dottedtocline{4}{4\zw}{9\zw}}
791 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{5\zw}{10\zw}}
792 \newcommand{\listoffigures}{%
793 \if@twocolumn\@restonecoltrue\onecolumn
794 \else\@restonecolfalse\fi
795 \chapter*{\listfigurename}%
796 \@mkboth{\listfigurename}{\listfigurename}%
798 \if@restonecol\twocolumn\fi
800 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
801 \newcommand{\listoftables}{%
802 \if@twocolumn\@restonecoltrue\onecolumn
803 \else\@restonecolfalse\fi
804 \chapter*{\listtablename}%
805 \@mkboth{\listtablename}{\listtablename}%
807 \if@restonecol\twocolumn\fi
809 \let\l@table\l@figure
811 \setlength\bibindent{1.5em}
812 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
813 \newenvironment{thebibliography}[1]
814 {\chapter*{\bibname}\@mkboth{\bibname}{\bibname}%
815 \list{\@biblabel{\@arabic\c@enumiv}}%
816 {\settowidth\labelwidth{\@biblabel{#1}}%
817 \leftmargin\labelwidth
818 \advance\leftmargin\labelsep
822 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
825 \@clubpenalty\clubpenalty
829 {\@latex@warning{Empty `thebibliography' environment}}%
831 \let\@openbib@code\@empty
832 \newenvironment{theindex}
833 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
834 \twocolumn[\@makeschapterhead{\indexname}]%
835 \@mkboth{\indexname}{\indexname}%
836 \thispagestyle{jpl@in}\parindent\z@
837 \parskip\z@ \@plus .3\p@\relax
838 \columnseprule\z@ \columnsep 35\p@
840 {\if@restonecol\onecolumn\else\clearpage\fi}
841 \newcommand{\@idxitem}{\par\hangindent 40\p@}
842 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
843 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
844 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
845 \renewcommand{\footnoterule}{%
847 \hrule\@width.4\columnwidth
849 \@addtoreset{footnote}{chapter}
850 \newcommand\@makefntext[1]{\parindent 1\zw
851 \noindent\hb@xt@ 2\zw{\hss\@makefnmark}#1}
855 \newcount\heisei \heisei\year \advance\heisei-1988\relax
857 \ifnum\ltjgetparameter{direction}=3
863 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
873 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
878 \newcommand{\prepartname}{第}
879 \newcommand{\postpartname}{部}
880 \newcommand{\prechaptername}{第}
881 \newcommand{\postchaptername}{章}
882 \newcommand{\contentsname}{目 次}
883 \newcommand{\listfigurename}{図 目 次}
884 \newcommand{\listtablename}{表 目 次}
885 \newcommand{\bibname}{関連図書}
886 \newcommand{\indexname}{索 引}
887 \newcommand{\figurename}{図}
888 \newcommand{\tablename}{表}
889 \newcommand{\appendixname}{付 録}
890 \newcommand{\abstractname}{概 要}
892 \pagenumbering{arabic}
904 %% End of file `ltjtreport.cls'.