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/10/18 v1.6-ltj-10
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 \ifdefined\pdfpagewidth
190 \setlength{\pdfpagewidth}{\@tempdima}
191 \setlength{\pdfpageheight}{\@tempdimb}
193 \setlength{\pagewidth}{\@tempdima}
194 \setlength{\pageheight}{\@tempdimb}
196 \setlength\lineskip{1\p@}
197 \setlength\normallineskip{1\p@}
198 \renewcommand{\baselinestretch}{}
199 \setlength\parskip{0\p@ \@plus \p@}
200 \setlength\parindent{1\Cwd}
204 \setcounter{topnumber}{2}
205 \setcounter{bottomnumber}{1}
206 \setcounter{totalnumber}{3}
207 \setcounter{dbltopnumber}{2}
208 \renewcommand{\topfraction}{.7}
209 \renewcommand{\bottomfraction}{.3}
210 \renewcommand{\textfraction}{.2}
211 \renewcommand{\floatpagefraction}{.5}
212 \renewcommand{\dbltopfraction}{.7}
213 \renewcommand{\dblfloatpagefraction}{.5}
214 \def\ps@plain{\let\@mkboth\@gobbletwo
215 \let\ps@jpl@in\ps@plain
217 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
218 \let\@evenhead\@empty
219 \let\@evenfoot\@oddfoot}
220 \let\ps@jpl@in\ps@plain
221 \def\ps@headnombre{\let\@mkboth\@gobbletwo
222 \let\ps@jpl@in\ps@headnombre
223 \def\@evenhead{\hfil\thepage}%
224 \def\@oddhead{\thepage\hfil}%
225 \let\@oddfoot\@empty\let\@evenfoot\@empty}
226 \def\ps@footnombre{\let\@mkboth\@gobbletwo
227 \let\ps@jpl@in\ps@footnombre
228 \def\@evenfoot{\hfil\thepage}%
229 \def\@oddfoot{\thepage\hfil}%
230 \let\@oddhead\@empty\let\@evenhead\@empty}
232 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
233 \let\@oddfoot\@empty\let\@evenfoot\@empty
234 \def\@evenhead{{\leftmark}\hfil\thepage}%
235 \def\@oddhead{\thepage\hfil\rightmark}%
236 \let\@mkboth\markboth
237 \def\chaptermark##1{\markboth{%
238 \ifnum \c@secnumdepth >\m@ne
239 \@chapapp\thechapter\@chappos\hskip1\zw
242 \def\sectionmark##1{\markright{%
243 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
246 \else % if not twoside
247 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
249 \def\@oddhead{\thepage\hfil\rightmark}%
250 \let\@mkboth\markboth
251 \def\chaptermark##1{\markright{%
252 \ifnum \c@secnumdepth >\m@ne
253 \@chapapp\thechapter\@chappos\hskip1\zw
259 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
260 \def\@evenhead{\hfil\leftmark}% right page
261 \def\@evenfoot{\hfil\thepage}% right page
262 \def\@oddhead{\rightmark\hfil}% left page
263 \def\@oddfoot{\thepage\hfil}% left page
264 \let\@mkboth\markboth
265 \def\chaptermark##1{\markboth{%
266 \ifnum \c@secnumdepth >\m@ne
267 \@chapapp\thechapter\@chappos\hskip1\zw
270 \def\sectionmark##1{\markright{%
271 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
274 \else % if one column
275 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
276 \def\@oddhead{\rightmark\hfil}%
277 \def\@oddfoot{\thepage\hfil}%
278 \let\@mkboth\markboth
279 \def\chaptermark##1{\markright{%
280 \ifnum \c@secnumdepth >\m@ne
281 \@chapapp\thechapter\@chappos\hskip1\zw
286 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
287 \let\@oddfoot\@empty\let\@evenfoot\@empty
288 \def\@evenhead{{\leftmark}\hfil\thepage}%
289 \def\@oddhead{\thepage\hfil\rightmark}%
290 \let\@mkboth\@gobbletwo
291 \let\chaptermark\@gobble
292 \let\sectionmark\@gobble
295 \newenvironment{titlepage}
297 \if@twocolumn\@restonecoltrue\onecolumn
298 \else\@restonecolfalse\newpage\fi
299 \thispagestyle{empty}%
302 {\if@restonecol\twocolumn\else\newpage\fi
305 \newenvironment{titlepage}
308 \@restonecoltrue\onecolumn
310 \@restonecolfalse\newpage
312 \thispagestyle{empty}%
313 \setcounter{page}\@ne
315 {\if@restonecol\twocolumn \else \newpage \fi
317 \setcounter{page}\@ne
321 \def\p@thanks#1{\footnotemark
322 \protected@xdef\@thanks{\@thanks
323 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
325 \newcommand{\maketitle}{\begin{titlepage}%
326 \let\footnotesize\small
327 \let\footnoterule\relax
330 \vbox to\textheight\bgroup\tate\hsize\textwidth
334 {\LARGE \@title \par}%
338 \begin{tabular}[t]{c}%
342 {\large \@date \par}% % Set date in \large size.
344 \vfil{\centering\@thanks}\vfil\null
347 \setcounter{footnote}{0}%
348 \global\let\thanks\relax
349 \global\let\maketitle\relax
350 \global\let\p@thanks\relax
351 \global\let\@thanks\@empty
352 \global\let\@author\@empty
353 \global\let\@date\@empty
354 \global\let\@title\@empty
355 \global\let\title\relax
356 \global\let\author\relax
357 \global\let\date\relax
358 \global\let\and\relax
361 \newcommand{\maketitle}{\par
363 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
364 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
365 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
366 \long\def\@makefntext##1{\parindent 1\zw\noindent
367 \hbox to 2\zw{\hss\@makefnmark}##1}%
369 \ifnum \col@number=\@ne \@maketitle
370 \else \twocolumn[\@maketitle]%
374 \global\@topnum\z@ % Prevents figures from going at top of page.
377 \thispagestyle{jpl@in}\@thanks
379 \setcounter{footnote}{0}%
380 \global\let\thanks\relax
381 \global\let\maketitle\relax
382 \global\let\p@thanks\relax
383 \global\let\@thanks\@empty
384 \global\let\@author\@empty
385 \global\let\@date\@empty
386 \global\let\@title\@empty
387 \global\let\title\relax
388 \global\let\author\relax
389 \global\let\date\relax
390 \global\let\and\relax
396 \let\footnote\p@thanks
397 {\LARGE \@title \par}%
401 \begin{tabular}[t]{c}%
410 \newenvironment{abstract}{%
413 \@beginparpenalty\@lowpenalty
415 {\bfseries\abstractname}%
418 {\par\vfil\null\endtitlepage}
420 \newenvironment{abstract}{%
422 \section*{\abstractname}%
426 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
429 \fi}{\if@twocolumn\else\endquotation\fi}
431 \newcommand*{\chaptermark}[1]{}
432 \setcounter{secnumdepth}{2}
435 \newcounter{section}[chapter]
436 \newcounter{subsection}[section]
437 \newcounter{subsubsection}[subsection]
438 \newcounter{paragraph}[subsubsection]
439 \newcounter{subparagraph}[paragraph]
440 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
441 \renewcommand{\thechapter}{\rensuji{\@arabic\c@chapter}}
442 \renewcommand{\thesection}{\thechapter・\rensuji{\@arabic\c@section}}
443 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
444 \renewcommand{\thesubsubsection}{%
445 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
446 \renewcommand{\theparagraph}{%
447 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
448 \renewcommand{\thesubparagraph}{%
449 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
450 \newcommand{\@chapapp}{\prechaptername}
451 \newcommand{\@chappos}{\postchaptername}
453 \if@openright \cleardoublepage \else \clearpage \fi
454 \thispagestyle{empty}%
455 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
457 \secdef\@part\@spart}
459 \ifnum \c@secnumdepth >-2\relax
460 \refstepcounter{part}%
461 \addcontentsline{toc}{part}{%
462 \prepartname\thepart\postpartname\hspace{1em}#1}%
464 \addcontentsline{toc}{part}{#1}%
468 \interlinepenalty\@M\reset@font
469 \ifnum \c@secnumdepth >-2\relax
470 \huge\bfseries\prepartname\thepart\postpartname
473 \Huge\bfseries#2\par}%
477 \interlinepenalty\@M\reset@font
478 \Huge\bfseries#1\par}%
480 \def\@endpart{\vfil\newpage
481 \if@twoside\null\thispagestyle{empty}\newpage\fi
482 \if@tempswa\twocolumn\fi}
483 \newcommand{\chapter}{%
484 \if@openright\cleardoublepage\else\clearpage\fi
485 \thispagestyle{jpl@in}%
488 \secdef\@chapter\@schapter}
489 \def\@chapter[#1]#2{%
490 \ifnum \c@secnumdepth >\m@ne
491 \refstepcounter{chapter}%
492 \typeout{\@chapapp\space\thechapter\space\@chappos}%
493 \addcontentsline{toc}{chapter}%
494 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
496 \addcontentsline{toc}{chapter}{#1}%
499 \addtocontents{lof}{\protect\addvspace{10\p@}}%
500 \addtocontents{lot}{\protect\addvspace{10\p@}}%
501 \@makechapterhead{#2}\@afterheading}
502 \def\@makechapterhead#1{\hbox{}%
506 \reset@font\huge\bfseries
508 \ifnum \c@secnumdepth >\m@ne
509 \setlength\@tempdima{\linewidth}%
510 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
511 \addtolength\@tempdima{-\wd\z@}%
513 \vtop{\hsize\@tempdima#1}%
516 \fi}\nobreak\vskip3\Cvs}
518 \@makeschapterhead{#1}\@afterheading
520 \def\@makeschapterhead#1{\hbox{}%
524 \reset@font\huge\bfseries
526 \setlength\@tempdima{\linewidth}%
527 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
528 \newcommand{\section}{\@startsection{section}{1}{\z@}%
529 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
530 {.5\Cvs \@plus.3\Cvs}%
531 {\reset@font\Large\bfseries}}
532 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
533 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
534 {.5\Cvs \@plus.3\Cvs}%
535 {\reset@font\large\bfseries}}
536 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
537 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
538 {.5\Cvs \@plus.3\Cvs}%
539 {\reset@font\normalsize\bfseries}}
540 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
541 {3.25ex \@plus 1ex \@minus .2ex}%
543 {\reset@font\normalsize\bfseries}}
544 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
545 {3.25ex \@plus 1ex \@minus .2ex}%
547 {\reset@font\normalsize\bfseries}}
548 \newcommand{\appendix}{\par
549 \setcounter{chapter}{0}%
550 \setcounter{section}{0}%
551 \renewcommand{\@chapapp}{\appendixname}%
552 \renewcommand{\@chappos}\space%
553 \renewcommand{\thechapter}{\rensuji{\@Alph\c@chapter}}}
555 \setlength\leftmargini {2em}
557 \setlength\leftmargini {2.5em}
559 \setlength\leftmarginii {2.2em}
560 \setlength\leftmarginiii {1.87em}
561 \setlength\leftmarginiv {1.7em}
563 \setlength\leftmarginv {.5em}
564 \setlength\leftmarginvi{.5em}
566 \setlength\leftmarginv {1em}
567 \setlength\leftmarginvi{1em}
569 \setlength \labelsep {.5em}
570 \setlength \labelwidth{\leftmargini}
571 \addtolength\labelwidth{-\labelsep}
572 \@beginparpenalty -\@lowpenalty
573 \@endparpenalty -\@lowpenalty
574 \@itempenalty -\@lowpenalty
575 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
576 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
577 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
578 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
579 \newcommand{\labelenumi}{\theenumi}
580 \newcommand{\labelenumii}{\theenumii}
581 \newcommand{\labelenumiii}{\theenumiii}
582 \newcommand{\labelenumiv}{\theenumiv}
583 \renewcommand{\p@enumii}{\theenumi}
584 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
585 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
586 \renewenvironment{enumerate}
587 {\ifnum \@enumdepth >\thr@@\@toodeep\else
588 \advance\@enumdepth\@ne
589 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
590 \list{\csname label\@enumctr\endcsname}{%
591 \ifnum\ltjgetparameter{direction}=3
592 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
594 \parskip\z@ \itemsep\z@ \parsep\z@
595 \labelwidth1\zw \labelsep.3\zw
596 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
597 \else\leftmargin\leftskip\fi
598 \advance\leftmargin 1\zw
600 \usecounter{\@enumctr}%
601 \def\makelabel##1{\hss\llap{##1}}}%
603 \newcommand{\labelitemi}{\textbullet}
604 \newcommand{\labelitemii}{%
605 \ifnum\ltjgetparameter{direction}=3
608 {\normalfont\bfseries\textendash}
611 \newcommand{\labelitemiii}{\textasteriskcentered}
612 \newcommand{\labelitemiv}{\textperiodcentered}
613 \renewenvironment{itemize}
614 {\ifnum \@itemdepth >\thr@@\@toodeep\else
615 \advance\@itemdepth\@ne
616 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
618 \list{\csname \@itemitem\endcsname}{%
619 \ifnum\ltjgetparameter{direction}=3
620 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
622 \parskip\z@ \itemsep\z@ \parsep\z@
623 \labelwidth1\zw \labelsep.3\zw
624 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
625 \else\leftmargin\leftskip\fi
626 \advance\leftmargin 1\zw
628 \def\makelabel##1{\hss\llap{##1}}}%
630 \newenvironment{description}
631 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
632 \ifnum\ltjgetparameter{direction}=3
633 \leftmargin\leftskip \advance\leftmargin3\Cwd
634 \rightmargin\rightskip
635 \labelsep=1\zw \itemsep\z@
636 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
638 \let\makelabel\descriptionlabel}}{\endlist}
639 \newcommand{\descriptionlabel}[1]{%
640 \hspace\labelsep\normalfont\bfseries #1}
641 \newenvironment{verse}
643 \list{}{\itemsep\z@ \itemindent -1.5em%
644 \listparindent\itemindent
645 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
646 \item\relax}{\endlist}
647 \newenvironment{quotation}
648 {\list{}{\listparindent 1.5em%
649 \itemindent\listparindent
650 \rightmargin\leftmargin
651 \parsep\z@ \@plus\p@}%
652 \item\relax}{\endlist}
653 \newenvironment{quote}
654 {\list{}{\rightmargin\leftmargin}%
655 \item\relax}{\endlist}
656 \newcounter{figure}[chapter]
657 \renewcommand{\thefigure}{%
658 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@figure}}
662 \def\fnum@figure{\figurename\thefigure}
663 \newenvironment{figure}
666 \newenvironment{figure*}
669 \newcounter{table}[chapter]
670 \renewcommand{\thetable}{%
671 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@table}}
675 \def\fnum@table{\tablename\thetable}
676 \newenvironment{table}
679 \newenvironment{table*}
682 \newlength\abovecaptionskip
683 \newlength\belowcaptionskip
684 \setlength\abovecaptionskip{10\p@}
685 \setlength\belowcaptionskip{0\p@}
686 \long\def\@makecaption#1#2{%
687 \vskip\abovecaptionskip
688 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
689 \else\sbox\@tempboxa{#1: #2}%
691 \ifdim \wd\@tempboxa >\hsize
692 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
693 \else #1: #2\relax\par\fi
695 \global \@minipagefalse
696 \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
698 \vskip\belowcaptionskip}
699 \setlength\arraycolsep{5\p@}
700 \setlength\tabcolsep{6\p@}
701 \setlength\arrayrulewidth{.4\p@}
702 \setlength\doublerulesep{2\p@}
703 \setlength\tabbingsep{\labelsep}
704 \skip\@mpfootins = \skip\footins
705 \setlength\fboxsep{3\p@}
706 \setlength\fboxrule{.4\p@}
707 \@addtoreset{equation}{chapter}
708 \renewcommand{\theequation}{%
709 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
710 \if@compatibility\else
711 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
712 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
713 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
715 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
719 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
720 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
723 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
724 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
725 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
726 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
727 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
728 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
729 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
730 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
731 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
732 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
733 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
734 \setcounter{tocdepth}{2}
735 \newcommand{\@pnumwidth}{1.55em}
736 \newcommand{\@tocrmarg}{2.55em}
737 \newcommand{\@dotsep}{4.5}
738 \newdimen\toclineskip
739 \setlength\toclineskip{2\p@}
741 \def\numberline#1{\hbox to\@lnumwidth{#1\hfil}}
742 \def\@dottedtocline#1#2#3#4#5{%
743 \ifnum #1>\c@tocdepth \else
744 \vskip\toclineskip \@plus.2\p@
745 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
746 \parindent #2\relax\@afterindenttrue
750 \advance\leftskip \@lnumwidth \hbox{}\hskip -\leftskip
752 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
754 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
757 \def\addcontentsline#1#2#3{%
758 \protected@write\@auxout
759 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
760 \@temptokena{\rensuji{\thepage}}}%
761 {\string\@writefile{#1}%
762 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
764 \newcommand{\tableofcontents}{%
765 \if@twocolumn\@restonecoltrue\onecolumn
766 \else\@restonecolfalse\fi
767 \chapter*{\contentsname
768 \@mkboth{\contentsname}{\contentsname}%
770 \if@restonecol\twocolumn\fi
772 \newcommand*{\l@part}[2]{%
773 \ifnum \c@tocdepth >-2\relax
774 \addpenalty{-\@highpenalty}%
775 \addvspace{2.25em \@plus\p@}%
777 \parindent\z@\rightskip\@pnumwidth
778 \parfillskip-\@pnumwidth
779 {\leavevmode\large\bfseries
780 \setlength\@lnumwidth{4\zw}%
782 \hbox to\@pnumwidth{\hss#2}}\par
785 \everypar{\global\@nobreakfalse\everypar{}}%
788 \newcommand*{\l@chapter}[2]{%
789 \ifnum \c@tocdepth >\m@ne
790 \addpenalty{-\@highpenalty}%
791 \addvspace{1.0em \@plus\p@}%
793 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
795 \setlength\@lnumwidth{4\zw}%
796 \advance\leftskip\@lnumwidth \hskip-\leftskip
797 #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
798 \penalty\@highpenalty
801 \newcommand*{\l@section}{\@dottedtocline{1}{1\zw}{4\zw}}
802 \newcommand*{\l@subsection} {\@dottedtocline{2}{2\zw}{6\zw}}
803 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3\zw}{8\zw}}
804 \newcommand*{\l@paragraph} {\@dottedtocline{4}{4\zw}{9\zw}}
805 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{5\zw}{10\zw}}
806 \newcommand{\listoffigures}{%
807 \if@twocolumn\@restonecoltrue\onecolumn
808 \else\@restonecolfalse\fi
809 \chapter*{\listfigurename
810 \@mkboth{\listfigurename}{\listfigurename}}%
812 \if@restonecol\twocolumn\fi
814 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
815 \newcommand{\listoftables}{%
816 \if@twocolumn\@restonecoltrue\onecolumn
817 \else\@restonecolfalse\fi
818 \chapter*{\listtablename
819 \@mkboth{\listtablename}{\listtablename}}%
821 \if@restonecol\twocolumn\fi
823 \let\l@table\l@figure
825 \setlength\bibindent{1.5em}
826 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
827 \newenvironment{thebibliography}[1]
828 {\chapter*{\bibname\@mkboth{\bibname}{\bibname}}%
829 \list{\@biblabel{\@arabic\c@enumiv}}%
830 {\settowidth\labelwidth{\@biblabel{#1}}%
831 \leftmargin\labelwidth
832 \advance\leftmargin\labelsep
836 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
839 \@clubpenalty\clubpenalty
843 {\@latex@warning{Empty `thebibliography' environment}}%
845 \let\@openbib@code\@empty
846 \newenvironment{theindex}
847 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
848 \columnseprule\z@ \columnsep 35\p@
849 \twocolumn[\@makeschapterhead{\indexname}]%
850 \@mkboth{\indexname}{\indexname}%
851 \thispagestyle{jpl@in}\parindent\z@
852 \parskip\z@ \@plus .3\p@\relax
854 {\if@restonecol\onecolumn\else\clearpage\fi}
855 \newcommand{\@idxitem}{\par\hangindent 40\p@}
856 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
857 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
858 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
859 \renewcommand{\footnoterule}{%
861 \hrule width .4\columnwidth
863 \@addtoreset{footnote}{chapter}
864 \newcommand\@makefntext[1]{\parindent 1\zw
865 \noindent\hbox to 2\zw{\hss\@makefnmark}#1}
869 \newcount\heisei \heisei\year \advance\heisei-1988\relax
871 \ifnum\ltjgetparameter{direction}=3
877 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
887 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
892 \newcommand{\prepartname}{第}
893 \newcommand{\postpartname}{部}
894 \newcommand{\prechaptername}{第}
895 \newcommand{\postchaptername}{章}
896 \newcommand{\contentsname}{目 次}
897 \newcommand{\listfigurename}{図 目 次}
898 \newcommand{\listtablename}{表 目 次}
899 \newcommand{\bibname}{関連図書}
900 \newcommand{\indexname}{索 引}
901 \newcommand{\figurename}{図}
902 \newcommand{\tablename}{表}
903 \newcommand{\appendixname}{付 録}
904 \newcommand{\abstractname}{概 要}
906 \pagenumbering{arabic}
918 %% End of file `ltjtreport.cls'.