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
25 \NeedsTeXFormat{LaTeX2e}
26 \ProvidesClass{ltjreport}
27 [2019/08/12 v1.8b-ltj-17
28 Standard LuaLaTeX-ja class]
29 \RequirePackage{luatexja}
31 \newif\if@landscape \@landscapefalse
32 \newcommand{\@ptsize}{}
38 \hour\time \divide\hour by 60\relax
39 \@tempcnta\hour \multiply\@tempcnta 60\relax
40 \minute\time \advance\minute-\@tempcnta
41 \newif\if@stysize \@stysizefalse
42 \newif\if@mathrmmc \@mathrmmcfalse
43 \DeclareOption{a4paper}{\setcounter{@paper}{1}%
44 \setlength\paperheight {297mm}%
45 \setlength\paperwidth {210mm}}
46 \DeclareOption{a5paper}{\setcounter{@paper}{2}%
47 \setlength\paperheight {210mm}
48 \setlength\paperwidth {148mm}}
49 \DeclareOption{b4paper}{\setcounter{@paper}{3}%
50 \setlength\paperheight {364mm}
51 \setlength\paperwidth {257mm}}
52 \DeclareOption{b5paper}{\setcounter{@paper}{4}%
53 \setlength\paperheight {257mm}
54 \setlength\paperwidth {182mm}}
55 \DeclareOption{a4j}{\setcounter{@paper}{1}\@stysizetrue
56 \setlength\paperheight {297mm}%
57 \setlength\paperwidth {210mm}}
58 \DeclareOption{a5j}{\setcounter{@paper}{2}\@stysizetrue
59 \setlength\paperheight {210mm}
60 \setlength\paperwidth {148mm}}
61 \DeclareOption{b4j}{\setcounter{@paper}{3}\@stysizetrue
62 \setlength\paperheight {364mm}
63 \setlength\paperwidth {257mm}}
64 \DeclareOption{b5j}{\setcounter{@paper}{4}\@stysizetrue
65 \setlength\paperheight {257mm}
66 \setlength\paperwidth {182mm}}
67 \DeclareOption{a4p}{\setcounter{@paper}{1}\@stysizetrue
68 \setlength\paperheight {297mm}%
69 \setlength\paperwidth {210mm}}
70 \DeclareOption{a5p}{\setcounter{@paper}{2}\@stysizetrue
71 \setlength\paperheight {210mm}
72 \setlength\paperwidth {148mm}}
73 \DeclareOption{b4p}{\setcounter{@paper}{3}\@stysizetrue
74 \setlength\paperheight {364mm}
75 \setlength\paperwidth {257mm}}
76 \DeclareOption{b5p}{\setcounter{@paper}{4}\@stysizetrue
77 \setlength\paperheight {257mm}
78 \setlength\paperwidth {182mm}}
80 \renewcommand{\@ptsize}{0}
82 \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
84 \DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
85 \DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
86 \DeclareOption{landscape}{\@landscapetrue
87 \setlength\@tempdima{\paperheight}%
88 \setlength\paperheight{\paperwidth}%
89 \setlength\paperwidth{\@tempdima}}
90 \DeclareOption{tombow}{%
91 \tombowtrue \tombowdatetrue
92 \setlength{\@tombowwidth}{.1\p@}%
94 \jobname\space(\number\year-\two@digits\month-\two@digits\day
95 \space\two@digits\hour:\two@digits\minute)}%
97 \DeclareOption{tombo}{%
98 \tombowtrue \tombowdatefalse
99 \setlength{\@tombowwidth}{.1\p@}%
101 \DeclareOption{mentuke}{%
102 \tombowtrue \tombowdatefalse
103 \setlength{\@tombowwidth}{\z@}%
105 \DeclareOption{tate}{%
106 \tate\AtBeginDocument{\message{《縦組モード》}\adjustbaseline}%
108 \DeclareOption{oneside}{\@twosidefalse}
109 \DeclareOption{twoside}{\@twosidetrue}
110 \DeclareOption{onecolumn}{\@twocolumnfalse}
111 \DeclareOption{twocolumn}{\@twocolumntrue}
112 \DeclareOption{titlepage}{\@titlepagetrue}
113 \DeclareOption{notitlepage}{\@titlepagefalse}
116 \DeclareOption{openright}{\@openrighttrue\@openleftfalse}
117 \DeclareOption{openleft}{\@openlefttrue\@openrightfalse}
118 \DeclareOption{openany}{\@openrightfalse\@openleftfalse}
120 \DeclareOption{leqno}{\input{leqno.clo}}
121 \DeclareOption{fleqn}{\input{fleqn.clo}}
122 \DeclareOption{openbib}{%
124 \renewcommand\@openbib@code{%
125 \advance\leftmargin\bibindent
126 \itemindent -\bibindent
127 \listparindent \itemindent
130 \renewcommand\newblock{\par}}}
134 \DeclareOption{mathrmmc}{\@mathrmmctrue}
136 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
137 \DeclareOption{final}{\setlength\overfullrule{0pt}}
138 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
139 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
140 'ltj.jclasses_load_jfm', 1)}
141 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
142 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
143 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
144 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
145 \ltjglobalsetparameter{differentjfm=both}
146 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
147 \DeclareOption{disablejfam}{}
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 \unless\ifltj@disablejfam
726 \if@compatibility\else
727 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
728 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
729 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
731 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
735 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
736 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
740 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
741 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
742 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
743 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
744 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
745 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
746 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
747 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
748 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
749 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
750 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
751 \setcounter{tocdepth}{2}
752 \newcommand{\@pnumwidth}{1.55em}
753 \newcommand{\@tocrmarg}{2.55em}
754 \newcommand{\@dotsep}{4.5}
755 \newdimen\toclineskip
756 \setlength\toclineskip{\z@}
758 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
759 \def\@dottedtocline#1#2#3#4#5{%
760 \ifnum #1>\c@tocdepth \else
761 \vskip\toclineskip \@plus.2\p@
762 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
763 \parindent #2\relax\@afterindenttrue
767 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
769 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
771 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
774 \providecommand*\protected@file@percent{}
775 \def\addcontentsline#1#2#3{%
776 \protected@write\@auxout
777 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
778 \@temptokena{\thepage}}%
779 {\string\@writefile{#1}%
780 {\protect\contentsline{#2}{#3}{\the\@temptokena}%
781 \protected@file@percent}}%
783 \newcommand{\tableofcontents}{%
784 \if@twocolumn\@restonecoltrue\onecolumn
785 \else\@restonecolfalse\fi
786 \chapter*{\contentsname
787 \@mkboth{\contentsname}{\contentsname}%
789 \if@restonecol\twocolumn\fi
791 \newcommand*{\l@part}[2]{%
792 \ifnum \c@tocdepth >-2\relax
793 \addpenalty{-\@highpenalty}%
794 \addvspace{2.25em \@plus\p@}%
796 \parindent\z@\rightskip\@pnumwidth
797 \parfillskip-\@pnumwidth
798 {\leavevmode\large\bfseries
799 \setlength\@lnumwidth{4\zw}%
801 \hb@xt@\@pnumwidth{\hss#2}}\par
804 \everypar{\global\@nobreakfalse\everypar{}}%
807 \newcommand*{\l@chapter}[2]{%
808 \ifnum \c@tocdepth >\m@ne
809 \addpenalty{-\@highpenalty}%
810 \addvspace{1.0em \@plus\p@}%
812 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
814 \setlength\@lnumwidth{4\zw}%
815 \advance\leftskip\@lnumwidth \hskip-\leftskip
816 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
817 \penalty\@highpenalty
820 \newcommand*{\l@section}{\@dottedtocline{1}{1.5em}{2.3em}}
821 \newcommand*{\l@subsection} {\@dottedtocline{2}{3.8em}{3.2em}}
822 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{7.0em}{4.1em}}
823 \newcommand*{\l@paragraph} {\@dottedtocline{4}{10em}{5em}}
824 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{12em}{6em}}
825 \newcommand{\listoffigures}{%
826 \if@twocolumn\@restonecoltrue\onecolumn
827 \else\@restonecolfalse\fi
828 \chapter*{\listfigurename}%
829 \@mkboth{\listfigurename}{\listfigurename}%
831 \if@restonecol\twocolumn\fi
833 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
834 \newcommand{\listoftables}{%
835 \if@twocolumn\@restonecoltrue\onecolumn
836 \else\@restonecolfalse\fi
837 \chapter*{\listtablename}%
838 \@mkboth{\listtablename}{\listtablename}%
840 \if@restonecol\twocolumn\fi
842 \let\l@table\l@figure
844 \setlength\bibindent{1.5em}
845 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
846 \newenvironment{thebibliography}[1]
847 {\chapter*{\bibname}\@mkboth{\bibname}{\bibname}%
848 \list{\@biblabel{\@arabic\c@enumiv}}%
849 {\settowidth\labelwidth{\@biblabel{#1}}%
850 \leftmargin\labelwidth
851 \advance\leftmargin\labelsep
855 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
858 \@clubpenalty\clubpenalty
862 {\@latex@warning{Empty `thebibliography' environment}}%
864 \let\@openbib@code\@empty
865 \newenvironment{theindex}
866 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
867 \twocolumn[\@makeschapterhead{\indexname}]%
868 \@mkboth{\indexname}{\indexname}%
869 \thispagestyle{jpl@in}\parindent\z@
870 \parskip\z@ \@plus .3\p@\relax
871 \columnseprule\z@ \columnsep 35\p@
873 {\if@restonecol\onecolumn\else\clearpage\fi}
874 \newcommand{\@idxitem}{\par\hangindent 40\p@}
875 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
876 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
877 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
878 \renewcommand{\footnoterule}{%
880 \hrule\@width.4\columnwidth
882 \@addtoreset{footnote}{chapter}
883 \newcommand\@makefntext[1]{\parindent 1em
884 \noindent\hb@xt@ 1.8em{\hss\@makefnmark}#1}
888 \newcount\heisei \heisei\year \advance\heisei-1988\relax
889 \def\pltx@today@year@#1{%
890 \ifnum\numexpr\year-#1=1 元\else
891 \ifnum\ltjgetparameter{direction}=3
892 \kansuji\numexpr\year-#1\relax
894 \number\numexpr\year-#1\relax\nobreak
898 \def\pltx@today@year{%
899 \ifnum\numexpr\year*10000+\month*100+\day<19890108
900 昭和\pltx@today@year@{1925}%
901 \else\ifnum\numexpr\year*10000+\month*100+\day<20190501
902 平成\pltx@today@year@{1988}%
904 令和\pltx@today@year@{2018}%
908 \ifnum\ltjgetparameter{direction}=3 \kansuji\year
909 \else\number\year\nobreak\fi 年
913 \ifnum\ltjgetparameter{direction}=3
917 \number\month\nobreak 月
918 \number\day\nobreak 日
920 \newcommand{\prepartname}{第}
921 \newcommand{\postpartname}{部}
922 \newcommand{\prechaptername}{第}
923 \newcommand{\postchaptername}{章}
924 \newcommand{\contentsname}{目 次}
925 \newcommand{\listfigurename}{図 目 次}
926 \newcommand{\listtablename}{表 目 次}
927 \newcommand{\bibname}{関連図書}
928 \newcommand{\indexname}{索 引}
929 \newcommand{\figurename}{図}
930 \newcommand{\tablename}{表}
931 \newcommand{\appendixname}{付 録}
932 \newcommand{\abstractname}{概 要}
934 \pagenumbering{arabic}
936 \fnfixbottomtrue % 2017-02-19
937 \IfFileExists{stfloats.sty}{\RequirePackage{stfloats}\fnbelowfloat}{}
949 \AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext}
950 \AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext}
953 %% End of file `ltjreport.cls'.