2 %% This is file `ltjreport.cls',
3 %% generated with the docstrip utility.
5 %% The original source files were:
7 %% ltjclasses.dtx (with options: `report,yoko')
11 %% For the copyright see the source file.
13 %% Any modified versions of this file must be renamed
14 %% with new filenames distinct from ltjreport.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
24 \NeedsTeXFormat{LaTeX2e}
25 \ProvidesClass{ltjreport}
26 [2018/02/04 v1.7h-ltj-15
27 Standard LuaLaTeX-ja class]
28 \RequirePackage{luatexja}
30 \newif\if@landscape \@landscapefalse
31 \newcommand{\@ptsize}{}
37 \hour\time \divide\hour by 60\relax
38 \@tempcnta\hour \multiply\@tempcnta 60\relax
39 \minute\time \advance\minute-\@tempcnta
40 \newif\if@stysize \@stysizefalse
41 \newif\if@mathrmmc \@mathrmmcfalse
42 \DeclareOption{a4paper}{\setcounter{@paper}{1}%
43 \setlength\paperheight {297mm}%
44 \setlength\paperwidth {210mm}}
45 \DeclareOption{a5paper}{\setcounter{@paper}{2}%
46 \setlength\paperheight {210mm}
47 \setlength\paperwidth {148mm}}
48 \DeclareOption{b4paper}{\setcounter{@paper}{3}%
49 \setlength\paperheight {364mm}
50 \setlength\paperwidth {257mm}}
51 \DeclareOption{b5paper}{\setcounter{@paper}{4}%
52 \setlength\paperheight {257mm}
53 \setlength\paperwidth {182mm}}
54 \DeclareOption{a4j}{\setcounter{@paper}{1}\@stysizetrue
55 \setlength\paperheight {297mm}%
56 \setlength\paperwidth {210mm}}
57 \DeclareOption{a5j}{\setcounter{@paper}{2}\@stysizetrue
58 \setlength\paperheight {210mm}
59 \setlength\paperwidth {148mm}}
60 \DeclareOption{b4j}{\setcounter{@paper}{3}\@stysizetrue
61 \setlength\paperheight {364mm}
62 \setlength\paperwidth {257mm}}
63 \DeclareOption{b5j}{\setcounter{@paper}{4}\@stysizetrue
64 \setlength\paperheight {257mm}
65 \setlength\paperwidth {182mm}}
66 \DeclareOption{a4p}{\setcounter{@paper}{1}\@stysizetrue
67 \setlength\paperheight {297mm}%
68 \setlength\paperwidth {210mm}}
69 \DeclareOption{a5p}{\setcounter{@paper}{2}\@stysizetrue
70 \setlength\paperheight {210mm}
71 \setlength\paperwidth {148mm}}
72 \DeclareOption{b4p}{\setcounter{@paper}{3}\@stysizetrue
73 \setlength\paperheight {364mm}
74 \setlength\paperwidth {257mm}}
75 \DeclareOption{b5p}{\setcounter{@paper}{4}\@stysizetrue
76 \setlength\paperheight {257mm}
77 \setlength\paperwidth {182mm}}
79 \renewcommand{\@ptsize}{0}
81 \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
83 \DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
84 \DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
85 \DeclareOption{landscape}{\@landscapetrue
86 \setlength\@tempdima{\paperheight}%
87 \setlength\paperheight{\paperwidth}%
88 \setlength\paperwidth{\@tempdima}}
89 \DeclareOption{tombow}{%
90 \tombowtrue \tombowdatetrue
91 \setlength{\@tombowwidth}{.1\p@}%
93 \jobname\space(\number\year-\two@digits\month-\two@digits\day
94 \space\two@digits\hour:\two@digits\minute)}%
96 \DeclareOption{tombo}{%
97 \tombowtrue \tombowdatefalse
98 \setlength{\@tombowwidth}{.1\p@}%
100 \DeclareOption{mentuke}{%
101 \tombowtrue \tombowdatefalse
102 \setlength{\@tombowwidth}{\z@}%
104 \DeclareOption{tate}{%
105 \tate\AtBeginDocument{\message{《縦組モード》}\adjustbaseline}%
107 \DeclareOption{oneside}{\@twosidefalse}
108 \DeclareOption{twoside}{\@twosidetrue}
109 \DeclareOption{onecolumn}{\@twocolumnfalse}
110 \DeclareOption{twocolumn}{\@twocolumntrue}
111 \DeclareOption{titlepage}{\@titlepagetrue}
112 \DeclareOption{notitlepage}{\@titlepagefalse}
115 \DeclareOption{openright}{\@openrighttrue\@openleftfalse}
116 \DeclareOption{openleft}{\@openlefttrue\@openrightfalse}
117 \DeclareOption{openany}{\@openrightfalse\@openleftfalse}
119 \DeclareOption{leqno}{\input{leqno.clo}}
120 \DeclareOption{fleqn}{\input{fleqn.clo}}
121 \DeclareOption{openbib}{%
123 \renewcommand\@openbib@code{%
124 \advance\leftmargin\bibindent
125 \itemindent -\bibindent
126 \listparindent \itemindent
129 \renewcommand\newblock{\par}}}
133 \DeclareOption{disablejfam}{%
134 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
135 \DeclareOption{mathrmmc}{\@mathrmmctrue}
137 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
138 \DeclareOption{final}{\setlength\overfullrule{0pt}}
139 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
140 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
141 'ltj.jclasses_load_jfm', 1)}
142 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
143 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
144 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
145 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
146 \ltjglobalsetparameter{differentjfm=both}
147 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
148 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany}
149 \ProcessOptions\relax
150 \input{ltjsize1\@ptsize.clo}
151 \def\Cjascale{0.962216}
153 \setlength\columnsep{2\Cwd}
155 \setlength\columnsep{10\p@}
157 \setlength\columnseprule{0\p@}
159 \newlength{\stockwidth}
160 \newlength{\stockheight}
161 \setlength{\stockwidth}{\paperwidth}
162 \setlength{\stockheight}{\paperheight}
163 \advance \stockwidth 2in
164 \advance \stockheight 2in
165 \ifdefined\pdfpagewidth
166 \setlength{\pdfpagewidth}{\stockwidth}
167 \setlength{\pdfpageheight}{\stockheight}
169 \setlength{\pagewidth}{\stockwidth}
170 \setlength{\pageheight}{\stockheight}
173 \ifdefined\pdfpagewidth
174 \setlength{\pdfpagewidth}{\paperwidth}
175 \setlength{\pdfpageheight}{\paperheight}
177 \setlength{\pagewidth}{\paperwidth}
178 \setlength{\pageheight}{\paperheight}
181 \setlength\lineskip{1\p@}
182 \setlength\normallineskip{1\p@}
183 \renewcommand{\baselinestretch}{}
184 \setlength\parskip{0\p@ \@plus \p@}
185 \setlength\parindent{1\Cwd}
189 \setcounter{topnumber}{2}
190 \setcounter{bottomnumber}{1}
191 \setcounter{totalnumber}{3}
192 \setcounter{dbltopnumber}{2}
193 \renewcommand{\topfraction}{.7}
194 \renewcommand{\bottomfraction}{.3}
195 \renewcommand{\textfraction}{.2}
196 \renewcommand{\floatpagefraction}{.5}
197 \renewcommand{\dbltopfraction}{.7}
198 \renewcommand{\dblfloatpagefraction}{.5}
199 \def\pltx@cleartorightpage{\clearpage\if@twoside
200 \unless\ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
201 \hbox{}\thispagestyle{empty}\newpage
202 \if@twocolumn\hbox{}\newpage\fi
204 \def\pltx@cleartoleftpage{\clearpage\if@twoside
205 \ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
206 \hbox{}\thispagestyle{empty}\newpage
207 \if@twocolumn\hbox{}\newpage\fi
209 \def\pltx@cleartooddpage{\clearpage\if@twoside
211 \hbox{}\thispagestyle{empty}\newpage
212 \if@twocolumn\hbox{}\newpage\fi
214 \def\pltx@cleartoevenpage{\clearpage\if@twoside
216 \hbox{}\thispagestyle{empty}\newpage
217 \if@twocolumn\hbox{}\newpage\fi
220 \let\cleardoublepage\pltx@cleartoleftpage
222 \let\cleardoublepage\pltx@cleartorightpage
224 \def\ps@plain{\let\@mkboth\@gobbletwo
225 \let\ps@jpl@in\ps@plain
227 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
228 \let\@evenhead\@empty
229 \let\@evenfoot\@oddfoot}
230 \let\ps@jpl@in\ps@plain
231 \def\ps@headnombre{\let\@mkboth\@gobbletwo
232 \let\ps@jpl@in\ps@headnombre
233 \def\@evenhead{\thepage\hfil}%
234 \def\@oddhead{\hfil\thepage}%
235 \let\@oddfoot\@empty\let\@evenfoot\@empty}
236 \def\ps@footnombre{\let\@mkboth\@gobbletwo
237 \let\ps@jpl@in\ps@footnombre
238 \def\@evenfoot{\thepage\hfil}%
239 \def\@oddfoot{\hfil\thepage}%
240 \let\@oddhead\@empty\let\@evenhead\@empty}
242 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
243 \let\@oddfoot\@empty\let\@evenfoot\@empty
244 \def\@evenhead{\thepage\hfil\leftmark}%
245 \def\@oddhead{{\rightmark}\hfil\thepage}%
246 \let\@mkboth\markboth
247 \def\chaptermark##1{\markboth{%
248 \ifnum \c@secnumdepth >\m@ne
249 \@chapapp\thechapter\@chappos\hskip1\zw
252 \def\sectionmark##1{\markright{%
253 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
256 \else % if not twoside
257 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
259 \def\@oddhead{{\rightmark}\hfil\thepage}%
260 \let\@mkboth\markboth
261 \def\chaptermark##1{\markright{%
262 \ifnum \c@secnumdepth >\m@ne
263 \@chapapp\thechapter\@chappos\hskip1\zw
269 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
270 \def\@evenhead{\leftmark\hfil}% right page
271 \def\@evenfoot{\thepage\hfil}% right page
272 \def\@oddhead{\hfil\rightmark}% left page
273 \def\@oddfoot{\hfil\thepage}% left page
274 \let\@mkboth\markboth
275 \def\chaptermark##1{\markboth{%
276 \ifnum \c@secnumdepth >\m@ne
277 \@chapapp\thechapter\@chappos\hskip1\zw
280 \def\sectionmark##1{\markright{%
281 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
284 \else % if one column
285 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
286 \def\@oddhead{\hfil\rightmark}%
287 \def\@oddfoot{\hfil\thepage}%
288 \let\@mkboth\markboth
289 \def\chaptermark##1{\markright{%
290 \ifnum \c@secnumdepth >\m@ne
291 \@chapapp\thechapter\@chappos\hskip1\zw
296 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
297 \let\@oddfoot\@empty\let\@evenfoot\@empty
298 \def\@evenhead{\thepage\hfil\leftmark}%
299 \def\@oddhead{{\rightmark}\hfil\thepage}%
300 \let\@mkboth\@gobbletwo
301 \let\chaptermark\@gobble
302 \let\sectionmark\@gobble
305 \newenvironment{titlepage}
307 \if@twocolumn\@restonecoltrue\onecolumn
308 \else\@restonecolfalse\newpage\fi
309 \thispagestyle{empty}%
312 {\if@restonecol\twocolumn\else\newpage\fi
315 \newenvironment{titlepage}
318 \@restonecoltrue\onecolumn
320 \@restonecolfalse\newpage
322 \thispagestyle{empty}%
323 \ifodd\c@page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017/02/15
325 {\if@restonecol\twocolumn \else \newpage \fi
327 \setcounter{page}\@ne
331 \def\p@thanks#1{\footnotemark
332 \protected@xdef\@thanks{\@thanks
333 \protect{\noindent\hbox{\yoko$\m@th^\thefootnote$}#1\protect\par}}}
335 \newcommand{\maketitle}{\begin{titlepage}%
336 \let\footnotesize\small
337 \let\footnoterule\relax
342 {\LARGE \@title \par}%
346 \begin{tabular}[t]{c}%
350 {\large \@date \par}% % Set date in \large size.
354 \setcounter{footnote}{0}%
355 \global\let\thanks\relax
356 \global\let\maketitle\relax
357 \global\let\p@thanks\relax
358 \global\let\@thanks\@empty
359 \global\let\@author\@empty
360 \global\let\@date\@empty
361 \global\let\@title\@empty
362 \global\let\title\relax
363 \global\let\author\relax
364 \global\let\date\relax
365 \global\let\and\relax
368 \newcommand{\maketitle}{\par
370 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
371 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
372 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
373 \long\def\@makefntext##1{\parindent 1em\noindent
374 \hb@xt@1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
376 \ifnum \col@number=\@ne \@maketitle
377 \else \twocolumn[\@maketitle]%
381 \global\@topnum\z@ % Prevents figures from going at top of page.
384 \thispagestyle{jpl@in}\@thanks
386 \setcounter{footnote}{0}%
387 \global\let\thanks\relax
388 \global\let\maketitle\relax
389 \global\let\@maketitle\relax
390 \global\let\p@thanks\relax
391 \global\let\@thanks\@empty
392 \global\let\@author\@empty
393 \global\let\@date\@empty
394 \global\let\@title\@empty
395 \global\let\title\relax
396 \global\let\author\relax
397 \global\let\date\relax
398 \global\let\and\relax
405 {\LARGE \@title \par}%
409 \begin{tabular}[t]{c}%
418 \newenvironment{abstract}{%
421 \@beginparpenalty\@lowpenalty
423 {\bfseries\abstractname}%
426 {\par\vfil\null\endtitlepage}
428 \newenvironment{abstract}{%
430 \section*{\abstractname}%
434 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
437 \fi}{\if@twocolumn\else\endquotation\fi}
439 \newcommand*{\chaptermark}[1]{}
440 \setcounter{secnumdepth}{2}
443 \newcounter{section}[chapter]
444 \newcounter{subsection}[section]
445 \newcounter{subsubsection}[subsection]
446 \newcounter{paragraph}[subsubsection]
447 \newcounter{subparagraph}[paragraph]
448 \renewcommand{\thepart}{\@Roman\c@part}
449 \renewcommand{\thechapter}{\@arabic\c@chapter}
450 \renewcommand{\thesection}{\thechapter.\@arabic\c@section}
451 \renewcommand{\thesubsection}{\thesection.\@arabic\c@subsection}
452 \renewcommand{\thesubsubsection}{%
453 \thesubsection.\@arabic\c@subsubsection}
454 \renewcommand{\theparagraph}{%
455 \thesubsubsection.\@arabic\c@paragraph}
456 \renewcommand{\thesubparagraph}{%
457 \theparagraph.\@arabic\c@subparagraph}
458 \newcommand{\@chapapp}{\prechaptername}
459 \newcommand{\@chappos}{\postchaptername}
461 \if@openleft \cleardoublepage \else
462 \if@openright \cleardoublepage \else \clearpage \fi \fi
463 \thispagestyle{empty}%
464 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
466 \secdef\@part\@spart}
468 \ifnum \c@secnumdepth >-2\relax
469 \refstepcounter{part}%
470 \addcontentsline{toc}{part}{%
471 \prepartname\thepart\postpartname\hspace{1em}#1}%
473 \addcontentsline{toc}{part}{#1}%
477 \interlinepenalty\@M\normalfont
478 \ifnum \c@secnumdepth >-2\relax
479 \huge\bfseries\prepartname\thepart\postpartname
482 \Huge\bfseries#2\par}%
486 \interlinepenalty\@M\normalfont
487 \Huge\bfseries#1\par}%
489 \def\@endpart{\vfil\newpage
491 \if@openleft %% \if@openleft added (2017/02/15)
492 \null\thispagestyle{empty}\newpage
493 \else\if@openright %% \if@openright added (2016/12/18)
494 \null\thispagestyle{empty}\newpage
495 \fi\fi %% added (2016/12/18, 2017/02/15)
497 \if@tempswa\twocolumn\fi}
498 \newcommand{\chapter}{%
499 \if@openleft \cleardoublepage \else
500 \if@openright \cleardoublepage \else \clearpage \fi \fi
501 \thispagestyle{jpl@in}%
504 \secdef\@chapter\@schapter}
505 \def\@chapter[#1]#2{%
506 \ifnum \c@secnumdepth >\m@ne
507 \refstepcounter{chapter}%
508 \typeout{\@chapapp\space\thechapter\space\@chappos}%
509 \addcontentsline{toc}{chapter}%
510 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
512 \addcontentsline{toc}{chapter}{#1}%
515 \addtocontents{lof}{\protect\addvspace{10\p@}}%
516 \addtocontents{lot}{\protect\addvspace{10\p@}}%
517 \@makechapterhead{#2}\@afterheading}
518 \def\@makechapterhead#1{\hbox{}%
522 \normalfont\huge\bfseries
524 \ifnum \c@secnumdepth >\m@ne
525 \setlength\@tempdima{\linewidth}%
526 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
527 \addtolength\@tempdima{-\wd\z@}%
529 \vtop{\hsize\@tempdima#1}%
532 \fi}\nobreak\vskip3\Cvs}
534 \@makeschapterhead{#1}\@afterheading
536 \def\@makeschapterhead#1{\hbox{}%
540 \normalfont\huge\bfseries
542 \setlength\@tempdima{\linewidth}%
543 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
544 \newcommand{\section}{\@startsection{section}{1}{\z@}%
545 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
546 {.5\Cvs \@plus.3\Cvs}%
547 {\normalfont\Large\bfseries}}
548 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
549 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
550 {.5\Cvs \@plus.3\Cvs}%
551 {\normalfont\large\bfseries}}
552 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
553 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
554 {.5\Cvs \@plus.3\Cvs}%
555 {\normalfont\normalsize\bfseries}}
556 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
557 {3.25ex \@plus 1ex \@minus .2ex}%
559 {\normalfont\normalsize\bfseries}}
560 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
561 {3.25ex \@plus 1ex \@minus .2ex}%
563 {\normalfont\normalsize\bfseries}}
564 \newcommand{\appendix}{\par
565 \setcounter{chapter}{0}%
566 \setcounter{section}{0}%
567 \renewcommand{\@chapapp}{\appendixname}%
568 \renewcommand{\@chappos}\space%
569 \renewcommand{\thechapter}{\@Alph\c@chapter}}
571 \setlength\leftmargini {2em}
573 \setlength\leftmargini {2.5em}
575 \setlength\leftmarginii {2.2em}
576 \setlength\leftmarginiii {1.87em}
577 \setlength\leftmarginiv {1.7em}
579 \setlength\leftmarginv {.5em}
580 \setlength\leftmarginvi{.5em}
582 \setlength\leftmarginv {1em}
583 \setlength\leftmarginvi{1em}
585 \setlength \labelsep {.5em}
586 \setlength \labelwidth{\leftmargini}
587 \addtolength\labelwidth{-\labelsep}
588 \@beginparpenalty -\@lowpenalty
589 \@endparpenalty -\@lowpenalty
590 \@itempenalty -\@lowpenalty
591 \renewcommand{\theenumi}{\@arabic\c@enumi}
592 \renewcommand{\theenumii}{\@alph\c@enumii}
593 \renewcommand{\theenumiii}{\@roman\c@enumiii}
594 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
595 \newcommand{\labelenumi}{\theenumi.}
596 \newcommand{\labelenumii}{(\theenumii)}
597 \newcommand{\labelenumiii}{\theenumiii.}
598 \newcommand{\labelenumiv}{\theenumiv.}
599 \renewcommand{\p@enumii}{\theenumi}
600 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
601 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
602 \renewenvironment{enumerate}
603 {\ifnum \@enumdepth >\thr@@\@toodeep\else
604 \advance\@enumdepth\@ne
605 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
606 \expandafter \list \csname label\@enumctr\endcsname{%
607 \ifnum\ltjgetparameter{direction}=3
608 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
610 \parskip\z@ \itemsep\z@ \parsep\z@
611 \labelwidth1\zw \labelsep.3\zw
612 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
613 \else\leftmargin\leftskip\fi
614 \advance\leftmargin 1\zw
616 \usecounter{\@enumctr}%
617 \def\makelabel##1{\hss\llap{##1}}}%
619 \newcommand{\labelitemi}{\textbullet}
620 \newcommand{\labelitemii}{%
621 \ifnum\ltjgetparameter{direction}=3
624 {\normalfont\bfseries\textendash}
627 \newcommand{\labelitemiii}{\textasteriskcentered}
628 \newcommand{\labelitemiv}{\textperiodcentered}
629 \renewenvironment{itemize}
630 {\ifnum \@itemdepth >\thr@@\@toodeep\else
631 \advance\@itemdepth\@ne
632 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
633 \expandafter \list \csname \@itemitem\endcsname{%
634 \ifnum\ltjgetparameter{direction}=3
635 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
637 \parskip\z@ \itemsep\z@ \parsep\z@
638 \labelwidth1\zw \labelsep.3\zw
639 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
640 \else\leftmargin\leftskip\fi
641 \advance\leftmargin 1\zw
643 \def\makelabel##1{\hss\llap{##1}}}%
645 \newenvironment{description}
646 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
647 \ifnum\ltjgetparameter{direction}=3
648 \leftmargin\leftskip \advance\leftmargin3\Cwd
649 \rightmargin\rightskip
650 \labelsep=1\zw \itemsep\z@
651 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
653 \let\makelabel\descriptionlabel}}{\endlist}
654 \newcommand{\descriptionlabel}[1]{%
655 \hspace\labelsep\normalfont\bfseries #1}
656 \newenvironment{verse}
658 \list{}{\itemsep\z@ \itemindent -1.5em%
659 \listparindent\itemindent
660 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
661 \item\relax}{\endlist}
662 \newenvironment{quotation}
663 {\list{}{\listparindent 1.5em%
664 \itemindent\listparindent
665 \rightmargin\leftmargin
666 \parsep\z@ \@plus\p@}%
667 \item\relax}{\endlist}
668 \newenvironment{quote}
669 {\list{}{\rightmargin\leftmargin}%
670 \item\relax}{\endlist}
671 \newcounter{figure}[chapter]
672 \renewcommand{\thefigure}{%
673 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@figure}
677 \def\fnum@figure{\figurename~\thefigure}
678 \newenvironment{figure}
681 \newenvironment{figure*}
684 \newcounter{table}[chapter]
685 \renewcommand{\thetable}{%
686 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@table}
690 \def\fnum@table{\tablename~\thetable}
691 \newenvironment{table}
694 \newenvironment{table*}
697 \newlength\abovecaptionskip
698 \newlength\belowcaptionskip
699 \setlength\abovecaptionskip{10\p@}
700 \setlength\belowcaptionskip{0\p@}
701 \long\def\@makecaption#1#2{%
702 \vskip\abovecaptionskip
703 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
704 \else\sbox\@tempboxa{#1: #2}%
706 \ifdim \wd\@tempboxa >\hsize
707 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
708 \else #1: #2\relax\par\fi
710 \global \@minipagefalse
711 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
713 \vskip\belowcaptionskip}
714 \setlength\arraycolsep{5\p@}
715 \setlength\tabcolsep{6\p@}
716 \setlength\arrayrulewidth{.4\p@}
717 \setlength\doublerulesep{2\p@}
718 \setlength\tabbingsep{\labelsep}
719 \skip\@mpfootins = \skip\footins
720 \setlength\fboxsep{3\p@}
721 \setlength\fboxrule{.4\p@}
722 \@addtoreset{equation}{chapter}
723 \renewcommand{\theequation}{%
724 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
725 \if@compatibility\else
726 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
727 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
728 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
730 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
734 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
735 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
738 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
739 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
740 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
741 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
742 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
743 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
744 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
745 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
746 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
747 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
748 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
749 \setcounter{tocdepth}{2}
750 \newcommand{\@pnumwidth}{1.55em}
751 \newcommand{\@tocrmarg}{2.55em}
752 \newcommand{\@dotsep}{4.5}
753 \newdimen\toclineskip
754 \setlength\toclineskip{\z@}
756 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
757 \def\@dottedtocline#1#2#3#4#5{%
758 \ifnum #1>\c@tocdepth \else
759 \vskip\toclineskip \@plus.2\p@
760 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
761 \parindent #2\relax\@afterindenttrue
765 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
767 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
769 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
772 \def\addcontentsline#1#2#3{%
773 \protected@write\@auxout
774 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
775 \@temptokena{\thepage}}%
776 {\string\@writefile{#1}%
777 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
779 \newcommand{\tableofcontents}{%
780 \if@twocolumn\@restonecoltrue\onecolumn
781 \else\@restonecolfalse\fi
782 \chapter*{\contentsname
783 \@mkboth{\contentsname}{\contentsname}%
785 \if@restonecol\twocolumn\fi
787 \newcommand*{\l@part}[2]{%
788 \ifnum \c@tocdepth >-2\relax
789 \addpenalty{-\@highpenalty}%
790 \addvspace{2.25em \@plus\p@}%
792 \parindent\z@\rightskip\@pnumwidth
793 \parfillskip-\@pnumwidth
794 {\leavevmode\large\bfseries
795 \setlength\@lnumwidth{4\zw}%
797 \hb@xt@\@pnumwidth{\hss#2}}\par
800 \everypar{\global\@nobreakfalse\everypar{}}%
803 \newcommand*{\l@chapter}[2]{%
804 \ifnum \c@tocdepth >\m@ne
805 \addpenalty{-\@highpenalty}%
806 \addvspace{1.0em \@plus\p@}%
808 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
810 \setlength\@lnumwidth{4\zw}%
811 \advance\leftskip\@lnumwidth \hskip-\leftskip
812 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
813 \penalty\@highpenalty
816 \newcommand*{\l@section}{\@dottedtocline{1}{1.5em}{2.3em}}
817 \newcommand*{\l@subsection} {\@dottedtocline{2}{3.8em}{3.2em}}
818 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{7.0em}{4.1em}}
819 \newcommand*{\l@paragraph} {\@dottedtocline{4}{10em}{5em}}
820 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{12em}{6em}}
821 \newcommand{\listoffigures}{%
822 \if@twocolumn\@restonecoltrue\onecolumn
823 \else\@restonecolfalse\fi
824 \chapter*{\listfigurename}%
825 \@mkboth{\listfigurename}{\listfigurename}%
827 \if@restonecol\twocolumn\fi
829 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
830 \newcommand{\listoftables}{%
831 \if@twocolumn\@restonecoltrue\onecolumn
832 \else\@restonecolfalse\fi
833 \chapter*{\listtablename}%
834 \@mkboth{\listtablename}{\listtablename}%
836 \if@restonecol\twocolumn\fi
838 \let\l@table\l@figure
840 \setlength\bibindent{1.5em}
841 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
842 \newenvironment{thebibliography}[1]
843 {\chapter*{\bibname}\@mkboth{\bibname}{\bibname}%
844 \list{\@biblabel{\@arabic\c@enumiv}}%
845 {\settowidth\labelwidth{\@biblabel{#1}}%
846 \leftmargin\labelwidth
847 \advance\leftmargin\labelsep
851 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
854 \@clubpenalty\clubpenalty
858 {\@latex@warning{Empty `thebibliography' environment}}%
860 \let\@openbib@code\@empty
861 \newenvironment{theindex}
862 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
863 \twocolumn[\@makeschapterhead{\indexname}]%
864 \@mkboth{\indexname}{\indexname}%
865 \thispagestyle{jpl@in}\parindent\z@
866 \parskip\z@ \@plus .3\p@\relax
867 \columnseprule\z@ \columnsep 35\p@
869 {\if@restonecol\onecolumn\else\clearpage\fi}
870 \newcommand{\@idxitem}{\par\hangindent 40\p@}
871 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
872 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
873 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
874 \renewcommand{\footnoterule}{%
876 \hrule\@width.4\columnwidth
878 \@addtoreset{footnote}{chapter}
879 \newcommand\@makefntext[1]{\parindent 1em
880 \noindent\hb@xt@ 1.8em{\hss\@makefnmark}#1}
884 \newcount\heisei \heisei\year \advance\heisei-1988\relax
886 \ifnum\ltjgetparameter{direction}=3
892 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
902 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
907 \newcommand{\prepartname}{第}
908 \newcommand{\postpartname}{部}
909 \newcommand{\prechaptername}{第}
910 \newcommand{\postchaptername}{章}
911 \newcommand{\contentsname}{目 次}
912 \newcommand{\listfigurename}{図 目 次}
913 \newcommand{\listtablename}{表 目 次}
914 \newcommand{\bibname}{関連図書}
915 \newcommand{\indexname}{索 引}
916 \newcommand{\figurename}{図}
917 \newcommand{\tablename}{表}
918 \newcommand{\appendixname}{付 録}
919 \newcommand{\abstractname}{概 要}
921 \pagenumbering{arabic}
923 \fnfixbottomtrue % 2017-02-19
924 \IfFileExists{stfloats.sty}{\RequirePackage{stfloats}\fnbelowfloat}{}
936 \AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext}
937 \AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext}
940 %% End of file `ltjreport.cls'.