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 [2022-09-12 v1.8f-ltj-23
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{mathrmmc}{\@mathrmmctrue}
135 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
136 \DeclareOption{final}{\setlength\overfullrule{0pt}}
138 \DeclareOption{ptexmin}{\ptexmintrue}%
139 \DeclareOption{disablejfam}{}
140 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany}
141 \ProcessOptions\relax
143 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
144 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
145 'ltj.jclasses_load_jfm', 1)}
146 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
147 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
148 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:-kern;jfm=min}{}
149 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:-kern;jfm=min;jfmvar=goth}{}
150 \ltjglobalsetparameter{differentjfm=both}
151 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
153 \input{ltjsize1\@ptsize.clo}
155 \def\Cjascale{0.962216}
157 \setlength\columnsep{2\Cwd}
159 \setlength\columnsep{10\p@}
161 \setlength\columnseprule{0\p@}
163 \ifdefined\stockwidth\else\newlength{\stockwidth}\fi
164 \ifdefined\stockheight\else\newlength{\stockheight}\fi
165 \setlength{\stockwidth}{\paperwidth}
166 \setlength{\stockheight}{\paperheight}
167 \advance \stockwidth 2in
168 \advance \stockheight 2in
169 \ifdefined\pdfpagewidth
170 \setlength{\pdfpagewidth}{\stockwidth}
171 \setlength{\pdfpageheight}{\stockheight}
173 \setlength{\pagewidth}{\stockwidth}
174 \setlength{\pageheight}{\stockheight}
177 \ifdefined\pdfpagewidth
178 \setlength{\pdfpagewidth}{\paperwidth}
179 \setlength{\pdfpageheight}{\paperheight}
181 \setlength{\pagewidth}{\paperwidth}
182 \setlength{\pageheight}{\paperheight}
185 \setlength\lineskip{1\p@}
186 \setlength\normallineskip{1\p@}
187 \renewcommand{\baselinestretch}{}
188 \setlength\parskip{0\p@ \@plus \p@}
189 \setlength\parindent{1\Cwd}
193 \setcounter{topnumber}{2}
194 \setcounter{bottomnumber}{1}
195 \setcounter{totalnumber}{3}
196 \setcounter{dbltopnumber}{2}
197 \renewcommand{\topfraction}{.7}
198 \renewcommand{\bottomfraction}{.3}
199 \renewcommand{\textfraction}{.2}
200 \renewcommand{\floatpagefraction}{.5}
201 \renewcommand{\dbltopfraction}{.7}
202 \renewcommand{\dblfloatpagefraction}{.5}
203 \def\pltx@cleartorightpage{\clearpage\if@twoside
204 \unless\ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
205 \hbox{}\thispagestyle{empty}\newpage
206 \if@twocolumn\hbox{}\newpage\fi
208 \def\pltx@cleartoleftpage{\clearpage\if@twoside
209 \ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
210 \hbox{}\thispagestyle{empty}\newpage
211 \if@twocolumn\hbox{}\newpage\fi
213 \def\pltx@cleartooddpage{\clearpage\if@twoside
215 \hbox{}\thispagestyle{empty}\newpage
216 \if@twocolumn\hbox{}\newpage\fi
218 \def\pltx@cleartoevenpage{\clearpage\if@twoside
220 \hbox{}\thispagestyle{empty}\newpage
221 \if@twocolumn\hbox{}\newpage\fi
224 \let\cleardoublepage\pltx@cleartoleftpage
226 \let\cleardoublepage\pltx@cleartorightpage
228 \def\ps@plain{\let\@mkboth\@gobbletwo
229 \let\ps@jpl@in\ps@plain
231 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
232 \let\@evenhead\@empty
233 \let\@evenfoot\@oddfoot}
234 \let\ps@jpl@in\ps@plain
235 \def\ps@headnombre{\let\@mkboth\@gobbletwo
236 \let\ps@jpl@in\ps@headnombre
237 \def\@evenhead{\thepage\hfil}%
238 \def\@oddhead{\hfil\thepage}%
239 \let\@oddfoot\@empty\let\@evenfoot\@empty}
240 \def\ps@footnombre{\let\@mkboth\@gobbletwo
241 \let\ps@jpl@in\ps@footnombre
242 \def\@evenfoot{\thepage\hfil}%
243 \def\@oddfoot{\hfil\thepage}%
244 \let\@oddhead\@empty\let\@evenhead\@empty}
246 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
247 \let\@oddfoot\@empty\let\@evenfoot\@empty
248 \def\@evenhead{\thepage\hfil\leftmark}%
249 \def\@oddhead{{\rightmark}\hfil\thepage}%
250 \let\@mkboth\markboth
251 \def\chaptermark##1{\markboth{%
252 \ifnum \c@secnumdepth >\m@ne
253 \@chapapp\thechapter\@chappos\hskip1\zw
256 \def\sectionmark##1{\markright{%
257 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
260 \else % if not twoside
261 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
263 \def\@oddhead{{\rightmark}\hfil\thepage}%
264 \let\@mkboth\markboth
265 \def\chaptermark##1{\markright{%
266 \ifnum \c@secnumdepth >\m@ne
267 \@chapapp\thechapter\@chappos\hskip1\zw
273 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
274 \def\@evenhead{\leftmark\hfil}% right page
275 \def\@evenfoot{\thepage\hfil}% right page
276 \def\@oddhead{\hfil\rightmark}% left page
277 \def\@oddfoot{\hfil\thepage}% left page
278 \let\@mkboth\markboth
279 \def\chaptermark##1{\markboth{%
280 \ifnum \c@secnumdepth >\m@ne
281 \@chapapp\thechapter\@chappos\hskip1\zw
284 \def\sectionmark##1{\markright{%
285 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
288 \else % if one column
289 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
290 \def\@oddhead{\hfil\rightmark}%
291 \def\@oddfoot{\hfil\thepage}%
292 \let\@mkboth\markboth
293 \def\chaptermark##1{\markright{%
294 \ifnum \c@secnumdepth >\m@ne
295 \@chapapp\thechapter\@chappos\hskip1\zw
300 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
301 \let\@oddfoot\@empty\let\@evenfoot\@empty
302 \def\@evenhead{\thepage\hfil\leftmark}%
303 \def\@oddhead{{\rightmark}\hfil\thepage}%
304 \let\@mkboth\@gobbletwo
305 \let\chaptermark\@gobble
306 \let\sectionmark\@gobble
309 \newenvironment{titlepage}
311 \if@twocolumn\@restonecoltrue\onecolumn
312 \else\@restonecolfalse\newpage\fi
313 \thispagestyle{empty}%
316 {\if@restonecol\twocolumn\else\newpage\fi
319 \newenvironment{titlepage}
322 \@restonecoltrue\onecolumn
324 \@restonecolfalse\newpage
326 \thispagestyle{empty}%
327 \ifodd\c@page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017/02/15
329 {\if@restonecol\twocolumn \else \newpage \fi
331 \setcounter{page}\@ne
335 \def\p@thanks#1{\footnotemark
336 \protected@xdef\@thanks{\@thanks
337 \protect{\noindent\hbox{\yoko$\m@th^\thefootnote$}#1\protect\par}}}
339 \newcommand{\maketitle}{\begin{titlepage}%
340 \let\footnotesize\small
341 \let\footnoterule\relax
346 {\LARGE \@title \par}%
350 \begin{tabular}[t]{c}%
354 {\large \@date \par}% % Set date in \large size.
358 \setcounter{footnote}{0}%
359 \global\let\thanks\relax
360 \global\let\maketitle\relax
361 \global\let\p@thanks\relax
362 \global\let\@thanks\@empty
363 \global\let\@author\@empty
364 \global\let\@date\@empty
365 \global\let\@title\@empty
366 \global\let\title\relax
367 \global\let\author\relax
368 \global\let\date\relax
369 \global\let\and\relax
372 \newcommand{\maketitle}{\par
374 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
375 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
376 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
377 \long\def\@makefntext##1{\parindent 1em\noindent
378 \hb@xt@1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
380 \ifnum \col@number=\@ne \@maketitle
381 \else \twocolumn[\@maketitle]%
385 \global\@topnum\z@ % Prevents figures from going at top of page.
388 \thispagestyle{jpl@in}\@thanks
390 \setcounter{footnote}{0}%
391 \global\let\thanks\relax
392 \global\let\maketitle\relax
393 \global\let\@maketitle\relax
394 \global\let\p@thanks\relax
395 \global\let\@thanks\@empty
396 \global\let\@author\@empty
397 \global\let\@date\@empty
398 \global\let\@title\@empty
399 \global\let\title\relax
400 \global\let\author\relax
401 \global\let\date\relax
402 \global\let\and\relax
409 {\LARGE \@title \par}%
413 \begin{tabular}[t]{c}%
422 \newenvironment{abstract}{%
425 \@beginparpenalty\@lowpenalty
427 {\bfseries\abstractname}%
430 {\par\vfil\null\endtitlepage}
432 \newenvironment{abstract}{%
434 \section*{\abstractname}%
438 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
441 \fi}{\if@twocolumn\else\endquotation\fi}
443 \newcommand*{\chaptermark}[1]{}
444 \setcounter{secnumdepth}{2}
447 \newcounter{section}[chapter]
448 \newcounter{subsection}[section]
449 \newcounter{subsubsection}[subsection]
450 \newcounter{paragraph}[subsubsection]
451 \newcounter{subparagraph}[paragraph]
452 \renewcommand{\thepart}{\@Roman\c@part}
453 \renewcommand{\thechapter}{\@arabic\c@chapter}
454 \renewcommand{\thesection}{\thechapter.\@arabic\c@section}
455 \renewcommand{\thesubsection}{\thesection.\@arabic\c@subsection}
456 \renewcommand{\thesubsubsection}{%
457 \thesubsection.\@arabic\c@subsubsection}
458 \renewcommand{\theparagraph}{%
459 \thesubsubsection.\@arabic\c@paragraph}
460 \renewcommand{\thesubparagraph}{%
461 \theparagraph.\@arabic\c@subparagraph}
462 \newcommand{\@chapapp}{\prechaptername}
463 \newcommand{\@chappos}{\postchaptername}
465 \if@openleft \cleardoublepage \else
466 \if@openright \cleardoublepage \else \clearpage \fi \fi
467 \thispagestyle{empty}%
468 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
470 \secdef\@part\@spart}
472 \ifnum \c@secnumdepth >-2\relax
473 \refstepcounter{part}%
474 \addcontentsline{toc}{part}{%
475 \prepartname\thepart\postpartname\hspace{1em}#1}%
477 \addcontentsline{toc}{part}{#1}%
481 \interlinepenalty\@M\normalfont
482 \ifnum \c@secnumdepth >-2\relax
483 \huge\bfseries\prepartname\thepart\postpartname
486 \Huge\bfseries#2\par}%
490 \interlinepenalty\@M\normalfont
491 \Huge\bfseries#1\par}%
493 \def\@endpart{\vfil\newpage
495 \if@openleft %% \if@openleft added (2017/02/15)
496 \null\thispagestyle{empty}\newpage
497 \else\if@openright %% \if@openright added (2016/12/18)
498 \null\thispagestyle{empty}\newpage
499 \fi\fi %% added (2016/12/18, 2017/02/15)
501 \if@tempswa\twocolumn\fi}
502 \newcommand{\chapter}{%
503 \if@openleft \cleardoublepage \else
504 \if@openright \cleardoublepage \else \clearpage \fi \fi
505 \thispagestyle{jpl@in}%
508 \secdef\@chapter\@schapter}
509 \def\@chapter[#1]#2{%
510 \ifnum \c@secnumdepth >\m@ne
511 \refstepcounter{chapter}%
512 \typeout{\@chapapp\space\thechapter\space\@chappos}%
513 \addcontentsline{toc}{chapter}%
514 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
516 \addcontentsline{toc}{chapter}{#1}%
519 \addtocontents{lof}{\protect\addvspace{10\p@}}%
520 \addtocontents{lot}{\protect\addvspace{10\p@}}%
521 \@makechapterhead{#2}\@afterheading}
522 \def\@makechapterhead#1{\hbox{}%
526 \normalfont\huge\bfseries
528 \ifnum \c@secnumdepth >\m@ne
529 \setlength\@tempdima{\linewidth}%
530 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
531 \addtolength\@tempdima{-\wd\z@}%
533 \vtop{\hsize\@tempdima#1}%
536 \fi}\nobreak\vskip3\Cvs}
538 \@makeschapterhead{#1}\@afterheading
540 \def\@makeschapterhead#1{\hbox{}%
544 \normalfont\huge\bfseries
546 \setlength\@tempdima{\linewidth}%
547 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
548 \newcommand{\section}{\@startsection{section}{1}{\z@}%
549 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
550 {.5\Cvs \@plus.3\Cvs}%
551 {\normalfont\Large\bfseries}}
552 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
553 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
554 {.5\Cvs \@plus.3\Cvs}%
555 {\normalfont\large\bfseries}}
556 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
557 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
558 {.5\Cvs \@plus.3\Cvs}%
559 {\normalfont\normalsize\bfseries}}
560 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
561 {3.25ex \@plus 1ex \@minus .2ex}%
563 {\normalfont\normalsize\bfseries}}
564 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
565 {3.25ex \@plus 1ex \@minus .2ex}%
567 {\normalfont\normalsize\bfseries}}
568 \newcommand{\appendix}{\par
569 \setcounter{chapter}{0}%
570 \setcounter{section}{0}%
571 \renewcommand{\@chapapp}{\appendixname}%
572 \renewcommand{\@chappos}\space%
573 \renewcommand{\thechapter}{\@Alph\c@chapter}}
575 \setlength\leftmargini {2em}
577 \setlength\leftmargini {2.5em}
579 \setlength\leftmarginii {2.2em}
580 \setlength\leftmarginiii {1.87em}
581 \setlength\leftmarginiv {1.7em}
583 \setlength\leftmarginv {.5em}
584 \setlength\leftmarginvi{.5em}
586 \setlength\leftmarginv {1em}
587 \setlength\leftmarginvi{1em}
589 \setlength \labelsep {.5em}
590 \setlength \labelwidth{\leftmargini}
591 \addtolength\labelwidth{-\labelsep}
592 \@beginparpenalty -\@lowpenalty
593 \@endparpenalty -\@lowpenalty
594 \@itempenalty -\@lowpenalty
595 \renewcommand{\theenumi}{\@arabic\c@enumi}
596 \renewcommand{\theenumii}{\@alph\c@enumii}
597 \renewcommand{\theenumiii}{\@roman\c@enumiii}
598 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
599 \newcommand{\labelenumi}{\theenumi.}
600 \newcommand{\labelenumii}{(\theenumii)}
601 \newcommand{\labelenumiii}{\theenumiii.}
602 \newcommand{\labelenumiv}{\theenumiv.}
603 \renewcommand{\p@enumii}{\theenumi}
604 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
605 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
606 \renewenvironment{enumerate}
607 {\ifnum \@enumdepth >\thr@@\@toodeep\else
608 \advance\@enumdepth\@ne
609 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
610 \expandafter \list \csname label\@enumctr\endcsname{%
611 \ifnum\ltjgetparameter{direction}=3
612 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
614 \parskip\z@ \itemsep\z@ \parsep\z@
615 \labelwidth1\zw \labelsep.3\zw
616 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
617 \else\leftmargin\leftskip\fi
618 \advance\leftmargin 1\zw
620 \usecounter{\@enumctr}%
621 \def\makelabel##1{\hss\llap{##1}}}%
623 \newcommand{\labelitemi}{\labelitemfont \textbullet}
624 \newcommand{\labelitemii}{%
625 \ifnum\ltjgetparameter{direction}=3
626 {\labelitemfont \textcircled{~}}
628 {\labelitemfont \bfseries\textendash}
631 \newcommand{\labelitemiii}{\labelitemfont \textasteriskcentered}
632 \newcommand{\labelitemiv}{\labelitemfont \textperiodcentered}
633 \newcommand\labelitemfont{\normalfont}
634 \renewenvironment{itemize}
635 {\ifnum \@itemdepth >\thr@@\@toodeep\else
636 \advance\@itemdepth\@ne
637 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
638 \expandafter \list \csname \@itemitem\endcsname{%
639 \ifnum\ltjgetparameter{direction}=3
640 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
642 \parskip\z@ \itemsep\z@ \parsep\z@
643 \labelwidth1\zw \labelsep.3\zw
644 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
645 \else\leftmargin\leftskip\fi
646 \advance\leftmargin 1\zw
648 \def\makelabel##1{\hss\llap{##1}}}%
650 \newenvironment{description}
651 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
652 \ifnum\ltjgetparameter{direction}=3
653 \leftmargin\leftskip \advance\leftmargin3\Cwd
654 \rightmargin\rightskip
655 \labelsep=1\zw \itemsep\z@
656 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
658 \let\makelabel\descriptionlabel}}{\endlist}
659 \newcommand{\descriptionlabel}[1]{%
660 \hspace\labelsep\normalfont\bfseries #1}
661 \newenvironment{verse}
663 \list{}{\itemsep\z@ \itemindent -1.5em%
664 \listparindent\itemindent
665 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
666 \item\relax}{\endlist}
667 \newenvironment{quotation}
668 {\list{}{\listparindent 1.5em%
669 \itemindent\listparindent
670 \rightmargin\leftmargin
671 \parsep\z@ \@plus\p@}%
672 \item\relax}{\endlist}
673 \newenvironment{quote}
674 {\list{}{\rightmargin\leftmargin}%
675 \item\relax}{\endlist}
676 \newcounter{figure}[chapter]
677 \renewcommand{\thefigure}{%
678 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@figure}
682 \def\fnum@figure{\figurename~\thefigure}
683 \newenvironment{figure}
686 \newenvironment{figure*}
689 \newcounter{table}[chapter]
690 \renewcommand{\thetable}{%
691 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@table}
695 \def\fnum@table{\tablename~\thetable}
696 \newenvironment{table}
699 \newenvironment{table*}
702 \newlength\abovecaptionskip
703 \newlength\belowcaptionskip
704 \setlength\abovecaptionskip{10\p@}
705 \setlength\belowcaptionskip{0\p@}
706 \long\def\@makecaption#1#2{%
707 \vskip\abovecaptionskip
708 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
709 \else\sbox\@tempboxa{#1: #2}%
711 \ifdim \wd\@tempboxa >\hsize
712 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
713 \else #1: #2\relax\par\fi
715 \global \@minipagefalse
716 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
718 \vskip\belowcaptionskip}
719 \setlength\arraycolsep{5\p@}
720 \setlength\tabcolsep{6\p@}
721 \setlength\arrayrulewidth{.4\p@}
722 \setlength\doublerulesep{2\p@}
723 \setlength\tabbingsep{\labelsep}
724 \skip\@mpfootins = \skip\footins
725 \setlength\fboxsep{3\p@}
726 \setlength\fboxrule{.4\p@}
727 \@addtoreset{equation}{chapter}
728 \renewcommand{\theequation}{%
729 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
730 \unless\ifltj@disablejfam
731 \if@compatibility\else
732 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
733 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
734 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
736 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
740 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
741 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
745 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
746 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
747 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
748 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
749 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
750 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
751 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
752 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
753 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
754 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
755 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
756 \setcounter{tocdepth}{2}
757 \newcommand{\@pnumwidth}{1.55em}
758 \newcommand{\@tocrmarg}{2.55em}
759 \newcommand{\@dotsep}{4.5}
760 \newdimen\toclineskip
761 \setlength\toclineskip{\z@}
763 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
764 \def\@dottedtocline#1#2#3#4#5{%
765 \ifnum #1>\c@tocdepth \else
766 \vskip\toclineskip \@plus.2\p@
767 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
768 \parindent #2\relax\@afterindenttrue
772 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
774 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
776 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
779 \providecommand*\protected@file@percent{}
780 \def\addcontentsline#1#2#3{%
781 \protected@write\@auxout
782 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
783 \@temptokena{\thepage}%
784 }{\string\@writefile{#1}%
785 {\protect\contentsline{#2}{#3}{\the\@temptokena}{}%
786 \protected@file@percent}}%
788 \newcommand{\tableofcontents}{%
789 \if@twocolumn\@restonecoltrue\onecolumn
790 \else\@restonecolfalse\fi
791 \chapter*{\contentsname
792 \@mkboth{\contentsname}{\contentsname}%
794 \if@restonecol\twocolumn\fi
796 \newcommand*{\l@part}[2]{%
797 \ifnum \c@tocdepth >-2\relax
798 \addpenalty{-\@highpenalty}%
799 \addvspace{2.25em \@plus\p@}%
801 \parindent\z@\rightskip\@pnumwidth
802 \parfillskip-\@pnumwidth
803 {\leavevmode\large\bfseries
804 \setlength\@lnumwidth{4\zw}%
806 \hb@xt@\@pnumwidth{\hss#2}}\par
809 \everypar{\global\@nobreakfalse\everypar{}}%
812 \newcommand*{\l@chapter}[2]{%
813 \ifnum \c@tocdepth >\m@ne
814 \addpenalty{-\@highpenalty}%
815 \addvspace{1.0em \@plus\p@}%
817 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
819 \setlength\@lnumwidth{4\zw}%
820 \advance\leftskip\@lnumwidth \hskip-\leftskip
821 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
822 \penalty\@highpenalty
825 \newcommand*{\l@section}{\@dottedtocline{1}{1.5em}{2.3em}}
826 \newcommand*{\l@subsection} {\@dottedtocline{2}{3.8em}{3.2em}}
827 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{7.0em}{4.1em}}
828 \newcommand*{\l@paragraph} {\@dottedtocline{4}{10em}{5em}}
829 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{12em}{6em}}
830 \newcommand{\listoffigures}{%
831 \if@twocolumn\@restonecoltrue\onecolumn
832 \else\@restonecolfalse\fi
833 \chapter*{\listfigurename}%
834 \@mkboth{\listfigurename}{\listfigurename}%
836 \if@restonecol\twocolumn\fi
838 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
839 \newcommand{\listoftables}{%
840 \if@twocolumn\@restonecoltrue\onecolumn
841 \else\@restonecolfalse\fi
842 \chapter*{\listtablename}%
843 \@mkboth{\listtablename}{\listtablename}%
845 \if@restonecol\twocolumn\fi
847 \let\l@table\l@figure
849 \setlength\bibindent{1.5em}
850 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
851 \newenvironment{thebibliography}[1]
852 {\chapter*{\bibname}\@mkboth{\bibname}{\bibname}%
853 \list{\@biblabel{\@arabic\c@enumiv}}%
854 {\settowidth\labelwidth{\@biblabel{#1}}%
855 \leftmargin\labelwidth
856 \advance\leftmargin\labelsep
860 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
863 \@clubpenalty\clubpenalty
867 {\@latex@warning{Empty `thebibliography' environment}}%
869 \let\@openbib@code\@empty
870 \newenvironment{theindex}
871 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
872 \twocolumn[\@makeschapterhead{\indexname}]%
873 \@mkboth{\indexname}{\indexname}%
874 \thispagestyle{jpl@in}\parindent\z@
875 \parskip\z@ \@plus .3\p@\relax
876 \columnseprule\z@ \columnsep 35\p@
878 {\if@restonecol\onecolumn\else\clearpage\fi}
879 \newcommand{\@idxitem}{\par\hangindent 40\p@}
880 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
881 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
882 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
883 \renewcommand{\footnoterule}{%
885 \hrule\@width.4\columnwidth
887 \@addtoreset{footnote}{chapter}
888 \newcommand\@makefntext[1]{\parindent 1em
889 \noindent\hb@xt@ 1.8em{\hss\@makefnmark}#1}
893 \newcount\heisei \heisei\year \advance\heisei-1988\relax
894 \def\pltx@today@year@#1{%
895 \ifnum\numexpr\year-#1=1 元\else
896 \ifnum\ltjgetparameter{direction}=3
897 \kansuji\numexpr\year-#1\relax
899 \number\numexpr\year-#1\relax\nobreak
903 \def\pltx@today@year{%
904 \ifnum\numexpr\year*10000+\month*100+\day<19890108
905 昭和\pltx@today@year@{1925}%
906 \else\ifnum\numexpr\year*10000+\month*100+\day<20190501
907 平成\pltx@today@year@{1988}%
909 令和\pltx@today@year@{2018}%
913 \ifnum\ltjgetparameter{direction}=3 \kansuji\year
914 \else\number\year\nobreak\fi 年
918 \ifnum\ltjgetparameter{direction}=3
922 \number\month\nobreak 月
923 \number\day\nobreak 日
925 \newcommand{\prepartname}{第}
926 \newcommand{\postpartname}{部}
927 \newcommand{\prechaptername}{第}
928 \newcommand{\postchaptername}{章}
929 \newcommand{\contentsname}{目 次}
930 \newcommand{\listfigurename}{図 目 次}
931 \newcommand{\listtablename}{表 目 次}
932 \newcommand{\bibname}{関連図書}
933 \newcommand{\indexname}{索 引}
934 \newcommand{\figurename}{図}
935 \newcommand{\tablename}{表}
936 \newcommand{\appendixname}{付 録}
937 \newcommand{\abstractname}{概 要}
939 \pagenumbering{arabic}
941 \fnfixbottomtrue % 2017-02-19
942 \IfFileExists{stfloats.sty}{\RequirePackage{stfloats}\fnbelowfloat}{}
954 \ltj@ExecuteBeforePackage*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext}
955 \ltj@ExecuteAfterPackage*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext}
958 %% End of file `ltjreport.cls'.