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
25 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
26 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
27 %% Digits \0\1\2\3\4\5\6\7\8\9
28 %% Exclamation \! Double quote \" Hash (number) \#
29 %% Dollar \$ Percent \% Ampersand \&
30 %% Acute accent \' Left paren \( Right paren \)
31 %% Asterisk \* Plus \+ Comma \,
32 %% Minus \- Point \. Solidus \/
33 %% Colon \: Semicolon \; Less than \<
34 %% Equals \= Greater than \> Question mark \?
35 %% Commercial at \@ Left bracket \[ Backslash \\
36 %% Right bracket \] Circumflex \^ Underscore \_
37 %% Grave accent \` Left brace \{ Vertical bar \|
38 %% Right brace \} Tilde \~}
40 \NeedsTeXFormat{LaTeX2e}
41 \ProvidesClass{ltjtreport}
42 [2014/06/08 v1.6-ltj-3
43 Standard LuaLaTeX-ja class]
44 \RequirePackage{luatexja}
45 \RequirePackage{filehook}
47 \newif\if@landscape \@landscapefalse
48 \newcommand{\@ptsize}{}
53 \hour\time \divide\hour by 60\relax
54 \@tempcnta\hour \multiply\@tempcnta 60\relax
55 \minute\time \advance\minute-\@tempcnta
56 \newif\if@stysize \@stysizefalse
57 \newif\if@mathrmmc \@mathrmmcfalse
58 \DeclareOption{a4paper}{\setcounter{@paper}{1}%
59 \setlength\paperheight {297mm}%
60 \setlength\paperwidth {210mm}}
61 \DeclareOption{a5paper}{\setcounter{@paper}{2}%
62 \setlength\paperheight {210mm}
63 \setlength\paperwidth {148mm}}
64 \DeclareOption{b4paper}{\setcounter{@paper}{3}%
65 \setlength\paperheight {364mm}
66 \setlength\paperwidth {257mm}}
67 \DeclareOption{b5paper}{\setcounter{@paper}{4}%
68 \setlength\paperheight {257mm}
69 \setlength\paperwidth {182mm}}
70 \DeclareOption{a4j}{\setcounter{@paper}{1}\@stysizetrue
71 \setlength\paperheight {297mm}%
72 \setlength\paperwidth {210mm}}
73 \DeclareOption{a5j}{\setcounter{@paper}{2}\@stysizetrue
74 \setlength\paperheight {210mm}
75 \setlength\paperwidth {148mm}}
76 \DeclareOption{b4j}{\setcounter{@paper}{3}\@stysizetrue
77 \setlength\paperheight {364mm}
78 \setlength\paperwidth {257mm}}
79 \DeclareOption{b5j}{\setcounter{@paper}{4}\@stysizetrue
80 \setlength\paperheight {257mm}
81 \setlength\paperwidth {182mm}}
82 \DeclareOption{a4p}{\setcounter{@paper}{1}\@stysizetrue
83 \setlength\paperheight {297mm}%
84 \setlength\paperwidth {210mm}}
85 \DeclareOption{a5p}{\setcounter{@paper}{2}\@stysizetrue
86 \setlength\paperheight {210mm}
87 \setlength\paperwidth {148mm}}
88 \DeclareOption{b4p}{\setcounter{@paper}{3}\@stysizetrue
89 \setlength\paperheight {364mm}
90 \setlength\paperwidth {257mm}}
91 \DeclareOption{b5p}{\setcounter{@paper}{4}\@stysizetrue
92 \setlength\paperheight {257mm}
93 \setlength\paperwidth {182mm}}
94 \AtEndOfPackageFile{geometry}{%
95 \setlength{\@tempdima}{\textheight}%
96 \setlength{\textheight}{\textwidth}%
97 \setlength{\textwidth}{\@tempdima}%
98 \expandafter\def\expandafter\Gm@process\expandafter{\Gm@process
99 \setlength{\@tempdima}{\textheight}%
100 \setlength{\textheight}{\textwidth}%
101 \setlength{\textwidth}{\@tempdima}}}
103 \renewcommand{\@ptsize}{0}
105 \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
107 \DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
108 \DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
109 \DeclareOption{landscape}{\@landscapetrue
110 \setlength\@tempdima{\paperheight}%
111 \setlength\paperheight{\paperwidth}%
112 \setlength\paperwidth{\@tempdima}}
113 \DeclareOption{tombow}{%
114 \tombowtrue \tombowdatetrue
115 \setlength{\@tombowwidth}{.1\p@}%
117 \jobname\space:\space\number\year/\number\month/\number\day
118 (\number\hour:\number\minute)}
120 \DeclareOption{tombo}{%
121 \tombowtrue \tombowdatefalse
122 \setlength{\@tombowwidth}{.1\p@}%
124 \DeclareOption{mentuke}{%
125 \tombowtrue \tombowdatefalse
126 \setlength{\@tombowwidth}{\z@}%
128 \DeclareOption{tate}{%
129 \AtBeginDocument{\tate\message{《縦組モード》}%
132 \DeclareOption{oneside}{\@twosidefalse}
133 \DeclareOption{twoside}{\@twosidetrue}
134 \DeclareOption{onecolumn}{\@twocolumnfalse}
135 \DeclareOption{twocolumn}{\@twocolumntrue}
136 \DeclareOption{titlepage}{\@titlepagetrue}
137 \DeclareOption{notitlepage}{\@titlepagefalse}
140 \DeclareOption{openright}{\@openrighttrue}
141 \DeclareOption{openany}{\@openrightfalse}
143 \DeclareOption{leqno}{\input{leqno.clo}}
144 \DeclareOption{fleqn}{\input{fleqn.clo}}
145 \DeclareOption{openbib}{%
147 \renewcommand\@openbib@code{%
148 \advance\leftmargin\bibindent
149 \itemindent -\bibindent
150 \listparindent \itemindent
153 \renewcommand\newblock{\par}}}
157 \DeclareOption{disablejfam}{%
158 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
159 \DeclareOption{mathrmmc}{\@mathrmmctrue}
161 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
162 \DeclareOption{final}{\setlength\overfullrule{0pt}}
163 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany,tate}
164 \ProcessOptions\relax
165 \input{ltjtsize1\@ptsize.clo}
166 %\RequirePackage{plext}
167 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
168 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
169 'ltj.jclasses_load_jfm', 1)}
170 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
171 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
172 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
173 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
174 \ltjglobalsetparameter{differentjfm=both}
175 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
177 \setlength\columnsep{3\Cwd}
179 \setlength\columnsep{10\p@}
181 \setlength\columnseprule{0\p@}
182 \setlength{\@tempdima}{\paperwidth}
183 \setlength{\@tempdimb}{\paperheight}
185 \advance \@tempdima 2in
186 \advance \@tempdimb 2in
188 \setlength{\pdfpagewidth}{\@tempdima}
189 \setlength{\pdfpageheight}{\@tempdimb}
190 \setlength\lineskip{1\p@}
191 \setlength\normallineskip{1\p@}
192 \renewcommand{\baselinestretch}{}
193 \setlength\parskip{0\p@ \@plus \p@}
194 \setlength\parindent{1\Cwd}
198 \setcounter{topnumber}{2}
199 \setcounter{bottomnumber}{1}
200 \setcounter{totalnumber}{3}
201 \setcounter{dbltopnumber}{2}
202 \renewcommand{\topfraction}{.7}
203 \renewcommand{\bottomfraction}{.3}
204 \renewcommand{\textfraction}{.2}
205 \renewcommand{\floatpagefraction}{.5}
206 \renewcommand{\dbltopfraction}{.7}
207 \renewcommand{\dblfloatpagefraction}{.5}
208 \def\ps@plain{\let\@mkboth\@gobbletwo
209 \let\ps@jpl@in\ps@plain
211 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
212 \let\@evenhead\@empty
213 \let\@evenfoot\@oddfoot}
214 \let\ps@jpl@in\ps@plain
215 \def\ps@headnombre{\let\@mkboth\@gobbletwo
216 \let\ps@jpl@in\ps@headnombre
217 \def\@evenhead{\hfil\thepage}%
218 \def\@oddhead{\thepage\hfil}%
219 \let\@oddfoot\@empty\let\@evenfoot\@empty}
220 \def\ps@footnombre{\let\@mkboth\@gobbletwo
221 \let\ps@jpl@in\ps@footnombre
222 \def\@evenfoot{\hfil\thepage}%
223 \def\@oddfoot{\thepage\hfil}%
224 \let\@oddhead\@empty\let\@evenhead\@empty}
226 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
227 \let\@oddfoot\@empty\let\@evenfoot\@empty
228 \def\@evenhead{{\leftmark}\hfil\thepage}%
229 \def\@oddhead{\thepage\hfil\rightmark}%
230 \let\@mkboth\markboth
231 \def\chaptermark##1{\markboth{%
232 \ifnum \c@secnumdepth >\m@ne
233 \@chapapp\thechapter\@chappos\hskip1\zw
236 \def\sectionmark##1{\markright{%
237 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
240 \else % if not twoside
241 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
243 \def\@oddhead{\thepage\hfil\rightmark}%
244 \let\@mkboth\markboth
245 \def\chaptermark##1{\markright{%
246 \ifnum \c@secnumdepth >\m@ne
247 \@chapapp\thechapter\@chappos\hskip1\zw
253 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
254 \def\@evenhead{\hfil\leftmark}% right page
255 \def\@evenfoot{\hfil\thepage}% right page
256 \def\@oddhead{\rightmark\hfil}% left page
257 \def\@oddfoot{\thepage\hfil}% left page
258 \let\@mkboth\markboth
259 \def\chaptermark##1{\markboth{%
260 \ifnum \c@secnumdepth >\m@ne
261 \@chapapp\thechapter\@chappos\hskip1\zw
264 \def\sectionmark##1{\markright{%
265 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
268 \else % if one column
269 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
270 \def\@oddhead{\rightmark\hfil}%
271 \def\@oddfoot{\thepage\hfil}%
272 \let\@mkboth\markboth
273 \def\chaptermark##1{\markright{%
274 \ifnum \c@secnumdepth >\m@ne
275 \@chapapp\thechapter\@chappos\hskip1\zw
280 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
281 \let\@oddfoot\@empty\let\@evenfoot\@empty
282 \def\@evenhead{{\leftmark}\hfil\thepage}%
283 \def\@oddhead{\thepage\hfil\rightmark}%
284 \let\@mkboth\@gobbletwo
285 \let\chaptermark\@gobble
286 \let\sectionmark\@gobble
289 \newenvironment{titlepage}
291 \if@twocolumn\@restonecoltrue\onecolumn
292 \else\@restonecolfalse\newpage\fi
293 \thispagestyle{empty}%
296 {\if@restonecol\twocolumn\else\newpage\fi
299 \newenvironment{titlepage}
302 \@restonecoltrue\onecolumn
304 \@restonecolfalse\newpage
306 \thispagestyle{empty}%
307 \setcounter{page}\@ne
309 {\if@restonecol\twocolumn \else \newpage \fi
311 \setcounter{page}\@ne
315 \def\p@thanks#1{\footnotemark
316 \protected@xdef\@thanks{\@thanks
317 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
319 \newcommand{\maketitle}{\begin{titlepage}%
320 \let\footnotesize\small
321 \let\footnoterule\relax
324 \vbox to\textheight\bgroup\tate\hsize\textwidth
328 {\LARGE \@title \par}%
332 \begin{tabular}[t]{c}%
336 {\large \@date \par}% % Set date in \large size.
338 \vfil{\centering\@thanks}\vfil\null
341 \setcounter{footnote}{0}%
342 \global\let\thanks\relax
343 \global\let\maketitle\relax
344 \global\let\p@thanks\relax
345 \global\let\@thanks\@empty
346 \global\let\@author\@empty
347 \global\let\@date\@empty
348 \global\let\@title\@empty
349 \global\let\title\relax
350 \global\let\author\relax
351 \global\let\date\relax
352 \global\let\and\relax
355 \newcommand{\maketitle}{\par
357 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
358 \def\@makefnmark{\hbox{\ifydir $\m@th^{\@thefnmark}$
359 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
360 \long\def\@makefntext##1{\parindent 1\zw\noindent
361 \hbox to 2\zw{\hss\@makefnmark}##1}%
363 \ifnum \col@number=\@ne \@maketitle
364 \else \twocolumn[\@maketitle]%
368 \global\@topnum\z@ % Prevents figures from going at top of page.
371 \thispagestyle{jpl@in}\@thanks
373 \setcounter{footnote}{0}%
374 \global\let\thanks\relax
375 \global\let\maketitle\relax
376 \global\let\p@thanks\relax
377 \global\let\@thanks\@empty
378 \global\let\@author\@empty
379 \global\let\@date\@empty
380 \global\let\@title\@empty
381 \global\let\title\relax
382 \global\let\author\relax
383 \global\let\date\relax
384 \global\let\and\relax
390 \let\footnote\p@thanks
391 {\LARGE \@title \par}%
395 \begin{tabular}[t]{c}%
404 \newenvironment{abstract}{%
407 \@beginparpenalty\@lowpenalty
409 {\bfseries\abstractname}%
412 {\par\vfil\null\endtitlepage}
414 \newenvironment{abstract}{%
416 \section*{\abstractname}%
420 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
423 \fi}{\if@twocolumn\else\endquotation\fi}
425 \newcommand*{\chaptermark}[1]{}
426 \setcounter{secnumdepth}{2}
429 \newcounter{section}[chapter]
430 \newcounter{subsection}[section]
431 \newcounter{subsubsection}[subsection]
432 \newcounter{paragraph}[subsubsection]
433 \newcounter{subparagraph}[paragraph]
434 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
435 \renewcommand{\thechapter}{\rensuji{\@arabic\c@chapter}}
436 \renewcommand{\thesection}{\thechapter・\rensuji{\@arabic\c@section}}
437 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
438 \renewcommand{\thesubsubsection}{%
439 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
440 \renewcommand{\theparagraph}{%
441 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
442 \renewcommand{\thesubparagraph}{%
443 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
444 \newcommand{\@chapapp}{\prechaptername}
445 \newcommand{\@chappos}{\postchaptername}
447 \if@openright \cleardoublepage \else \clearpage \fi
448 \thispagestyle{empty}%
449 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
451 \secdef\@part\@spart}
453 \ifnum \c@secnumdepth >-2\relax
454 \refstepcounter{part}%
455 \addcontentsline{toc}{part}{%
456 \prepartname\thepart\postpartname\hspace{1em}#1}%
458 \addcontentsline{toc}{part}{#1}%
462 \interlinepenalty\@M\reset@font
463 \ifnum \c@secnumdepth >-2\relax
464 \huge\bfseries\prepartname\thepart\postpartname
467 \Huge\bfseries#2\par}%
471 \interlinepenalty\@M\reset@font
472 \Huge\bfseries#1\par}%
474 \def\@endpart{\vfil\newpage
475 \if@twoside\null\thispagestyle{empty}\newpage\fi
476 \if@tempswa\twocolumn\fi}
477 \newcommand{\chapter}{%
478 \if@openright\cleardoublepage\else\clearpage\fi
479 \thispagestyle{jpl@in}%
482 \secdef\@chapter\@schapter}
483 \def\@chapter[#1]#2{%
484 \ifnum \c@secnumdepth >\m@ne
485 \refstepcounter{chapter}%
486 \typeout{\@chapapp\space\thechapter\space\@chappos}%
487 \addcontentsline{toc}{chapter}%
488 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
490 \addcontentsline{toc}{chapter}{#1}%
493 \addtocontents{lof}{\protect\addvspace{10\p@}}%
494 \addtocontents{lot}{\protect\addvspace{10\p@}}%
495 \@makechapterhead{#2}\@afterheading}
496 \def\@makechapterhead#1{\hbox{}%
500 \reset@font\huge\bfseries
502 \ifnum \c@secnumdepth >\m@ne
503 \setlength\@tempdima{\linewidth}%
504 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
505 \addtolength\@tempdima{-\wd\z@}%
507 \vtop{\hsize\@tempdima#1}%
510 \fi}\nobreak\vskip3\Cvs}
512 \@makeschapterhead{#1}\@afterheading
514 \def\@makeschapterhead#1{\hbox{}%
518 \reset@font\huge\bfseries
520 \setlength\@tempdima{\linewidth}%
521 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
522 \newcommand{\section}{\@startsection{section}{1}{\z@}%
523 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
524 {.5\Cvs \@plus.3\Cvs}%
525 {\reset@font\Large\bfseries}}
526 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
527 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
528 {.5\Cvs \@plus.3\Cvs}%
529 {\reset@font\large\bfseries}}
530 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
531 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
532 {.5\Cvs \@plus.3\Cvs}%
533 {\reset@font\normalsize\bfseries}}
534 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
535 {3.25ex \@plus 1ex \@minus .2ex}%
537 {\reset@font\normalsize\bfseries}}
538 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
539 {3.25ex \@plus 1ex \@minus .2ex}%
541 {\reset@font\normalsize\bfseries}}
542 \newcommand{\appendix}{\par
543 \setcounter{chapter}{0}%
544 \setcounter{section}{0}%
545 \renewcommand{\@chapapp}{\appendixname}%
546 \renewcommand{\@chappos}\space%
547 \renewcommand{\thechapter}{\rensuji{\@Alph\c@chapter}}}
549 \setlength\leftmargini {2em}
551 \setlength\leftmargini {2.5em}
553 \setlength\leftmarginii {2.2em}
554 \setlength\leftmarginiii {1.87em}
555 \setlength\leftmarginiv {1.7em}
557 \setlength\leftmarginv {.5em}
558 \setlength\leftmarginvi{.5em}
560 \setlength\leftmarginv {1em}
561 \setlength\leftmarginvi{1em}
563 \setlength \labelsep {.5em}
564 \setlength \labelwidth{\leftmargini}
565 \addtolength\labelwidth{-\labelsep}
566 \@beginparpenalty -\@lowpenalty
567 \@endparpenalty -\@lowpenalty
568 \@itempenalty -\@lowpenalty
569 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
570 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
571 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
572 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
573 \newcommand{\labelenumi}{\theenumi}
574 \newcommand{\labelenumii}{\theenumii}
575 \newcommand{\labelenumiii}{\theenumiii}
576 \newcommand{\labelenumiv}{\theenumiv}
577 \renewcommand{\p@enumii}{\theenumi}
578 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
579 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
580 \renewenvironment{enumerate}
581 {\ifnum \@enumdepth >\thr@@\@toodeep\else
582 \advance\@enumdepth\@ne
583 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
584 \list{\csname label\@enumctr\endcsname}{%
586 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
588 \parskip\z@ \itemsep\z@ \parsep\z@
589 \labelwidth1\zw \labelsep.3\zw
590 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
591 \else\leftmargin\leftskip\fi
592 \advance\leftmargin 1\zw
594 \usecounter{\@enumctr}%
595 \def\makelabel##1{\hss\llap{##1}}}%
597 \newcommand{\labelitemi}{\textbullet}
598 \newcommand{\labelitemii}{%
602 {\normalfont\bfseries\textendash}
605 \newcommand{\labelitemiii}{\textasteriskcentered}
606 \newcommand{\labelitemiv}{\textperiodcentered}
607 \renewenvironment{itemize}
608 {\ifnum \@itemdepth >\thr@@\@toodeep\else
609 \advance\@itemdepth\@ne
610 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
612 \list{\csname \@itemitem\endcsname}{%
614 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
616 \parskip\z@ \itemsep\z@ \parsep\z@
617 \labelwidth1\zw \labelsep.3\zw
618 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
619 \else\leftmargin\leftskip\fi
620 \advance\leftmargin 1\zw
622 \def\makelabel##1{\hss\llap{##1}}}%
624 \newenvironment{description}
625 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
627 \leftmargin\leftskip \advance\leftmargin3\Cwd
628 \rightmargin\rightskip
629 \labelsep=1\zw \itemsep\z@
630 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
632 \let\makelabel\descriptionlabel}}{\endlist}
633 \newcommand{\descriptionlabel}[1]{%
634 \hspace\labelsep\normalfont\bfseries #1}
635 \newenvironment{verse}
637 \list{}{\itemsep\z@ \itemindent -1.5em%
638 \listparindent\itemindent
639 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
640 \item\relax}{\endlist}
641 \newenvironment{quotation}
642 {\list{}{\listparindent 1.5em%
643 \itemindent\listparindent
644 \rightmargin\leftmargin
645 \parsep\z@ \@plus\p@}%
646 \item\relax}{\endlist}
647 \newenvironment{quote}
648 {\list{}{\rightmargin\leftmargin}%
649 \item\relax}{\endlist}
650 \newcounter{figure}[chapter]
651 \renewcommand{\thefigure}{%
652 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@figure}}
656 \def\fnum@figure{\figurename\thefigure}
657 \newenvironment{figure}
660 \newenvironment{figure*}
663 \newcounter{table}[chapter]
664 \renewcommand{\thetable}{%
665 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@table}}
669 \def\fnum@table{\tablename\thetable}
670 \newenvironment{table}
673 \newenvironment{table*}
676 \newlength\abovecaptionskip
677 \newlength\belowcaptionskip
678 \setlength\abovecaptionskip{10\p@}
679 \setlength\belowcaptionskip{0\p@}
680 \long\def\@makecaption#1#2{%
681 \vskip\abovecaptionskip
682 \iftdir\sbox\@tempboxa{#1\hskip1\zw#2}%
683 \else\sbox\@tempboxa{#1: #2}%
685 \ifdim \wd\@tempboxa >\hsize
686 \iftdir #1\hskip1\zw#2\relax\par
687 \else #1: #2\relax\par\fi
689 \global \@minipagefalse
690 \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
692 \vskip\belowcaptionskip}
693 \setlength\arraycolsep{5\p@}
694 \setlength\tabcolsep{6\p@}
695 \setlength\arrayrulewidth{.4\p@}
696 \setlength\doublerulesep{2\p@}
697 \setlength\tabbingsep{\labelsep}
698 \skip\@mpfootins = \skip\footins
699 \setlength\fboxsep{3\p@}
700 \setlength\fboxrule{.4\p@}
701 \@addtoreset{equation}{chapter}
702 \renewcommand{\theequation}{%
703 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
704 \if@compatibility\else
705 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
706 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
707 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
709 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
713 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
714 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
717 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
718 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
719 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
720 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
721 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
722 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
723 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
724 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
725 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
726 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
727 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
728 \setcounter{tocdepth}{2}
729 \newcommand{\@pnumwidth}{1.55em}
730 \newcommand{\@tocrmarg}{2.55em}
731 \newcommand{\@dotsep}{4.5}
732 \newdimen\toclineskip
733 \setlength\toclineskip{2\p@}
735 \def\numberline#1{\hbox to\@lnumwidth{#1\hfil}}
736 \def\@dottedtocline#1#2#3#4#5{%
737 \ifnum #1>\c@tocdepth \else
738 \vskip\toclineskip \@plus.2\p@
739 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
740 \parindent #2\relax\@afterindenttrue
744 \advance\leftskip \@lnumwidth \hbox{}\hskip -\leftskip
746 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
748 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
751 \def\addcontentsline#1#2#3{%
752 \protected@write\@auxout
753 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
754 \@temptokena{\rensuji{\thepage}}}%
755 {\string\@writefile{#1}%
756 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
758 \newcommand{\tableofcontents}{%
759 \if@twocolumn\@restonecoltrue\onecolumn
760 \else\@restonecolfalse\fi
761 \chapter*{\contentsname
762 \@mkboth{\contentsname}{\contentsname}%
764 \if@restonecol\twocolumn\fi
766 \newcommand*{\l@part}[2]{%
767 \ifnum \c@tocdepth >-2\relax
768 \addpenalty{-\@highpenalty}%
769 \addvspace{2.25em \@plus\p@}%
771 \parindent\z@\rightskip\@pnumwidth
772 \parfillskip-\@pnumwidth
773 {\leavevmode\large\bfseries
774 \setlength\@lnumwidth{4\zw}%
776 \hbox to\@pnumwidth{\hss#2}}\par
779 \everypar{\global\@nobreakfalse\everypar{}}%
782 \newcommand*{\l@chapter}[2]{%
783 \ifnum \c@tocdepth >\m@ne
784 \addpenalty{-\@highpenalty}%
785 \addvspace{1.0em \@plus\p@}%
787 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
789 \setlength\@lnumwidth{4\zw}%
790 \advance\leftskip\@lnumwidth \hskip-\leftskip
791 #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
792 \penalty\@highpenalty
795 \newcommand*{\l@section}{\@dottedtocline{1}{1\zw}{4\zw}}
796 \newcommand*{\l@subsection} {\@dottedtocline{2}{2\zw}{6\zw}}
797 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3\zw}{8\zw}}
798 \newcommand*{\l@paragraph} {\@dottedtocline{4}{4\zw}{9\zw}}
799 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{5\zw}{10\zw}}
800 \newcommand{\listoffigures}{%
801 \if@twocolumn\@restonecoltrue\onecolumn
802 \else\@restonecolfalse\fi
803 \chapter*{\listfigurename
804 \@mkboth{\listfigurename}{\listfigurename}}%
806 \if@restonecol\twocolumn\fi
808 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
809 \newcommand{\listoftables}{%
810 \if@twocolumn\@restonecoltrue\onecolumn
811 \else\@restonecolfalse\fi
812 \chapter*{\listtablename
813 \@mkboth{\listtablename}{\listtablename}}%
815 \if@restonecol\twocolumn\fi
817 \let\l@table\l@figure
819 \setlength\bibindent{1.5em}
820 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
821 \newenvironment{thebibliography}[1]
822 {\chapter*{\bibname\@mkboth{\bibname}{\bibname}}%
823 \list{\@biblabel{\@arabic\c@enumiv}}%
824 {\settowidth\labelwidth{\@biblabel{#1}}%
825 \leftmargin\labelwidth
826 \advance\leftmargin\labelsep
830 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
833 \@clubpenalty\clubpenalty
837 {\@latex@warning{Empty `thebibliography' environment}}%
839 \let\@openbib@code\@empty
840 \newenvironment{theindex}
841 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
842 \columnseprule\z@ \columnsep 35\p@
843 \twocolumn[\@makeschapterhead{\indexname}]%
844 \@mkboth{\indexname}{\indexname}%
845 \thispagestyle{jpl@in}\parindent\z@
846 \parskip\z@ \@plus .3\p@\relax
848 {\if@restonecol\onecolumn\else\clearpage\fi}
849 \newcommand{\@idxitem}{\par\hangindent 40\p@}
850 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
851 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
852 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
853 \renewcommand{\footnoterule}{%
855 \hrule width .4\columnwidth
857 \@addtoreset{footnote}{chapter}
858 \newcommand\@makefntext[1]{\parindent 1\zw
859 \noindent\hbox to 2\zw{\hss\@makefnmark}#1}
863 \newcount\heisei \heisei\year \advance\heisei-1988\relax
867 \kansuji\number\year 年
868 \kansuji\number\month 月
869 \kansuji\number\day 日
871 平成\ifnum\heisei=1 元年\else\kansuji\number\heisei 年\fi
872 \kansuji\number\month 月
873 \kansuji\number\day 日
881 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
886 \newcommand{\prepartname}{第}
887 \newcommand{\postpartname}{部}
888 \newcommand{\prechaptername}{第}
889 \newcommand{\postchaptername}{章}
890 \newcommand{\contentsname}{目 次}
891 \newcommand{\listfigurename}{図 目 次}
892 \newcommand{\listtablename}{表 目 次}
893 \newcommand{\bibname}{関連図書}
894 \newcommand{\indexname}{索 引}
895 \newcommand{\figurename}{図}
896 \newcommand{\tablename}{表}
897 \newcommand{\appendixname}{付 録}
898 \newcommand{\abstractname}{概 要}
900 \pagenumbering{arabic}
912 %% End of file `ltjtreport.cls'.