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/07/28 v1.6-ltj-6
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 \tate\AtBeginDocument{\message{《縦組モード》}\adjustbaseline}%
131 \DeclareOption{oneside}{\@twosidefalse}
132 \DeclareOption{twoside}{\@twosidetrue}
133 \DeclareOption{onecolumn}{\@twocolumnfalse}
134 \DeclareOption{twocolumn}{\@twocolumntrue}
135 \DeclareOption{titlepage}{\@titlepagetrue}
136 \DeclareOption{notitlepage}{\@titlepagefalse}
139 \DeclareOption{openright}{\@openrighttrue}
140 \DeclareOption{openany}{\@openrightfalse}
142 \DeclareOption{leqno}{\input{leqno.clo}}
143 \DeclareOption{fleqn}{\input{fleqn.clo}}
144 \DeclareOption{openbib}{%
146 \renewcommand\@openbib@code{%
147 \advance\leftmargin\bibindent
148 \itemindent -\bibindent
149 \listparindent \itemindent
152 \renewcommand\newblock{\par}}}
156 \DeclareOption{disablejfam}{%
157 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
158 \DeclareOption{mathrmmc}{\@mathrmmctrue}
160 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
161 \DeclareOption{final}{\setlength\overfullrule{0pt}}
162 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany,tate}
163 \ProcessOptions\relax
164 \input{ltjtsize1\@ptsize.clo}
165 \RequirePackage{lltjext}
166 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
167 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
168 'ltj.jclasses_load_jfm', 1)}
169 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
170 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
171 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
172 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
173 \ltjglobalsetparameter{differentjfm=both}
174 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
176 \setlength\columnsep{3\Cwd}
178 \setlength\columnsep{10\p@}
180 \setlength\columnseprule{0\p@}
181 \setlength{\@tempdima}{\paperwidth}
182 \setlength{\@tempdimb}{\paperheight}
184 \advance \@tempdima 2in
185 \advance \@tempdimb 2in
187 \setlength{\pdfpagewidth}{\@tempdima}
188 \setlength{\pdfpageheight}{\@tempdimb}
189 \setlength\lineskip{1\p@}
190 \setlength\normallineskip{1\p@}
191 \renewcommand{\baselinestretch}{}
192 \setlength\parskip{0\p@ \@plus \p@}
193 \setlength\parindent{1\Cwd}
197 \setcounter{topnumber}{2}
198 \setcounter{bottomnumber}{1}
199 \setcounter{totalnumber}{3}
200 \setcounter{dbltopnumber}{2}
201 \renewcommand{\topfraction}{.7}
202 \renewcommand{\bottomfraction}{.3}
203 \renewcommand{\textfraction}{.2}
204 \renewcommand{\floatpagefraction}{.5}
205 \renewcommand{\dbltopfraction}{.7}
206 \renewcommand{\dblfloatpagefraction}{.5}
207 \def\ps@plain{\let\@mkboth\@gobbletwo
208 \let\ps@jpl@in\ps@plain
210 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
211 \let\@evenhead\@empty
212 \let\@evenfoot\@oddfoot}
213 \let\ps@jpl@in\ps@plain
214 \def\ps@headnombre{\let\@mkboth\@gobbletwo
215 \let\ps@jpl@in\ps@headnombre
216 \def\@evenhead{\hfil\thepage}%
217 \def\@oddhead{\thepage\hfil}%
218 \let\@oddfoot\@empty\let\@evenfoot\@empty}
219 \def\ps@footnombre{\let\@mkboth\@gobbletwo
220 \let\ps@jpl@in\ps@footnombre
221 \def\@evenfoot{\hfil\thepage}%
222 \def\@oddfoot{\thepage\hfil}%
223 \let\@oddhead\@empty\let\@evenhead\@empty}
225 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
226 \let\@oddfoot\@empty\let\@evenfoot\@empty
227 \def\@evenhead{{\leftmark}\hfil\thepage}%
228 \def\@oddhead{\thepage\hfil\rightmark}%
229 \let\@mkboth\markboth
230 \def\chaptermark##1{\markboth{%
231 \ifnum \c@secnumdepth >\m@ne
232 \@chapapp\thechapter\@chappos\hskip1\zw
235 \def\sectionmark##1{\markright{%
236 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
239 \else % if not twoside
240 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
242 \def\@oddhead{\thepage\hfil\rightmark}%
243 \let\@mkboth\markboth
244 \def\chaptermark##1{\markright{%
245 \ifnum \c@secnumdepth >\m@ne
246 \@chapapp\thechapter\@chappos\hskip1\zw
252 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
253 \def\@evenhead{\hfil\leftmark}% right page
254 \def\@evenfoot{\hfil\thepage}% right page
255 \def\@oddhead{\rightmark\hfil}% left page
256 \def\@oddfoot{\thepage\hfil}% left page
257 \let\@mkboth\markboth
258 \def\chaptermark##1{\markboth{%
259 \ifnum \c@secnumdepth >\m@ne
260 \@chapapp\thechapter\@chappos\hskip1\zw
263 \def\sectionmark##1{\markright{%
264 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
267 \else % if one column
268 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
269 \def\@oddhead{\rightmark\hfil}%
270 \def\@oddfoot{\thepage\hfil}%
271 \let\@mkboth\markboth
272 \def\chaptermark##1{\markright{%
273 \ifnum \c@secnumdepth >\m@ne
274 \@chapapp\thechapter\@chappos\hskip1\zw
279 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
280 \let\@oddfoot\@empty\let\@evenfoot\@empty
281 \def\@evenhead{{\leftmark}\hfil\thepage}%
282 \def\@oddhead{\thepage\hfil\rightmark}%
283 \let\@mkboth\@gobbletwo
284 \let\chaptermark\@gobble
285 \let\sectionmark\@gobble
288 \newenvironment{titlepage}
290 \if@twocolumn\@restonecoltrue\onecolumn
291 \else\@restonecolfalse\newpage\fi
292 \thispagestyle{empty}%
295 {\if@restonecol\twocolumn\else\newpage\fi
298 \newenvironment{titlepage}
301 \@restonecoltrue\onecolumn
303 \@restonecolfalse\newpage
305 \thispagestyle{empty}%
306 \setcounter{page}\@ne
308 {\if@restonecol\twocolumn \else \newpage \fi
310 \setcounter{page}\@ne
314 \def\p@thanks#1{\footnotemark
315 \protected@xdef\@thanks{\@thanks
316 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
318 \newcommand{\maketitle}{\begin{titlepage}%
319 \let\footnotesize\small
320 \let\footnoterule\relax
323 \vbox to\textheight\bgroup\tate\hsize\textwidth
327 {\LARGE \@title \par}%
331 \begin{tabular}[t]{c}%
335 {\large \@date \par}% % Set date in \large size.
337 \vfil{\centering\@thanks}\vfil\null
340 \setcounter{footnote}{0}%
341 \global\let\thanks\relax
342 \global\let\maketitle\relax
343 \global\let\p@thanks\relax
344 \global\let\@thanks\@empty
345 \global\let\@author\@empty
346 \global\let\@date\@empty
347 \global\let\@title\@empty
348 \global\let\title\relax
349 \global\let\author\relax
350 \global\let\date\relax
351 \global\let\and\relax
354 \newcommand{\maketitle}{\par
356 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
357 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
358 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
359 \long\def\@makefntext##1{\parindent 1\zw\noindent
360 \hbox to 2\zw{\hss\@makefnmark}##1}%
362 \ifnum \col@number=\@ne \@maketitle
363 \else \twocolumn[\@maketitle]%
367 \global\@topnum\z@ % Prevents figures from going at top of page.
370 \thispagestyle{jpl@in}\@thanks
372 \setcounter{footnote}{0}%
373 \global\let\thanks\relax
374 \global\let\maketitle\relax
375 \global\let\p@thanks\relax
376 \global\let\@thanks\@empty
377 \global\let\@author\@empty
378 \global\let\@date\@empty
379 \global\let\@title\@empty
380 \global\let\title\relax
381 \global\let\author\relax
382 \global\let\date\relax
383 \global\let\and\relax
389 \let\footnote\p@thanks
390 {\LARGE \@title \par}%
394 \begin{tabular}[t]{c}%
403 \newenvironment{abstract}{%
406 \@beginparpenalty\@lowpenalty
408 {\bfseries\abstractname}%
411 {\par\vfil\null\endtitlepage}
413 \newenvironment{abstract}{%
415 \section*{\abstractname}%
419 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
422 \fi}{\if@twocolumn\else\endquotation\fi}
424 \newcommand*{\chaptermark}[1]{}
425 \setcounter{secnumdepth}{2}
428 \newcounter{section}[chapter]
429 \newcounter{subsection}[section]
430 \newcounter{subsubsection}[subsection]
431 \newcounter{paragraph}[subsubsection]
432 \newcounter{subparagraph}[paragraph]
433 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
434 \renewcommand{\thechapter}{\rensuji{\@arabic\c@chapter}}
435 \renewcommand{\thesection}{\thechapter・\rensuji{\@arabic\c@section}}
436 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
437 \renewcommand{\thesubsubsection}{%
438 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
439 \renewcommand{\theparagraph}{%
440 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
441 \renewcommand{\thesubparagraph}{%
442 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
443 \newcommand{\@chapapp}{\prechaptername}
444 \newcommand{\@chappos}{\postchaptername}
446 \if@openright \cleardoublepage \else \clearpage \fi
447 \thispagestyle{empty}%
448 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
450 \secdef\@part\@spart}
452 \ifnum \c@secnumdepth >-2\relax
453 \refstepcounter{part}%
454 \addcontentsline{toc}{part}{%
455 \prepartname\thepart\postpartname\hspace{1em}#1}%
457 \addcontentsline{toc}{part}{#1}%
461 \interlinepenalty\@M\reset@font
462 \ifnum \c@secnumdepth >-2\relax
463 \huge\bfseries\prepartname\thepart\postpartname
466 \Huge\bfseries#2\par}%
470 \interlinepenalty\@M\reset@font
471 \Huge\bfseries#1\par}%
473 \def\@endpart{\vfil\newpage
474 \if@twoside\null\thispagestyle{empty}\newpage\fi
475 \if@tempswa\twocolumn\fi}
476 \newcommand{\chapter}{%
477 \if@openright\cleardoublepage\else\clearpage\fi
478 \thispagestyle{jpl@in}%
481 \secdef\@chapter\@schapter}
482 \def\@chapter[#1]#2{%
483 \ifnum \c@secnumdepth >\m@ne
484 \refstepcounter{chapter}%
485 \typeout{\@chapapp\space\thechapter\space\@chappos}%
486 \addcontentsline{toc}{chapter}%
487 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
489 \addcontentsline{toc}{chapter}{#1}%
492 \addtocontents{lof}{\protect\addvspace{10\p@}}%
493 \addtocontents{lot}{\protect\addvspace{10\p@}}%
494 \@makechapterhead{#2}\@afterheading}
495 \def\@makechapterhead#1{\hbox{}%
499 \reset@font\huge\bfseries
501 \ifnum \c@secnumdepth >\m@ne
502 \setlength\@tempdima{\linewidth}%
503 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
504 \addtolength\@tempdima{-\wd\z@}%
506 \vtop{\hsize\@tempdima#1}%
509 \fi}\nobreak\vskip3\Cvs}
511 \@makeschapterhead{#1}\@afterheading
513 \def\@makeschapterhead#1{\hbox{}%
517 \reset@font\huge\bfseries
519 \setlength\@tempdima{\linewidth}%
520 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
521 \newcommand{\section}{\@startsection{section}{1}{\z@}%
522 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
523 {.5\Cvs \@plus.3\Cvs}%
524 {\reset@font\Large\bfseries}}
525 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
526 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
527 {.5\Cvs \@plus.3\Cvs}%
528 {\reset@font\large\bfseries}}
529 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
530 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
531 {.5\Cvs \@plus.3\Cvs}%
532 {\reset@font\normalsize\bfseries}}
533 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
534 {3.25ex \@plus 1ex \@minus .2ex}%
536 {\reset@font\normalsize\bfseries}}
537 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
538 {3.25ex \@plus 1ex \@minus .2ex}%
540 {\reset@font\normalsize\bfseries}}
541 \newcommand{\appendix}{\par
542 \setcounter{chapter}{0}%
543 \setcounter{section}{0}%
544 \renewcommand{\@chapapp}{\appendixname}%
545 \renewcommand{\@chappos}\space%
546 \renewcommand{\thechapter}{\rensuji{\@Alph\c@chapter}}}
548 \setlength\leftmargini {2em}
550 \setlength\leftmargini {2.5em}
552 \setlength\leftmarginii {2.2em}
553 \setlength\leftmarginiii {1.87em}
554 \setlength\leftmarginiv {1.7em}
556 \setlength\leftmarginv {.5em}
557 \setlength\leftmarginvi{.5em}
559 \setlength\leftmarginv {1em}
560 \setlength\leftmarginvi{1em}
562 \setlength \labelsep {.5em}
563 \setlength \labelwidth{\leftmargini}
564 \addtolength\labelwidth{-\labelsep}
565 \@beginparpenalty -\@lowpenalty
566 \@endparpenalty -\@lowpenalty
567 \@itempenalty -\@lowpenalty
568 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
569 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
570 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
571 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
572 \newcommand{\labelenumi}{\theenumi}
573 \newcommand{\labelenumii}{\theenumii}
574 \newcommand{\labelenumiii}{\theenumiii}
575 \newcommand{\labelenumiv}{\theenumiv}
576 \renewcommand{\p@enumii}{\theenumi}
577 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
578 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
579 \renewenvironment{enumerate}
580 {\ifnum \@enumdepth >\thr@@\@toodeep\else
581 \advance\@enumdepth\@ne
582 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
583 \list{\csname label\@enumctr\endcsname}{%
584 \ifnum\ltjgetparameter{direction}=3
585 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
587 \parskip\z@ \itemsep\z@ \parsep\z@
588 \labelwidth1\zw \labelsep.3\zw
589 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
590 \else\leftmargin\leftskip\fi
591 \advance\leftmargin 1\zw
593 \usecounter{\@enumctr}%
594 \def\makelabel##1{\hss\llap{##1}}}%
596 \newcommand{\labelitemi}{\textbullet}
597 \newcommand{\labelitemii}{%
598 \ifnum\ltjgetparameter{direction}=3
601 {\normalfont\bfseries\textendash}
604 \newcommand{\labelitemiii}{\textasteriskcentered}
605 \newcommand{\labelitemiv}{\textperiodcentered}
606 \renewenvironment{itemize}
607 {\ifnum \@itemdepth >\thr@@\@toodeep\else
608 \advance\@itemdepth\@ne
609 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
611 \list{\csname \@itemitem\endcsname}{%
612 \ifnum\ltjgetparameter{direction}=3
613 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
615 \parskip\z@ \itemsep\z@ \parsep\z@
616 \labelwidth1\zw \labelsep.3\zw
617 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
618 \else\leftmargin\leftskip\fi
619 \advance\leftmargin 1\zw
621 \def\makelabel##1{\hss\llap{##1}}}%
623 \newenvironment{description}
624 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
625 \ifnum\ltjgetparameter{direction}=3
626 \leftmargin\leftskip \advance\leftmargin3\Cwd
627 \rightmargin\rightskip
628 \labelsep=1\zw \itemsep\z@
629 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
631 \let\makelabel\descriptionlabel}}{\endlist}
632 \newcommand{\descriptionlabel}[1]{%
633 \hspace\labelsep\normalfont\bfseries #1}
634 \newenvironment{verse}
636 \list{}{\itemsep\z@ \itemindent -1.5em%
637 \listparindent\itemindent
638 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
639 \item\relax}{\endlist}
640 \newenvironment{quotation}
641 {\list{}{\listparindent 1.5em%
642 \itemindent\listparindent
643 \rightmargin\leftmargin
644 \parsep\z@ \@plus\p@}%
645 \item\relax}{\endlist}
646 \newenvironment{quote}
647 {\list{}{\rightmargin\leftmargin}%
648 \item\relax}{\endlist}
649 \newcounter{figure}[chapter]
650 \renewcommand{\thefigure}{%
651 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@figure}}
655 \def\fnum@figure{\figurename\thefigure}
656 \newenvironment{figure}
659 \newenvironment{figure*}
662 \newcounter{table}[chapter]
663 \renewcommand{\thetable}{%
664 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@table}}
668 \def\fnum@table{\tablename\thetable}
669 \newenvironment{table}
672 \newenvironment{table*}
675 \newlength\abovecaptionskip
676 \newlength\belowcaptionskip
677 \setlength\abovecaptionskip{10\p@}
678 \setlength\belowcaptionskip{0\p@}
679 \long\def\@makecaption#1#2{%
680 \vskip\abovecaptionskip
681 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
682 \else\sbox\@tempboxa{#1: #2}%
684 \ifdim \wd\@tempboxa >\hsize
685 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
686 \else #1: #2\relax\par\fi
688 \global \@minipagefalse
689 \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
691 \vskip\belowcaptionskip}
692 \setlength\arraycolsep{5\p@}
693 \setlength\tabcolsep{6\p@}
694 \setlength\arrayrulewidth{.4\p@}
695 \setlength\doublerulesep{2\p@}
696 \setlength\tabbingsep{\labelsep}
697 \skip\@mpfootins = \skip\footins
698 \setlength\fboxsep{3\p@}
699 \setlength\fboxrule{.4\p@}
700 \@addtoreset{equation}{chapter}
701 \renewcommand{\theequation}{%
702 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
703 \if@compatibility\else
704 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
705 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
706 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
708 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
712 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
713 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
716 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
717 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
718 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
719 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
720 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
721 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
722 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
723 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
724 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
725 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
726 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
727 \setcounter{tocdepth}{2}
728 \newcommand{\@pnumwidth}{1.55em}
729 \newcommand{\@tocrmarg}{2.55em}
730 \newcommand{\@dotsep}{4.5}
731 \newdimen\toclineskip
732 \setlength\toclineskip{2\p@}
734 \def\numberline#1{\hbox to\@lnumwidth{#1\hfil}}
735 \def\@dottedtocline#1#2#3#4#5{%
736 \ifnum #1>\c@tocdepth \else
737 \vskip\toclineskip \@plus.2\p@
738 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
739 \parindent #2\relax\@afterindenttrue
743 \advance\leftskip \@lnumwidth \hbox{}\hskip -\leftskip
745 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
747 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
750 \def\addcontentsline#1#2#3{%
751 \protected@write\@auxout
752 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
753 \@temptokena{\rensuji{\thepage}}}%
754 {\string\@writefile{#1}%
755 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
757 \newcommand{\tableofcontents}{%
758 \if@twocolumn\@restonecoltrue\onecolumn
759 \else\@restonecolfalse\fi
760 \chapter*{\contentsname
761 \@mkboth{\contentsname}{\contentsname}%
763 \if@restonecol\twocolumn\fi
765 \newcommand*{\l@part}[2]{%
766 \ifnum \c@tocdepth >-2\relax
767 \addpenalty{-\@highpenalty}%
768 \addvspace{2.25em \@plus\p@}%
770 \parindent\z@\rightskip\@pnumwidth
771 \parfillskip-\@pnumwidth
772 {\leavevmode\large\bfseries
773 \setlength\@lnumwidth{4\zw}%
775 \hbox to\@pnumwidth{\hss#2}}\par
778 \everypar{\global\@nobreakfalse\everypar{}}%
781 \newcommand*{\l@chapter}[2]{%
782 \ifnum \c@tocdepth >\m@ne
783 \addpenalty{-\@highpenalty}%
784 \addvspace{1.0em \@plus\p@}%
786 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
788 \setlength\@lnumwidth{4\zw}%
789 \advance\leftskip\@lnumwidth \hskip-\leftskip
790 #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
791 \penalty\@highpenalty
794 \newcommand*{\l@section}{\@dottedtocline{1}{1\zw}{4\zw}}
795 \newcommand*{\l@subsection} {\@dottedtocline{2}{2\zw}{6\zw}}
796 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3\zw}{8\zw}}
797 \newcommand*{\l@paragraph} {\@dottedtocline{4}{4\zw}{9\zw}}
798 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{5\zw}{10\zw}}
799 \newcommand{\listoffigures}{%
800 \if@twocolumn\@restonecoltrue\onecolumn
801 \else\@restonecolfalse\fi
802 \chapter*{\listfigurename
803 \@mkboth{\listfigurename}{\listfigurename}}%
805 \if@restonecol\twocolumn\fi
807 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
808 \newcommand{\listoftables}{%
809 \if@twocolumn\@restonecoltrue\onecolumn
810 \else\@restonecolfalse\fi
811 \chapter*{\listtablename
812 \@mkboth{\listtablename}{\listtablename}}%
814 \if@restonecol\twocolumn\fi
816 \let\l@table\l@figure
818 \setlength\bibindent{1.5em}
819 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
820 \newenvironment{thebibliography}[1]
821 {\chapter*{\bibname\@mkboth{\bibname}{\bibname}}%
822 \list{\@biblabel{\@arabic\c@enumiv}}%
823 {\settowidth\labelwidth{\@biblabel{#1}}%
824 \leftmargin\labelwidth
825 \advance\leftmargin\labelsep
829 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
832 \@clubpenalty\clubpenalty
836 {\@latex@warning{Empty `thebibliography' environment}}%
838 \let\@openbib@code\@empty
839 \newenvironment{theindex}
840 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
841 \columnseprule\z@ \columnsep 35\p@
842 \twocolumn[\@makeschapterhead{\indexname}]%
843 \@mkboth{\indexname}{\indexname}%
844 \thispagestyle{jpl@in}\parindent\z@
845 \parskip\z@ \@plus .3\p@\relax
847 {\if@restonecol\onecolumn\else\clearpage\fi}
848 \newcommand{\@idxitem}{\par\hangindent 40\p@}
849 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
850 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
851 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
852 \renewcommand{\footnoterule}{%
854 \hrule width .4\columnwidth
856 \@addtoreset{footnote}{chapter}
857 \newcommand\@makefntext[1]{\parindent 1\zw
858 \noindent\hbox to 2\zw{\hss\@makefnmark}#1}
862 \newcount\heisei \heisei\year \advance\heisei-1988\relax
864 \ifnum\ltjgetparameter{direction}=3
866 \kansuji\number\year 年
867 \kansuji\number\month 月
868 \kansuji\number\day 日
870 平成\ifnum\heisei=1 元年\else\kansuji\number\heisei 年\fi
871 \kansuji\number\month 月
872 \kansuji\number\day 日
880 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
885 \newcommand{\prepartname}{第}
886 \newcommand{\postpartname}{部}
887 \newcommand{\prechaptername}{第}
888 \newcommand{\postchaptername}{章}
889 \newcommand{\contentsname}{目 次}
890 \newcommand{\listfigurename}{図 目 次}
891 \newcommand{\listtablename}{表 目 次}
892 \newcommand{\bibname}{関連図書}
893 \newcommand{\indexname}{索 引}
894 \newcommand{\figurename}{図}
895 \newcommand{\tablename}{表}
896 \newcommand{\appendixname}{付 録}
897 \newcommand{\abstractname}{概 要}
899 \pagenumbering{arabic}
911 %% End of file `ltjtreport.cls'.