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 [2015/01/01 v1.6-ltj-9
43 Standard LuaLaTeX-ja class]
44 \RequirePackage{luatexja}
46 \newif\if@landscape \@landscapefalse
47 \newcommand{\@ptsize}{}
52 \hour\time \divide\hour by 60\relax
53 \@tempcnta\hour \multiply\@tempcnta 60\relax
54 \minute\time \advance\minute-\@tempcnta
55 \newif\if@stysize \@stysizefalse
56 \newif\if@mathrmmc \@mathrmmcfalse
57 \DeclareOption{a4paper}{\setcounter{@paper}{1}%
58 \setlength\paperheight {297mm}%
59 \setlength\paperwidth {210mm}}
60 \DeclareOption{a5paper}{\setcounter{@paper}{2}%
61 \setlength\paperheight {210mm}
62 \setlength\paperwidth {148mm}}
63 \DeclareOption{b4paper}{\setcounter{@paper}{3}%
64 \setlength\paperheight {364mm}
65 \setlength\paperwidth {257mm}}
66 \DeclareOption{b5paper}{\setcounter{@paper}{4}%
67 \setlength\paperheight {257mm}
68 \setlength\paperwidth {182mm}}
69 \DeclareOption{a4j}{\setcounter{@paper}{1}\@stysizetrue
70 \setlength\paperheight {297mm}%
71 \setlength\paperwidth {210mm}}
72 \DeclareOption{a5j}{\setcounter{@paper}{2}\@stysizetrue
73 \setlength\paperheight {210mm}
74 \setlength\paperwidth {148mm}}
75 \DeclareOption{b4j}{\setcounter{@paper}{3}\@stysizetrue
76 \setlength\paperheight {364mm}
77 \setlength\paperwidth {257mm}}
78 \DeclareOption{b5j}{\setcounter{@paper}{4}\@stysizetrue
79 \setlength\paperheight {257mm}
80 \setlength\paperwidth {182mm}}
81 \DeclareOption{a4p}{\setcounter{@paper}{1}\@stysizetrue
82 \setlength\paperheight {297mm}%
83 \setlength\paperwidth {210mm}}
84 \DeclareOption{a5p}{\setcounter{@paper}{2}\@stysizetrue
85 \setlength\paperheight {210mm}
86 \setlength\paperwidth {148mm}}
87 \DeclareOption{b4p}{\setcounter{@paper}{3}\@stysizetrue
88 \setlength\paperheight {364mm}
89 \setlength\paperwidth {257mm}}
90 \DeclareOption{b5p}{\setcounter{@paper}{4}\@stysizetrue
91 \setlength\paperheight {257mm}
92 \setlength\paperwidth {182mm}}
94 \renewcommand{\@ptsize}{0}
96 \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
98 \DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
99 \DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
100 \DeclareOption{landscape}{\@landscapetrue
101 \setlength\@tempdima{\paperheight}%
102 \setlength\paperheight{\paperwidth}%
103 \setlength\paperwidth{\@tempdima}}
104 \DeclareOption{tombow}{%
105 \tombowtrue \tombowdatetrue
106 \setlength{\@tombowwidth}{.1\p@}%
108 \jobname\space:\space\number\year/\number\month/\number\day
109 (\number\hour:\number\minute)}
111 \DeclareOption{tombo}{%
112 \tombowtrue \tombowdatefalse
113 \setlength{\@tombowwidth}{.1\p@}%
115 \DeclareOption{mentuke}{%
116 \tombowtrue \tombowdatefalse
117 \setlength{\@tombowwidth}{\z@}%
119 \DeclareOption{tate}{%
120 \tate\AtBeginDocument{\message{《縦組モード》}\adjustbaseline}%
122 \AtEndOfPackageFile{everyshi}{%
123 \def\@EveryShipout@Output{%
127 \@EveryShipout@AtNextHook
128 \global\setbox\luatexoutputbox=\box\luatexoutputbox
130 \gdef\@EveryShipout@AtNextHook{}%
131 \@EveryShipout@Org@Shipout\box\luatexoutputbox
133 \DeclareOption{oneside}{\@twosidefalse}
134 \DeclareOption{twoside}{\@twosidetrue}
135 \DeclareOption{onecolumn}{\@twocolumnfalse}
136 \DeclareOption{twocolumn}{\@twocolumntrue}
137 \DeclareOption{titlepage}{\@titlepagetrue}
138 \DeclareOption{notitlepage}{\@titlepagefalse}
141 \DeclareOption{openright}{\@openrighttrue}
142 \DeclareOption{openany}{\@openrightfalse}
144 \DeclareOption{leqno}{\input{leqno.clo}}
145 \DeclareOption{fleqn}{\input{fleqn.clo}}
146 \DeclareOption{openbib}{%
148 \renewcommand\@openbib@code{%
149 \advance\leftmargin\bibindent
150 \itemindent -\bibindent
151 \listparindent \itemindent
154 \renewcommand\newblock{\par}}}
158 \DeclareOption{disablejfam}{%
159 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
160 \DeclareOption{mathrmmc}{\@mathrmmctrue}
162 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
163 \DeclareOption{final}{\setlength\overfullrule{0pt}}
164 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
165 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
166 'ltj.jclasses_load_jfm', 1)}
167 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
168 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
169 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
170 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
171 \ltjglobalsetparameter{differentjfm=both}
172 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
173 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany,tate}
174 \ProcessOptions\relax
175 \input{ltjtsize1\@ptsize.clo}
176 \RequirePackage{lltjext}
178 \setlength\columnsep{3\Cwd}
180 \setlength\columnsep{10\p@}
182 \setlength\columnseprule{0\p@}
183 \setlength{\@tempdima}{\paperwidth}
184 \setlength{\@tempdimb}{\paperheight}
186 \advance \@tempdima 2in
187 \advance \@tempdimb 2in
189 \setlength{\pdfpagewidth}{\@tempdima}
190 \setlength{\pdfpageheight}{\@tempdimb}
191 \setlength\lineskip{1\p@}
192 \setlength\normallineskip{1\p@}
193 \renewcommand{\baselinestretch}{}
194 \setlength\parskip{0\p@ \@plus \p@}
195 \setlength\parindent{1\Cwd}
199 \setcounter{topnumber}{2}
200 \setcounter{bottomnumber}{1}
201 \setcounter{totalnumber}{3}
202 \setcounter{dbltopnumber}{2}
203 \renewcommand{\topfraction}{.7}
204 \renewcommand{\bottomfraction}{.3}
205 \renewcommand{\textfraction}{.2}
206 \renewcommand{\floatpagefraction}{.5}
207 \renewcommand{\dbltopfraction}{.7}
208 \renewcommand{\dblfloatpagefraction}{.5}
209 \def\ps@plain{\let\@mkboth\@gobbletwo
210 \let\ps@jpl@in\ps@plain
212 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
213 \let\@evenhead\@empty
214 \let\@evenfoot\@oddfoot}
215 \let\ps@jpl@in\ps@plain
216 \def\ps@headnombre{\let\@mkboth\@gobbletwo
217 \let\ps@jpl@in\ps@headnombre
218 \def\@evenhead{\hfil\thepage}%
219 \def\@oddhead{\thepage\hfil}%
220 \let\@oddfoot\@empty\let\@evenfoot\@empty}
221 \def\ps@footnombre{\let\@mkboth\@gobbletwo
222 \let\ps@jpl@in\ps@footnombre
223 \def\@evenfoot{\hfil\thepage}%
224 \def\@oddfoot{\thepage\hfil}%
225 \let\@oddhead\@empty\let\@evenhead\@empty}
227 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
228 \let\@oddfoot\@empty\let\@evenfoot\@empty
229 \def\@evenhead{{\leftmark}\hfil\thepage}%
230 \def\@oddhead{\thepage\hfil\rightmark}%
231 \let\@mkboth\markboth
232 \def\chaptermark##1{\markboth{%
233 \ifnum \c@secnumdepth >\m@ne
234 \@chapapp\thechapter\@chappos\hskip1\zw
237 \def\sectionmark##1{\markright{%
238 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
241 \else % if not twoside
242 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
244 \def\@oddhead{\thepage\hfil\rightmark}%
245 \let\@mkboth\markboth
246 \def\chaptermark##1{\markright{%
247 \ifnum \c@secnumdepth >\m@ne
248 \@chapapp\thechapter\@chappos\hskip1\zw
254 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
255 \def\@evenhead{\hfil\leftmark}% right page
256 \def\@evenfoot{\hfil\thepage}% right page
257 \def\@oddhead{\rightmark\hfil}% left page
258 \def\@oddfoot{\thepage\hfil}% left page
259 \let\@mkboth\markboth
260 \def\chaptermark##1{\markboth{%
261 \ifnum \c@secnumdepth >\m@ne
262 \@chapapp\thechapter\@chappos\hskip1\zw
265 \def\sectionmark##1{\markright{%
266 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
269 \else % if one column
270 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
271 \def\@oddhead{\rightmark\hfil}%
272 \def\@oddfoot{\thepage\hfil}%
273 \let\@mkboth\markboth
274 \def\chaptermark##1{\markright{%
275 \ifnum \c@secnumdepth >\m@ne
276 \@chapapp\thechapter\@chappos\hskip1\zw
281 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
282 \let\@oddfoot\@empty\let\@evenfoot\@empty
283 \def\@evenhead{{\leftmark}\hfil\thepage}%
284 \def\@oddhead{\thepage\hfil\rightmark}%
285 \let\@mkboth\@gobbletwo
286 \let\chaptermark\@gobble
287 \let\sectionmark\@gobble
290 \newenvironment{titlepage}
292 \if@twocolumn\@restonecoltrue\onecolumn
293 \else\@restonecolfalse\newpage\fi
294 \thispagestyle{empty}%
297 {\if@restonecol\twocolumn\else\newpage\fi
300 \newenvironment{titlepage}
303 \@restonecoltrue\onecolumn
305 \@restonecolfalse\newpage
307 \thispagestyle{empty}%
308 \setcounter{page}\@ne
310 {\if@restonecol\twocolumn \else \newpage \fi
312 \setcounter{page}\@ne
316 \def\p@thanks#1{\footnotemark
317 \protected@xdef\@thanks{\@thanks
318 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
320 \newcommand{\maketitle}{\begin{titlepage}%
321 \let\footnotesize\small
322 \let\footnoterule\relax
325 \vbox to\textheight\bgroup\tate\hsize\textwidth
329 {\LARGE \@title \par}%
333 \begin{tabular}[t]{c}%
337 {\large \@date \par}% % Set date in \large size.
339 \vfil{\centering\@thanks}\vfil\null
342 \setcounter{footnote}{0}%
343 \global\let\thanks\relax
344 \global\let\maketitle\relax
345 \global\let\p@thanks\relax
346 \global\let\@thanks\@empty
347 \global\let\@author\@empty
348 \global\let\@date\@empty
349 \global\let\@title\@empty
350 \global\let\title\relax
351 \global\let\author\relax
352 \global\let\date\relax
353 \global\let\and\relax
356 \newcommand{\maketitle}{\par
358 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
359 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
360 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
361 \long\def\@makefntext##1{\parindent 1\zw\noindent
362 \hbox to 2\zw{\hss\@makefnmark}##1}%
364 \ifnum \col@number=\@ne \@maketitle
365 \else \twocolumn[\@maketitle]%
369 \global\@topnum\z@ % Prevents figures from going at top of page.
372 \thispagestyle{jpl@in}\@thanks
374 \setcounter{footnote}{0}%
375 \global\let\thanks\relax
376 \global\let\maketitle\relax
377 \global\let\p@thanks\relax
378 \global\let\@thanks\@empty
379 \global\let\@author\@empty
380 \global\let\@date\@empty
381 \global\let\@title\@empty
382 \global\let\title\relax
383 \global\let\author\relax
384 \global\let\date\relax
385 \global\let\and\relax
391 \let\footnote\p@thanks
392 {\LARGE \@title \par}%
396 \begin{tabular}[t]{c}%
405 \newenvironment{abstract}{%
408 \@beginparpenalty\@lowpenalty
410 {\bfseries\abstractname}%
413 {\par\vfil\null\endtitlepage}
415 \newenvironment{abstract}{%
417 \section*{\abstractname}%
421 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
424 \fi}{\if@twocolumn\else\endquotation\fi}
426 \newcommand*{\chaptermark}[1]{}
427 \setcounter{secnumdepth}{2}
430 \newcounter{section}[chapter]
431 \newcounter{subsection}[section]
432 \newcounter{subsubsection}[subsection]
433 \newcounter{paragraph}[subsubsection]
434 \newcounter{subparagraph}[paragraph]
435 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
436 \renewcommand{\thechapter}{\rensuji{\@arabic\c@chapter}}
437 \renewcommand{\thesection}{\thechapter・\rensuji{\@arabic\c@section}}
438 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
439 \renewcommand{\thesubsubsection}{%
440 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
441 \renewcommand{\theparagraph}{%
442 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
443 \renewcommand{\thesubparagraph}{%
444 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
445 \newcommand{\@chapapp}{\prechaptername}
446 \newcommand{\@chappos}{\postchaptername}
448 \if@openright \cleardoublepage \else \clearpage \fi
449 \thispagestyle{empty}%
450 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
452 \secdef\@part\@spart}
454 \ifnum \c@secnumdepth >-2\relax
455 \refstepcounter{part}%
456 \addcontentsline{toc}{part}{%
457 \prepartname\thepart\postpartname\hspace{1em}#1}%
459 \addcontentsline{toc}{part}{#1}%
463 \interlinepenalty\@M\reset@font
464 \ifnum \c@secnumdepth >-2\relax
465 \huge\bfseries\prepartname\thepart\postpartname
468 \Huge\bfseries#2\par}%
472 \interlinepenalty\@M\reset@font
473 \Huge\bfseries#1\par}%
475 \def\@endpart{\vfil\newpage
476 \if@twoside\null\thispagestyle{empty}\newpage\fi
477 \if@tempswa\twocolumn\fi}
478 \newcommand{\chapter}{%
479 \if@openright\cleardoublepage\else\clearpage\fi
480 \thispagestyle{jpl@in}%
483 \secdef\@chapter\@schapter}
484 \def\@chapter[#1]#2{%
485 \ifnum \c@secnumdepth >\m@ne
486 \refstepcounter{chapter}%
487 \typeout{\@chapapp\space\thechapter\space\@chappos}%
488 \addcontentsline{toc}{chapter}%
489 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
491 \addcontentsline{toc}{chapter}{#1}%
494 \addtocontents{lof}{\protect\addvspace{10\p@}}%
495 \addtocontents{lot}{\protect\addvspace{10\p@}}%
496 \@makechapterhead{#2}\@afterheading}
497 \def\@makechapterhead#1{\hbox{}%
501 \reset@font\huge\bfseries
503 \ifnum \c@secnumdepth >\m@ne
504 \setlength\@tempdima{\linewidth}%
505 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
506 \addtolength\@tempdima{-\wd\z@}%
508 \vtop{\hsize\@tempdima#1}%
511 \fi}\nobreak\vskip3\Cvs}
513 \@makeschapterhead{#1}\@afterheading
515 \def\@makeschapterhead#1{\hbox{}%
519 \reset@font\huge\bfseries
521 \setlength\@tempdima{\linewidth}%
522 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
523 \newcommand{\section}{\@startsection{section}{1}{\z@}%
524 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
525 {.5\Cvs \@plus.3\Cvs}%
526 {\reset@font\Large\bfseries}}
527 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
528 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
529 {.5\Cvs \@plus.3\Cvs}%
530 {\reset@font\large\bfseries}}
531 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
532 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
533 {.5\Cvs \@plus.3\Cvs}%
534 {\reset@font\normalsize\bfseries}}
535 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
536 {3.25ex \@plus 1ex \@minus .2ex}%
538 {\reset@font\normalsize\bfseries}}
539 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
540 {3.25ex \@plus 1ex \@minus .2ex}%
542 {\reset@font\normalsize\bfseries}}
543 \newcommand{\appendix}{\par
544 \setcounter{chapter}{0}%
545 \setcounter{section}{0}%
546 \renewcommand{\@chapapp}{\appendixname}%
547 \renewcommand{\@chappos}\space%
548 \renewcommand{\thechapter}{\rensuji{\@Alph\c@chapter}}}
550 \setlength\leftmargini {2em}
552 \setlength\leftmargini {2.5em}
554 \setlength\leftmarginii {2.2em}
555 \setlength\leftmarginiii {1.87em}
556 \setlength\leftmarginiv {1.7em}
558 \setlength\leftmarginv {.5em}
559 \setlength\leftmarginvi{.5em}
561 \setlength\leftmarginv {1em}
562 \setlength\leftmarginvi{1em}
564 \setlength \labelsep {.5em}
565 \setlength \labelwidth{\leftmargini}
566 \addtolength\labelwidth{-\labelsep}
567 \@beginparpenalty -\@lowpenalty
568 \@endparpenalty -\@lowpenalty
569 \@itempenalty -\@lowpenalty
570 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
571 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
572 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
573 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
574 \newcommand{\labelenumi}{\theenumi}
575 \newcommand{\labelenumii}{\theenumii}
576 \newcommand{\labelenumiii}{\theenumiii}
577 \newcommand{\labelenumiv}{\theenumiv}
578 \renewcommand{\p@enumii}{\theenumi}
579 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
580 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
581 \renewenvironment{enumerate}
582 {\ifnum \@enumdepth >\thr@@\@toodeep\else
583 \advance\@enumdepth\@ne
584 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
585 \list{\csname label\@enumctr\endcsname}{%
586 \ifnum\ltjgetparameter{direction}=3
587 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
589 \parskip\z@ \itemsep\z@ \parsep\z@
590 \labelwidth1\zw \labelsep.3\zw
591 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
592 \else\leftmargin\leftskip\fi
593 \advance\leftmargin 1\zw
595 \usecounter{\@enumctr}%
596 \def\makelabel##1{\hss\llap{##1}}}%
598 \newcommand{\labelitemi}{\textbullet}
599 \newcommand{\labelitemii}{%
600 \ifnum\ltjgetparameter{direction}=3
603 {\normalfont\bfseries\textendash}
606 \newcommand{\labelitemiii}{\textasteriskcentered}
607 \newcommand{\labelitemiv}{\textperiodcentered}
608 \renewenvironment{itemize}
609 {\ifnum \@itemdepth >\thr@@\@toodeep\else
610 \advance\@itemdepth\@ne
611 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
613 \list{\csname \@itemitem\endcsname}{%
614 \ifnum\ltjgetparameter{direction}=3
615 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
617 \parskip\z@ \itemsep\z@ \parsep\z@
618 \labelwidth1\zw \labelsep.3\zw
619 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
620 \else\leftmargin\leftskip\fi
621 \advance\leftmargin 1\zw
623 \def\makelabel##1{\hss\llap{##1}}}%
625 \newenvironment{description}
626 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
627 \ifnum\ltjgetparameter{direction}=3
628 \leftmargin\leftskip \advance\leftmargin3\Cwd
629 \rightmargin\rightskip
630 \labelsep=1\zw \itemsep\z@
631 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
633 \let\makelabel\descriptionlabel}}{\endlist}
634 \newcommand{\descriptionlabel}[1]{%
635 \hspace\labelsep\normalfont\bfseries #1}
636 \newenvironment{verse}
638 \list{}{\itemsep\z@ \itemindent -1.5em%
639 \listparindent\itemindent
640 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
641 \item\relax}{\endlist}
642 \newenvironment{quotation}
643 {\list{}{\listparindent 1.5em%
644 \itemindent\listparindent
645 \rightmargin\leftmargin
646 \parsep\z@ \@plus\p@}%
647 \item\relax}{\endlist}
648 \newenvironment{quote}
649 {\list{}{\rightmargin\leftmargin}%
650 \item\relax}{\endlist}
651 \newcounter{figure}[chapter]
652 \renewcommand{\thefigure}{%
653 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@figure}}
657 \def\fnum@figure{\figurename\thefigure}
658 \newenvironment{figure}
661 \newenvironment{figure*}
664 \newcounter{table}[chapter]
665 \renewcommand{\thetable}{%
666 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@table}}
670 \def\fnum@table{\tablename\thetable}
671 \newenvironment{table}
674 \newenvironment{table*}
677 \newlength\abovecaptionskip
678 \newlength\belowcaptionskip
679 \setlength\abovecaptionskip{10\p@}
680 \setlength\belowcaptionskip{0\p@}
681 \long\def\@makecaption#1#2{%
682 \vskip\abovecaptionskip
683 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
684 \else\sbox\@tempboxa{#1: #2}%
686 \ifdim \wd\@tempboxa >\hsize
687 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
688 \else #1: #2\relax\par\fi
690 \global \@minipagefalse
691 \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
693 \vskip\belowcaptionskip}
694 \setlength\arraycolsep{5\p@}
695 \setlength\tabcolsep{6\p@}
696 \setlength\arrayrulewidth{.4\p@}
697 \setlength\doublerulesep{2\p@}
698 \setlength\tabbingsep{\labelsep}
699 \skip\@mpfootins = \skip\footins
700 \setlength\fboxsep{3\p@}
701 \setlength\fboxrule{.4\p@}
702 \@addtoreset{equation}{chapter}
703 \renewcommand{\theequation}{%
704 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
705 \if@compatibility\else
706 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
707 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
708 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
710 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
714 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
715 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
718 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
719 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
720 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
721 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
722 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
723 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
724 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
725 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
726 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
727 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
728 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
729 \setcounter{tocdepth}{2}
730 \newcommand{\@pnumwidth}{1.55em}
731 \newcommand{\@tocrmarg}{2.55em}
732 \newcommand{\@dotsep}{4.5}
733 \newdimen\toclineskip
734 \setlength\toclineskip{2\p@}
736 \def\numberline#1{\hbox to\@lnumwidth{#1\hfil}}
737 \def\@dottedtocline#1#2#3#4#5{%
738 \ifnum #1>\c@tocdepth \else
739 \vskip\toclineskip \@plus.2\p@
740 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
741 \parindent #2\relax\@afterindenttrue
745 \advance\leftskip \@lnumwidth \hbox{}\hskip -\leftskip
747 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
749 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
752 \def\addcontentsline#1#2#3{%
753 \protected@write\@auxout
754 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
755 \@temptokena{\rensuji{\thepage}}}%
756 {\string\@writefile{#1}%
757 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
759 \newcommand{\tableofcontents}{%
760 \if@twocolumn\@restonecoltrue\onecolumn
761 \else\@restonecolfalse\fi
762 \chapter*{\contentsname
763 \@mkboth{\contentsname}{\contentsname}%
765 \if@restonecol\twocolumn\fi
767 \newcommand*{\l@part}[2]{%
768 \ifnum \c@tocdepth >-2\relax
769 \addpenalty{-\@highpenalty}%
770 \addvspace{2.25em \@plus\p@}%
772 \parindent\z@\rightskip\@pnumwidth
773 \parfillskip-\@pnumwidth
774 {\leavevmode\large\bfseries
775 \setlength\@lnumwidth{4\zw}%
777 \hbox to\@pnumwidth{\hss#2}}\par
780 \everypar{\global\@nobreakfalse\everypar{}}%
783 \newcommand*{\l@chapter}[2]{%
784 \ifnum \c@tocdepth >\m@ne
785 \addpenalty{-\@highpenalty}%
786 \addvspace{1.0em \@plus\p@}%
788 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
790 \setlength\@lnumwidth{4\zw}%
791 \advance\leftskip\@lnumwidth \hskip-\leftskip
792 #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
793 \penalty\@highpenalty
796 \newcommand*{\l@section}{\@dottedtocline{1}{1\zw}{4\zw}}
797 \newcommand*{\l@subsection} {\@dottedtocline{2}{2\zw}{6\zw}}
798 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3\zw}{8\zw}}
799 \newcommand*{\l@paragraph} {\@dottedtocline{4}{4\zw}{9\zw}}
800 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{5\zw}{10\zw}}
801 \newcommand{\listoffigures}{%
802 \if@twocolumn\@restonecoltrue\onecolumn
803 \else\@restonecolfalse\fi
804 \chapter*{\listfigurename
805 \@mkboth{\listfigurename}{\listfigurename}}%
807 \if@restonecol\twocolumn\fi
809 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
810 \newcommand{\listoftables}{%
811 \if@twocolumn\@restonecoltrue\onecolumn
812 \else\@restonecolfalse\fi
813 \chapter*{\listtablename
814 \@mkboth{\listtablename}{\listtablename}}%
816 \if@restonecol\twocolumn\fi
818 \let\l@table\l@figure
820 \setlength\bibindent{1.5em}
821 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
822 \newenvironment{thebibliography}[1]
823 {\chapter*{\bibname\@mkboth{\bibname}{\bibname}}%
824 \list{\@biblabel{\@arabic\c@enumiv}}%
825 {\settowidth\labelwidth{\@biblabel{#1}}%
826 \leftmargin\labelwidth
827 \advance\leftmargin\labelsep
831 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
834 \@clubpenalty\clubpenalty
838 {\@latex@warning{Empty `thebibliography' environment}}%
840 \let\@openbib@code\@empty
841 \newenvironment{theindex}
842 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
843 \columnseprule\z@ \columnsep 35\p@
844 \twocolumn[\@makeschapterhead{\indexname}]%
845 \@mkboth{\indexname}{\indexname}%
846 \thispagestyle{jpl@in}\parindent\z@
847 \parskip\z@ \@plus .3\p@\relax
849 {\if@restonecol\onecolumn\else\clearpage\fi}
850 \newcommand{\@idxitem}{\par\hangindent 40\p@}
851 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
852 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
853 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
854 \renewcommand{\footnoterule}{%
856 \hrule width .4\columnwidth
858 \@addtoreset{footnote}{chapter}
859 \newcommand\@makefntext[1]{\parindent 1\zw
860 \noindent\hbox to 2\zw{\hss\@makefnmark}#1}
864 \newcount\heisei \heisei\year \advance\heisei-1988\relax
866 \ifnum\ltjgetparameter{direction}=3
872 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
882 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
887 \newcommand{\prepartname}{第}
888 \newcommand{\postpartname}{部}
889 \newcommand{\prechaptername}{第}
890 \newcommand{\postchaptername}{章}
891 \newcommand{\contentsname}{目 次}
892 \newcommand{\listfigurename}{図 目 次}
893 \newcommand{\listtablename}{表 目 次}
894 \newcommand{\bibname}{関連図書}
895 \newcommand{\indexname}{索 引}
896 \newcommand{\figurename}{図}
897 \newcommand{\tablename}{表}
898 \newcommand{\appendixname}{付 録}
899 \newcommand{\abstractname}{概 要}
901 \pagenumbering{arabic}
913 %% End of file `ltjtreport.cls'.