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 [2016/07/19 v1.6-ltj-11
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 \newlength{\stockwidth}
184 \newlength{\stockheight}
185 \setlength{\stockwidth}{\paperwidth}
186 \setlength{\stockheight}{\paperheight}
188 \advance \stockwidth 2in
189 \advance \stockheight 2in
191 \ifdefined\pdfpagewidth
192 \setlength{\pdfpagewidth}{\stockwidth}
193 \setlength{\pdfpageheight}{\stockheight}
195 \setlength{\pagewidth}{\stockwidth}
196 \setlength{\pageheight}{\stockheight}
198 \setlength\lineskip{1\p@}
199 \setlength\normallineskip{1\p@}
200 \renewcommand{\baselinestretch}{}
201 \setlength\parskip{0\p@ \@plus \p@}
202 \setlength\parindent{1\Cwd}
206 \setcounter{topnumber}{2}
207 \setcounter{bottomnumber}{1}
208 \setcounter{totalnumber}{3}
209 \setcounter{dbltopnumber}{2}
210 \renewcommand{\topfraction}{.7}
211 \renewcommand{\bottomfraction}{.3}
212 \renewcommand{\textfraction}{.2}
213 \renewcommand{\floatpagefraction}{.5}
214 \renewcommand{\dbltopfraction}{.7}
215 \renewcommand{\dblfloatpagefraction}{.5}
216 \def\ps@plain{\let\@mkboth\@gobbletwo
217 \let\ps@jpl@in\ps@plain
219 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
220 \let\@evenhead\@empty
221 \let\@evenfoot\@oddfoot}
222 \let\ps@jpl@in\ps@plain
223 \def\ps@headnombre{\let\@mkboth\@gobbletwo
224 \let\ps@jpl@in\ps@headnombre
225 \def\@evenhead{\hfil\thepage}%
226 \def\@oddhead{\thepage\hfil}%
227 \let\@oddfoot\@empty\let\@evenfoot\@empty}
228 \def\ps@footnombre{\let\@mkboth\@gobbletwo
229 \let\ps@jpl@in\ps@footnombre
230 \def\@evenfoot{\hfil\thepage}%
231 \def\@oddfoot{\thepage\hfil}%
232 \let\@oddhead\@empty\let\@evenhead\@empty}
234 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
235 \let\@oddfoot\@empty\let\@evenfoot\@empty
236 \def\@evenhead{{\leftmark}\hfil\thepage}%
237 \def\@oddhead{\thepage\hfil\rightmark}%
238 \let\@mkboth\markboth
239 \def\chaptermark##1{\markboth{%
240 \ifnum \c@secnumdepth >\m@ne
241 \@chapapp\thechapter\@chappos\hskip1\zw
244 \def\sectionmark##1{\markright{%
245 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
248 \else % if not twoside
249 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
251 \def\@oddhead{\thepage\hfil\rightmark}%
252 \let\@mkboth\markboth
253 \def\chaptermark##1{\markright{%
254 \ifnum \c@secnumdepth >\m@ne
255 \@chapapp\thechapter\@chappos\hskip1\zw
261 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
262 \def\@evenhead{\hfil\leftmark}% right page
263 \def\@evenfoot{\hfil\thepage}% right page
264 \def\@oddhead{\rightmark\hfil}% left page
265 \def\@oddfoot{\thepage\hfil}% left page
266 \let\@mkboth\markboth
267 \def\chaptermark##1{\markboth{%
268 \ifnum \c@secnumdepth >\m@ne
269 \@chapapp\thechapter\@chappos\hskip1\zw
272 \def\sectionmark##1{\markright{%
273 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
276 \else % if one column
277 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
278 \def\@oddhead{\rightmark\hfil}%
279 \def\@oddfoot{\thepage\hfil}%
280 \let\@mkboth\markboth
281 \def\chaptermark##1{\markright{%
282 \ifnum \c@secnumdepth >\m@ne
283 \@chapapp\thechapter\@chappos\hskip1\zw
288 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
289 \let\@oddfoot\@empty\let\@evenfoot\@empty
290 \def\@evenhead{{\leftmark}\hfil\thepage}%
291 \def\@oddhead{\thepage\hfil\rightmark}%
292 \let\@mkboth\@gobbletwo
293 \let\chaptermark\@gobble
294 \let\sectionmark\@gobble
297 \newenvironment{titlepage}
299 \if@twocolumn\@restonecoltrue\onecolumn
300 \else\@restonecolfalse\newpage\fi
301 \thispagestyle{empty}%
304 {\if@restonecol\twocolumn\else\newpage\fi
307 \newenvironment{titlepage}
310 \@restonecoltrue\onecolumn
312 \@restonecolfalse\newpage
314 \thispagestyle{empty}%
315 \setcounter{page}\@ne
317 {\if@restonecol\twocolumn \else \newpage \fi
319 \setcounter{page}\@ne
323 \def\p@thanks#1{\footnotemark
324 \protected@xdef\@thanks{\@thanks
325 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
327 \newcommand{\maketitle}{\begin{titlepage}%
328 \let\footnotesize\small
329 \let\footnoterule\relax
332 \vbox to\textheight\bgroup\tate\hsize\textwidth
336 {\LARGE \@title \par}%
340 \begin{tabular}[t]{c}%
344 {\large \@date \par}% % Set date in \large size.
346 \vfil{\centering\@thanks}\vfil\null
349 \setcounter{footnote}{0}%
350 \global\let\thanks\relax
351 \global\let\maketitle\relax
352 \global\let\p@thanks\relax
353 \global\let\@thanks\@empty
354 \global\let\@author\@empty
355 \global\let\@date\@empty
356 \global\let\@title\@empty
357 \global\let\title\relax
358 \global\let\author\relax
359 \global\let\date\relax
360 \global\let\and\relax
363 \newcommand{\maketitle}{\par
365 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
366 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
367 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
368 \long\def\@makefntext##1{\parindent 1\zw\noindent
369 \hbox to 2\zw{\hss\@makefnmark}##1}%
371 \ifnum \col@number=\@ne \@maketitle
372 \else \twocolumn[\@maketitle]%
376 \global\@topnum\z@ % Prevents figures from going at top of page.
379 \thispagestyle{jpl@in}\@thanks
381 \setcounter{footnote}{0}%
382 \global\let\thanks\relax
383 \global\let\maketitle\relax
384 \global\let\p@thanks\relax
385 \global\let\@thanks\@empty
386 \global\let\@author\@empty
387 \global\let\@date\@empty
388 \global\let\@title\@empty
389 \global\let\title\relax
390 \global\let\author\relax
391 \global\let\date\relax
392 \global\let\and\relax
398 \let\footnote\p@thanks
399 {\LARGE \@title \par}%
403 \begin{tabular}[t]{c}%
412 \newenvironment{abstract}{%
415 \@beginparpenalty\@lowpenalty
417 {\bfseries\abstractname}%
420 {\par\vfil\null\endtitlepage}
422 \newenvironment{abstract}{%
424 \section*{\abstractname}%
428 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
431 \fi}{\if@twocolumn\else\endquotation\fi}
433 \newcommand*{\chaptermark}[1]{}
434 \setcounter{secnumdepth}{2}
437 \newcounter{section}[chapter]
438 \newcounter{subsection}[section]
439 \newcounter{subsubsection}[subsection]
440 \newcounter{paragraph}[subsubsection]
441 \newcounter{subparagraph}[paragraph]
442 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
443 \renewcommand{\thechapter}{\rensuji{\@arabic\c@chapter}}
444 \renewcommand{\thesection}{\thechapter・\rensuji{\@arabic\c@section}}
445 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
446 \renewcommand{\thesubsubsection}{%
447 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
448 \renewcommand{\theparagraph}{%
449 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
450 \renewcommand{\thesubparagraph}{%
451 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
452 \newcommand{\@chapapp}{\prechaptername}
453 \newcommand{\@chappos}{\postchaptername}
455 \if@openright \cleardoublepage \else \clearpage \fi
456 \thispagestyle{empty}%
457 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
459 \secdef\@part\@spart}
461 \ifnum \c@secnumdepth >-2\relax
462 \refstepcounter{part}%
463 \addcontentsline{toc}{part}{%
464 \prepartname\thepart\postpartname\hspace{1em}#1}%
466 \addcontentsline{toc}{part}{#1}%
470 \interlinepenalty\@M\reset@font
471 \ifnum \c@secnumdepth >-2\relax
472 \huge\bfseries\prepartname\thepart\postpartname
475 \Huge\bfseries#2\par}%
479 \interlinepenalty\@M\reset@font
480 \Huge\bfseries#1\par}%
482 \def\@endpart{\vfil\newpage
483 \if@twoside\null\thispagestyle{empty}\newpage\fi
484 \if@tempswa\twocolumn\fi}
485 \newcommand{\chapter}{%
486 \if@openright\cleardoublepage\else\clearpage\fi
487 \thispagestyle{jpl@in}%
490 \secdef\@chapter\@schapter}
491 \def\@chapter[#1]#2{%
492 \ifnum \c@secnumdepth >\m@ne
493 \refstepcounter{chapter}%
494 \typeout{\@chapapp\space\thechapter\space\@chappos}%
495 \addcontentsline{toc}{chapter}%
496 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
498 \addcontentsline{toc}{chapter}{#1}%
501 \addtocontents{lof}{\protect\addvspace{10\p@}}%
502 \addtocontents{lot}{\protect\addvspace{10\p@}}%
503 \@makechapterhead{#2}\@afterheading}
504 \def\@makechapterhead#1{\hbox{}%
508 \reset@font\huge\bfseries
510 \ifnum \c@secnumdepth >\m@ne
511 \setlength\@tempdima{\linewidth}%
512 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
513 \addtolength\@tempdima{-\wd\z@}%
515 \vtop{\hsize\@tempdima#1}%
518 \fi}\nobreak\vskip3\Cvs}
520 \@makeschapterhead{#1}\@afterheading
522 \def\@makeschapterhead#1{\hbox{}%
526 \reset@font\huge\bfseries
528 \setlength\@tempdima{\linewidth}%
529 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
530 \newcommand{\section}{\@startsection{section}{1}{\z@}%
531 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
532 {.5\Cvs \@plus.3\Cvs}%
533 {\reset@font\Large\bfseries}}
534 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
535 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
536 {.5\Cvs \@plus.3\Cvs}%
537 {\reset@font\large\bfseries}}
538 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
539 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
540 {.5\Cvs \@plus.3\Cvs}%
541 {\reset@font\normalsize\bfseries}}
542 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
543 {3.25ex \@plus 1ex \@minus .2ex}%
545 {\reset@font\normalsize\bfseries}}
546 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
547 {3.25ex \@plus 1ex \@minus .2ex}%
549 {\reset@font\normalsize\bfseries}}
550 \newcommand{\appendix}{\par
551 \setcounter{chapter}{0}%
552 \setcounter{section}{0}%
553 \renewcommand{\@chapapp}{\appendixname}%
554 \renewcommand{\@chappos}\space%
555 \renewcommand{\thechapter}{\rensuji{\@Alph\c@chapter}}}
557 \setlength\leftmargini {2em}
559 \setlength\leftmargini {2.5em}
561 \setlength\leftmarginii {2.2em}
562 \setlength\leftmarginiii {1.87em}
563 \setlength\leftmarginiv {1.7em}
565 \setlength\leftmarginv {.5em}
566 \setlength\leftmarginvi{.5em}
568 \setlength\leftmarginv {1em}
569 \setlength\leftmarginvi{1em}
571 \setlength \labelsep {.5em}
572 \setlength \labelwidth{\leftmargini}
573 \addtolength\labelwidth{-\labelsep}
574 \@beginparpenalty -\@lowpenalty
575 \@endparpenalty -\@lowpenalty
576 \@itempenalty -\@lowpenalty
577 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
578 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
579 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
580 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
581 \newcommand{\labelenumi}{\theenumi}
582 \newcommand{\labelenumii}{\theenumii}
583 \newcommand{\labelenumiii}{\theenumiii}
584 \newcommand{\labelenumiv}{\theenumiv}
585 \renewcommand{\p@enumii}{\theenumi}
586 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
587 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
588 \renewenvironment{enumerate}
589 {\ifnum \@enumdepth >\thr@@\@toodeep\else
590 \advance\@enumdepth\@ne
591 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
592 \list{\csname label\@enumctr\endcsname}{%
593 \ifnum\ltjgetparameter{direction}=3
594 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
596 \parskip\z@ \itemsep\z@ \parsep\z@
597 \labelwidth1\zw \labelsep.3\zw
598 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
599 \else\leftmargin\leftskip\fi
600 \advance\leftmargin 1\zw
602 \usecounter{\@enumctr}%
603 \def\makelabel##1{\hss\llap{##1}}}%
605 \newcommand{\labelitemi}{\textbullet}
606 \newcommand{\labelitemii}{%
607 \ifnum\ltjgetparameter{direction}=3
610 {\normalfont\bfseries\textendash}
613 \newcommand{\labelitemiii}{\textasteriskcentered}
614 \newcommand{\labelitemiv}{\textperiodcentered}
615 \renewenvironment{itemize}
616 {\ifnum \@itemdepth >\thr@@\@toodeep\else
617 \advance\@itemdepth\@ne
618 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
620 \list{\csname \@itemitem\endcsname}{%
621 \ifnum\ltjgetparameter{direction}=3
622 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
624 \parskip\z@ \itemsep\z@ \parsep\z@
625 \labelwidth1\zw \labelsep.3\zw
626 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
627 \else\leftmargin\leftskip\fi
628 \advance\leftmargin 1\zw
630 \def\makelabel##1{\hss\llap{##1}}}%
632 \newenvironment{description}
633 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
634 \ifnum\ltjgetparameter{direction}=3
635 \leftmargin\leftskip \advance\leftmargin3\Cwd
636 \rightmargin\rightskip
637 \labelsep=1\zw \itemsep\z@
638 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
640 \let\makelabel\descriptionlabel}}{\endlist}
641 \newcommand{\descriptionlabel}[1]{%
642 \hspace\labelsep\normalfont\bfseries #1}
643 \newenvironment{verse}
645 \list{}{\itemsep\z@ \itemindent -1.5em%
646 \listparindent\itemindent
647 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
648 \item\relax}{\endlist}
649 \newenvironment{quotation}
650 {\list{}{\listparindent 1.5em%
651 \itemindent\listparindent
652 \rightmargin\leftmargin
653 \parsep\z@ \@plus\p@}%
654 \item\relax}{\endlist}
655 \newenvironment{quote}
656 {\list{}{\rightmargin\leftmargin}%
657 \item\relax}{\endlist}
658 \newcounter{figure}[chapter]
659 \renewcommand{\thefigure}{%
660 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@figure}}
664 \def\fnum@figure{\figurename\thefigure}
665 \newenvironment{figure}
668 \newenvironment{figure*}
671 \newcounter{table}[chapter]
672 \renewcommand{\thetable}{%
673 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@table}}
677 \def\fnum@table{\tablename\thetable}
678 \newenvironment{table}
681 \newenvironment{table*}
684 \newlength\abovecaptionskip
685 \newlength\belowcaptionskip
686 \setlength\abovecaptionskip{10\p@}
687 \setlength\belowcaptionskip{0\p@}
688 \long\def\@makecaption#1#2{%
689 \vskip\abovecaptionskip
690 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
691 \else\sbox\@tempboxa{#1: #2}%
693 \ifdim \wd\@tempboxa >\hsize
694 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
695 \else #1: #2\relax\par\fi
697 \global \@minipagefalse
698 \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
700 \vskip\belowcaptionskip}
701 \setlength\arraycolsep{5\p@}
702 \setlength\tabcolsep{6\p@}
703 \setlength\arrayrulewidth{.4\p@}
704 \setlength\doublerulesep{2\p@}
705 \setlength\tabbingsep{\labelsep}
706 \skip\@mpfootins = \skip\footins
707 \setlength\fboxsep{3\p@}
708 \setlength\fboxrule{.4\p@}
709 \@addtoreset{equation}{chapter}
710 \renewcommand{\theequation}{%
711 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
712 \if@compatibility\else
713 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
714 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
715 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
717 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
721 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
722 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
725 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
726 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
727 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
728 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
729 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
730 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
731 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
732 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
733 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
734 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
735 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
736 \setcounter{tocdepth}{2}
737 \newcommand{\@pnumwidth}{1.55em}
738 \newcommand{\@tocrmarg}{2.55em}
739 \newcommand{\@dotsep}{4.5}
740 \newdimen\toclineskip
741 \setlength\toclineskip{2\p@}
743 \def\numberline#1{\hbox to\@lnumwidth{#1\hfil}}
744 \def\@dottedtocline#1#2#3#4#5{%
745 \ifnum #1>\c@tocdepth \else
746 \vskip\toclineskip \@plus.2\p@
747 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
748 \parindent #2\relax\@afterindenttrue
752 \advance\leftskip \@lnumwidth \hbox{}\hskip -\leftskip
754 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
756 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
759 \def\addcontentsline#1#2#3{%
760 \protected@write\@auxout
761 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
762 \@temptokena{\rensuji{\thepage}}}%
763 {\string\@writefile{#1}%
764 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
766 \newcommand{\tableofcontents}{%
767 \if@twocolumn\@restonecoltrue\onecolumn
768 \else\@restonecolfalse\fi
769 \chapter*{\contentsname
770 \@mkboth{\contentsname}{\contentsname}%
772 \if@restonecol\twocolumn\fi
774 \newcommand*{\l@part}[2]{%
775 \ifnum \c@tocdepth >-2\relax
776 \addpenalty{-\@highpenalty}%
777 \addvspace{2.25em \@plus\p@}%
779 \parindent\z@\rightskip\@pnumwidth
780 \parfillskip-\@pnumwidth
781 {\leavevmode\large\bfseries
782 \setlength\@lnumwidth{4\zw}%
784 \hbox to\@pnumwidth{\hss#2}}\par
787 \everypar{\global\@nobreakfalse\everypar{}}%
790 \newcommand*{\l@chapter}[2]{%
791 \ifnum \c@tocdepth >\m@ne
792 \addpenalty{-\@highpenalty}%
793 \addvspace{1.0em \@plus\p@}%
795 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
797 \setlength\@lnumwidth{4\zw}%
798 \advance\leftskip\@lnumwidth \hskip-\leftskip
799 #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
800 \penalty\@highpenalty
803 \newcommand*{\l@section}{\@dottedtocline{1}{1\zw}{4\zw}}
804 \newcommand*{\l@subsection} {\@dottedtocline{2}{2\zw}{6\zw}}
805 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3\zw}{8\zw}}
806 \newcommand*{\l@paragraph} {\@dottedtocline{4}{4\zw}{9\zw}}
807 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{5\zw}{10\zw}}
808 \newcommand{\listoffigures}{%
809 \if@twocolumn\@restonecoltrue\onecolumn
810 \else\@restonecolfalse\fi
811 \chapter*{\listfigurename
812 \@mkboth{\listfigurename}{\listfigurename}}%
814 \if@restonecol\twocolumn\fi
816 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
817 \newcommand{\listoftables}{%
818 \if@twocolumn\@restonecoltrue\onecolumn
819 \else\@restonecolfalse\fi
820 \chapter*{\listtablename
821 \@mkboth{\listtablename}{\listtablename}}%
823 \if@restonecol\twocolumn\fi
825 \let\l@table\l@figure
827 \setlength\bibindent{1.5em}
828 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
829 \newenvironment{thebibliography}[1]
830 {\chapter*{\bibname\@mkboth{\bibname}{\bibname}}%
831 \list{\@biblabel{\@arabic\c@enumiv}}%
832 {\settowidth\labelwidth{\@biblabel{#1}}%
833 \leftmargin\labelwidth
834 \advance\leftmargin\labelsep
838 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
841 \@clubpenalty\clubpenalty
845 {\@latex@warning{Empty `thebibliography' environment}}%
847 \let\@openbib@code\@empty
848 \newenvironment{theindex}
849 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
850 \columnseprule\z@ \columnsep 35\p@
851 \twocolumn[\@makeschapterhead{\indexname}]%
852 \@mkboth{\indexname}{\indexname}%
853 \thispagestyle{jpl@in}\parindent\z@
854 \parskip\z@ \@plus .3\p@\relax
856 {\if@restonecol\onecolumn\else\clearpage\fi}
857 \newcommand{\@idxitem}{\par\hangindent 40\p@}
858 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
859 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
860 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
861 \renewcommand{\footnoterule}{%
863 \hrule width .4\columnwidth
865 \@addtoreset{footnote}{chapter}
866 \newcommand\@makefntext[1]{\parindent 1\zw
867 \noindent\hbox to 2\zw{\hss\@makefnmark}#1}
871 \newcount\heisei \heisei\year \advance\heisei-1988\relax
873 \ifnum\ltjgetparameter{direction}=3
879 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
889 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
894 \newcommand{\prepartname}{第}
895 \newcommand{\postpartname}{部}
896 \newcommand{\prechaptername}{第}
897 \newcommand{\postchaptername}{章}
898 \newcommand{\contentsname}{目 次}
899 \newcommand{\listfigurename}{図 目 次}
900 \newcommand{\listtablename}{表 目 次}
901 \newcommand{\bibname}{関連図書}
902 \newcommand{\indexname}{索 引}
903 \newcommand{\figurename}{図}
904 \newcommand{\tablename}{表}
905 \newcommand{\appendixname}{付 録}
906 \newcommand{\abstractname}{概 要}
908 \pagenumbering{arabic}
920 %% End of file `ltjtreport.cls'.