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
24 \NeedsTeXFormat{LaTeX2e}
25 \ProvidesClass{ltjtreport}
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,tate}
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{ltjtsize1\@ptsize.clo}
155 \RequirePackage{lltjext}
156 \def\Cjascale{0.962216}
158 \setlength\columnsep{3\Cwd}
160 \setlength\columnsep{10\p@}
162 \setlength\columnseprule{0\p@}
164 \ifdefined\stockwidth\else\newlength{\stockwidth}\fi
165 \ifdefined\stockheight\else\newlength{\stockheight}\fi
166 \setlength{\stockwidth}{\paperwidth}
167 \setlength{\stockheight}{\paperheight}
168 \advance \stockwidth 2in
169 \advance \stockheight 2in
170 \ifdefined\pdfpagewidth
171 \setlength{\pdfpagewidth}{\stockwidth}
172 \setlength{\pdfpageheight}{\stockheight}
174 \setlength{\pagewidth}{\stockwidth}
175 \setlength{\pageheight}{\stockheight}
178 \ifdefined\pdfpagewidth
179 \setlength{\pdfpagewidth}{\paperwidth}
180 \setlength{\pdfpageheight}{\paperheight}
182 \setlength{\pagewidth}{\paperwidth}
183 \setlength{\pageheight}{\paperheight}
186 \setlength\lineskip{1\p@}
187 \setlength\normallineskip{1\p@}
188 \renewcommand{\baselinestretch}{}
189 \setlength\parskip{0\p@ \@plus \p@}
190 \setlength\parindent{1\Cwd}
194 \setcounter{topnumber}{2}
195 \setcounter{bottomnumber}{1}
196 \setcounter{totalnumber}{3}
197 \setcounter{dbltopnumber}{2}
198 \renewcommand{\topfraction}{.7}
199 \renewcommand{\bottomfraction}{.3}
200 \renewcommand{\textfraction}{.2}
201 \renewcommand{\floatpagefraction}{.5}
202 \renewcommand{\dbltopfraction}{.7}
203 \renewcommand{\dblfloatpagefraction}{.5}
204 \def\pltx@cleartorightpage{\clearpage\if@twoside
205 \unless\ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
206 \hbox{}\thispagestyle{empty}\newpage
207 \if@twocolumn\hbox{}\newpage\fi
209 \def\pltx@cleartoleftpage{\clearpage\if@twoside
210 \ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
211 \hbox{}\thispagestyle{empty}\newpage
212 \if@twocolumn\hbox{}\newpage\fi
214 \def\pltx@cleartooddpage{\clearpage\if@twoside
216 \hbox{}\thispagestyle{empty}\newpage
217 \if@twocolumn\hbox{}\newpage\fi
219 \def\pltx@cleartoevenpage{\clearpage\if@twoside
221 \hbox{}\thispagestyle{empty}\newpage
222 \if@twocolumn\hbox{}\newpage\fi
225 \let\cleardoublepage\pltx@cleartoleftpage
227 \let\cleardoublepage\pltx@cleartorightpage
229 \def\ps@plain{\let\@mkboth\@gobbletwo
230 \let\ps@jpl@in\ps@plain
232 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
233 \let\@evenhead\@empty
234 \let\@evenfoot\@oddfoot}
235 \let\ps@jpl@in\ps@plain
236 \def\ps@headnombre{\let\@mkboth\@gobbletwo
237 \let\ps@jpl@in\ps@headnombre
238 \def\@evenhead{\hfil\thepage}%
239 \def\@oddhead{\thepage\hfil}%
240 \let\@oddfoot\@empty\let\@evenfoot\@empty}
241 \def\ps@footnombre{\let\@mkboth\@gobbletwo
242 \let\ps@jpl@in\ps@footnombre
243 \def\@evenfoot{\hfil\thepage}%
244 \def\@oddfoot{\thepage\hfil}%
245 \let\@oddhead\@empty\let\@evenhead\@empty}
247 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
248 \let\@oddfoot\@empty\let\@evenfoot\@empty
249 \def\@evenhead{{\leftmark}\hfil\thepage}%
250 \def\@oddhead{\thepage\hfil\rightmark}%
251 \let\@mkboth\markboth
252 \def\chaptermark##1{\markboth{%
253 \ifnum \c@secnumdepth >\m@ne
254 \@chapapp\thechapter\@chappos\hskip1\zw
257 \def\sectionmark##1{\markright{%
258 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
261 \else % if not twoside
262 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
264 \def\@oddhead{\thepage\hfil\rightmark}%
265 \let\@mkboth\markboth
266 \def\chaptermark##1{\markright{%
267 \ifnum \c@secnumdepth >\m@ne
268 \@chapapp\thechapter\@chappos\hskip1\zw
274 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
275 \def\@evenhead{\hfil\leftmark}% right page
276 \def\@evenfoot{\hfil\thepage}% right page
277 \def\@oddhead{\rightmark\hfil}% left page
278 \def\@oddfoot{\thepage\hfil}% left page
279 \let\@mkboth\markboth
280 \def\chaptermark##1{\markboth{%
281 \ifnum \c@secnumdepth >\m@ne
282 \@chapapp\thechapter\@chappos\hskip1\zw
285 \def\sectionmark##1{\markright{%
286 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
289 \else % if one column
290 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
291 \def\@oddhead{\rightmark\hfil}%
292 \def\@oddfoot{\thepage\hfil}%
293 \let\@mkboth\markboth
294 \def\chaptermark##1{\markright{%
295 \ifnum \c@secnumdepth >\m@ne
296 \@chapapp\thechapter\@chappos\hskip1\zw
301 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
302 \let\@oddfoot\@empty\let\@evenfoot\@empty
303 \def\@evenhead{{\leftmark}\hfil\thepage}%
304 \def\@oddhead{\thepage\hfil\rightmark}%
305 \let\@mkboth\@gobbletwo
306 \let\chaptermark\@gobble
307 \let\sectionmark\@gobble
310 \newenvironment{titlepage}
312 \if@twocolumn\@restonecoltrue\onecolumn
313 \else\@restonecolfalse\newpage\fi
314 \thispagestyle{empty}%
317 {\if@restonecol\twocolumn\else\newpage\fi
320 \newenvironment{titlepage}
323 \@restonecoltrue\onecolumn
325 \@restonecolfalse\newpage
327 \thispagestyle{empty}%
328 \ifodd\c@page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017/02/15
330 {\if@restonecol\twocolumn \else \newpage \fi
332 \setcounter{page}\@ne
336 \def\p@thanks#1{\footnotemark
337 \protected@xdef\@thanks{\@thanks
338 \protect{\noindent\hbox{\yoko$\m@th^\thefootnote$}#1\protect\par}}}
340 \newcommand{\maketitle}{\begin{titlepage}%
341 \let\footnotesize\small
342 \let\footnoterule\relax
345 \vbox to\textheight\bgroup\tate\hsize\textwidth
349 {\LARGE \@title \par}%
353 \begin{tabular}[t]{c}%
357 {\large \@date \par}% % Set date in \large size.
359 \vfil{\centering\@thanks}\vfil\null
362 \setcounter{footnote}{0}%
363 \global\let\thanks\relax
364 \global\let\maketitle\relax
365 \global\let\p@thanks\relax
366 \global\let\@thanks\@empty
367 \global\let\@author\@empty
368 \global\let\@date\@empty
369 \global\let\@title\@empty
370 \global\let\title\relax
371 \global\let\author\relax
372 \global\let\date\relax
373 \global\let\and\relax
376 \newcommand{\maketitle}{\par
378 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
379 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
380 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
381 \long\def\@makefntext##1{\parindent 1\zw\noindent
382 \hb@xt@ 2\zw{\hss\@makefnmark}##1}%
384 \ifnum \col@number=\@ne \@maketitle
385 \else \twocolumn[\@maketitle]%
389 \global\@topnum\z@ % Prevents figures from going at top of page.
392 \thispagestyle{jpl@in}\@thanks
394 \setcounter{footnote}{0}%
395 \global\let\thanks\relax
396 \global\let\maketitle\relax
397 \global\let\@maketitle\relax
398 \global\let\p@thanks\relax
399 \global\let\@thanks\@empty
400 \global\let\@author\@empty
401 \global\let\@date\@empty
402 \global\let\@title\@empty
403 \global\let\title\relax
404 \global\let\author\relax
405 \global\let\date\relax
406 \global\let\and\relax
412 \let\footnote\p@thanks
413 {\LARGE \@title \par}%
417 \begin{tabular}[t]{c}%
426 \newenvironment{abstract}{%
429 \@beginparpenalty\@lowpenalty
431 {\bfseries\abstractname}%
434 {\par\vfil\null\endtitlepage}
436 \newenvironment{abstract}{%
438 \section*{\abstractname}%
442 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
445 \fi}{\if@twocolumn\else\endquotation\fi}
447 \newcommand*{\chaptermark}[1]{}
448 \setcounter{secnumdepth}{2}
451 \newcounter{section}[chapter]
452 \newcounter{subsection}[section]
453 \newcounter{subsubsection}[subsection]
454 \newcounter{paragraph}[subsubsection]
455 \newcounter{subparagraph}[paragraph]
456 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
457 \renewcommand{\thechapter}{\rensuji{\@arabic\c@chapter}}
458 \renewcommand{\thesection}{\thechapter・\rensuji{\@arabic\c@section}}
459 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
460 \renewcommand{\thesubsubsection}{%
461 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
462 \renewcommand{\theparagraph}{%
463 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
464 \renewcommand{\thesubparagraph}{%
465 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
466 \newcommand{\@chapapp}{\prechaptername}
467 \newcommand{\@chappos}{\postchaptername}
469 \if@openleft \cleardoublepage \else
470 \if@openright \cleardoublepage \else \clearpage \fi \fi
471 \thispagestyle{empty}%
472 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
474 \secdef\@part\@spart}
476 \ifnum \c@secnumdepth >-2\relax
477 \refstepcounter{part}%
478 \addcontentsline{toc}{part}{%
479 \prepartname\thepart\postpartname\hspace{1em}#1}%
481 \addcontentsline{toc}{part}{#1}%
485 \interlinepenalty\@M\normalfont
486 \ifnum \c@secnumdepth >-2\relax
487 \huge\bfseries\prepartname\thepart\postpartname
490 \Huge\bfseries#2\par}%
494 \interlinepenalty\@M\normalfont
495 \Huge\bfseries#1\par}%
497 \def\@endpart{\vfil\newpage
499 \if@openleft %% \if@openleft added (2017/02/15)
500 \null\thispagestyle{empty}\newpage
501 \else\if@openright %% \if@openright added (2016/12/18)
502 \null\thispagestyle{empty}\newpage
503 \fi\fi %% added (2016/12/18, 2017/02/15)
505 \if@tempswa\twocolumn\fi}
506 \newcommand{\chapter}{%
507 \if@openleft \cleardoublepage \else
508 \if@openright \cleardoublepage \else \clearpage \fi \fi
509 \thispagestyle{jpl@in}%
512 \secdef\@chapter\@schapter}
513 \def\@chapter[#1]#2{%
514 \ifnum \c@secnumdepth >\m@ne
515 \refstepcounter{chapter}%
516 \typeout{\@chapapp\space\thechapter\space\@chappos}%
517 \addcontentsline{toc}{chapter}%
518 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
520 \addcontentsline{toc}{chapter}{#1}%
523 \addtocontents{lof}{\protect\addvspace{10\p@}}%
524 \addtocontents{lot}{\protect\addvspace{10\p@}}%
525 \@makechapterhead{#2}\@afterheading}
526 \def\@makechapterhead#1{\hbox{}%
530 \normalfont\huge\bfseries
532 \ifnum \c@secnumdepth >\m@ne
533 \setlength\@tempdima{\linewidth}%
534 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
535 \addtolength\@tempdima{-\wd\z@}%
537 \vtop{\hsize\@tempdima#1}%
540 \fi}\nobreak\vskip3\Cvs}
542 \@makeschapterhead{#1}\@afterheading
544 \def\@makeschapterhead#1{\hbox{}%
548 \normalfont\huge\bfseries
550 \setlength\@tempdima{\linewidth}%
551 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
552 \newcommand{\section}{\@startsection{section}{1}{\z@}%
553 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
554 {.5\Cvs \@plus.3\Cvs}%
555 {\normalfont\Large\bfseries}}
556 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
557 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
558 {.5\Cvs \@plus.3\Cvs}%
559 {\normalfont\large\bfseries}}
560 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
561 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
562 {.5\Cvs \@plus.3\Cvs}%
563 {\normalfont\normalsize\bfseries}}
564 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
565 {3.25ex \@plus 1ex \@minus .2ex}%
567 {\normalfont\normalsize\bfseries}}
568 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
569 {3.25ex \@plus 1ex \@minus .2ex}%
571 {\normalfont\normalsize\bfseries}}
572 \newcommand{\appendix}{\par
573 \setcounter{chapter}{0}%
574 \setcounter{section}{0}%
575 \renewcommand{\@chapapp}{\appendixname}%
576 \renewcommand{\@chappos}\space%
577 \renewcommand{\thechapter}{\rensuji{\@Alph\c@chapter}}}
579 \setlength\leftmargini {2em}
581 \setlength\leftmargini {2.5em}
583 \setlength\leftmarginii {2.2em}
584 \setlength\leftmarginiii {1.87em}
585 \setlength\leftmarginiv {1.7em}
587 \setlength\leftmarginv {.5em}
588 \setlength\leftmarginvi{.5em}
590 \setlength\leftmarginv {1em}
591 \setlength\leftmarginvi{1em}
593 \setlength \labelsep {.5em}
594 \setlength \labelwidth{\leftmargini}
595 \addtolength\labelwidth{-\labelsep}
596 \@beginparpenalty -\@lowpenalty
597 \@endparpenalty -\@lowpenalty
598 \@itempenalty -\@lowpenalty
599 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
600 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
601 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
602 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
603 \newcommand{\labelenumi}{\theenumi}
604 \newcommand{\labelenumii}{\theenumii}
605 \newcommand{\labelenumiii}{\theenumiii}
606 \newcommand{\labelenumiv}{\theenumiv}
607 \renewcommand{\p@enumii}{\theenumi}
608 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
609 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
610 \renewenvironment{enumerate}
611 {\ifnum \@enumdepth >\thr@@\@toodeep\else
612 \advance\@enumdepth\@ne
613 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
614 \expandafter \list \csname label\@enumctr\endcsname{%
615 \ifnum\ltjgetparameter{direction}=3
616 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
618 \parskip\z@ \itemsep\z@ \parsep\z@
619 \labelwidth1\zw \labelsep.3\zw
620 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
621 \else\leftmargin\leftskip\fi
622 \advance\leftmargin 1\zw
624 \usecounter{\@enumctr}%
625 \def\makelabel##1{\hss\llap{##1}}}%
627 \newcommand{\labelitemi}{\labelitemfont \textbullet}
628 \newcommand{\labelitemii}{%
629 \ifnum\ltjgetparameter{direction}=3
630 {\labelitemfont \textcircled{~}}
632 {\labelitemfont \bfseries\textendash}
635 \newcommand{\labelitemiii}{\labelitemfont \textasteriskcentered}
636 \newcommand{\labelitemiv}{\labelitemfont \textperiodcentered}
637 \newcommand\labelitemfont{\normalfont}
638 \renewenvironment{itemize}
639 {\ifnum \@itemdepth >\thr@@\@toodeep\else
640 \advance\@itemdepth\@ne
641 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
642 \expandafter \list \csname \@itemitem\endcsname{%
643 \ifnum\ltjgetparameter{direction}=3
644 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
646 \parskip\z@ \itemsep\z@ \parsep\z@
647 \labelwidth1\zw \labelsep.3\zw
648 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
649 \else\leftmargin\leftskip\fi
650 \advance\leftmargin 1\zw
652 \def\makelabel##1{\hss\llap{##1}}}%
654 \newenvironment{description}
655 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
656 \ifnum\ltjgetparameter{direction}=3
657 \leftmargin\leftskip \advance\leftmargin3\Cwd
658 \rightmargin\rightskip
659 \labelsep=1\zw \itemsep\z@
660 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
662 \let\makelabel\descriptionlabel}}{\endlist}
663 \newcommand{\descriptionlabel}[1]{%
664 \hspace\labelsep\normalfont\bfseries #1}
665 \newenvironment{verse}
667 \list{}{\itemsep\z@ \itemindent -1.5em%
668 \listparindent\itemindent
669 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
670 \item\relax}{\endlist}
671 \newenvironment{quotation}
672 {\list{}{\listparindent 1.5em%
673 \itemindent\listparindent
674 \rightmargin\leftmargin
675 \parsep\z@ \@plus\p@}%
676 \item\relax}{\endlist}
677 \newenvironment{quote}
678 {\list{}{\rightmargin\leftmargin}%
679 \item\relax}{\endlist}
680 \newcounter{figure}[chapter]
681 \renewcommand{\thefigure}{%
682 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@figure}}
686 \def\fnum@figure{\figurename\thefigure}
687 \newenvironment{figure}
690 \newenvironment{figure*}
693 \newcounter{table}[chapter]
694 \renewcommand{\thetable}{%
695 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@table}}
699 \def\fnum@table{\tablename\thetable}
700 \newenvironment{table}
703 \newenvironment{table*}
706 \newlength\abovecaptionskip
707 \newlength\belowcaptionskip
708 \setlength\abovecaptionskip{10\p@}
709 \setlength\belowcaptionskip{0\p@}
710 \long\def\@makecaption#1#2{%
711 \vskip\abovecaptionskip
712 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
713 \else\sbox\@tempboxa{#1: #2}%
715 \ifdim \wd\@tempboxa >\hsize
716 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
717 \else #1: #2\relax\par\fi
719 \global \@minipagefalse
720 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
722 \vskip\belowcaptionskip}
723 \setlength\arraycolsep{5\p@}
724 \setlength\tabcolsep{6\p@}
725 \setlength\arrayrulewidth{.4\p@}
726 \setlength\doublerulesep{2\p@}
727 \setlength\tabbingsep{\labelsep}
728 \skip\@mpfootins = \skip\footins
729 \setlength\fboxsep{3\p@}
730 \setlength\fboxrule{.4\p@}
731 \@addtoreset{equation}{chapter}
732 \renewcommand{\theequation}{%
733 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
734 \unless\ifltj@disablejfam
735 \if@compatibility\else
736 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
737 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
738 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
740 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
744 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
745 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
749 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
750 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
751 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
752 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
753 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
754 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
755 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
756 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
757 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
758 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
759 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
760 \setcounter{tocdepth}{2}
761 \newcommand{\@pnumwidth}{1.55em}
762 \newcommand{\@tocrmarg}{2.55em}
763 \newcommand{\@dotsep}{4.5}
764 \newdimen\toclineskip
765 \setlength\toclineskip{2\p@}
767 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
768 \def\@dottedtocline#1#2#3#4#5{%
769 \ifnum #1>\c@tocdepth \else
770 \vskip\toclineskip \@plus.2\p@
771 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
772 \parindent #2\relax\@afterindenttrue
776 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
778 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
780 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
783 \providecommand*\protected@file@percent{}
784 \def\addcontentsline#1#2#3{%
785 \protected@write\@auxout
786 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
787 \@temptokena{\rensuji{\thepage}}%
788 }{\string\@writefile{#1}%
789 {\protect\contentsline{#2}{#3}{\the\@temptokena}{}%
790 \protected@file@percent}}%
792 \newcommand{\tableofcontents}{%
793 \if@twocolumn\@restonecoltrue\onecolumn
794 \else\@restonecolfalse\fi
795 \chapter*{\contentsname
796 \@mkboth{\contentsname}{\contentsname}%
798 \if@restonecol\twocolumn\fi
800 \newcommand*{\l@part}[2]{%
801 \ifnum \c@tocdepth >-2\relax
802 \addpenalty{-\@highpenalty}%
803 \addvspace{2.25em \@plus\p@}%
805 \parindent\z@\rightskip\@pnumwidth
806 \parfillskip-\@pnumwidth
807 {\leavevmode\large\bfseries
808 \setlength\@lnumwidth{4\zw}%
810 \hb@xt@\@pnumwidth{\hss#2}}\par
813 \everypar{\global\@nobreakfalse\everypar{}}%
816 \newcommand*{\l@chapter}[2]{%
817 \ifnum \c@tocdepth >\m@ne
818 \addpenalty{-\@highpenalty}%
819 \addvspace{1.0em \@plus\p@}%
821 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
823 \setlength\@lnumwidth{4\zw}%
824 \advance\leftskip\@lnumwidth \hskip-\leftskip
825 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
826 \penalty\@highpenalty
829 \newcommand*{\l@section}{\@dottedtocline{1}{1\zw}{4\zw}}
830 \newcommand*{\l@subsection} {\@dottedtocline{2}{2\zw}{6\zw}}
831 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3\zw}{8\zw}}
832 \newcommand*{\l@paragraph} {\@dottedtocline{4}{4\zw}{9\zw}}
833 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{5\zw}{10\zw}}
834 \newcommand{\listoffigures}{%
835 \if@twocolumn\@restonecoltrue\onecolumn
836 \else\@restonecolfalse\fi
837 \chapter*{\listfigurename}%
838 \@mkboth{\listfigurename}{\listfigurename}%
840 \if@restonecol\twocolumn\fi
842 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
843 \newcommand{\listoftables}{%
844 \if@twocolumn\@restonecoltrue\onecolumn
845 \else\@restonecolfalse\fi
846 \chapter*{\listtablename}%
847 \@mkboth{\listtablename}{\listtablename}%
849 \if@restonecol\twocolumn\fi
851 \let\l@table\l@figure
853 \setlength\bibindent{1.5em}
854 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
855 \newenvironment{thebibliography}[1]
856 {\chapter*{\bibname}\@mkboth{\bibname}{\bibname}%
857 \list{\@biblabel{\@arabic\c@enumiv}}%
858 {\settowidth\labelwidth{\@biblabel{#1}}%
859 \leftmargin\labelwidth
860 \advance\leftmargin\labelsep
864 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
867 \@clubpenalty\clubpenalty
871 {\@latex@warning{Empty `thebibliography' environment}}%
873 \let\@openbib@code\@empty
874 \newenvironment{theindex}
875 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
876 \twocolumn[\@makeschapterhead{\indexname}]%
877 \@mkboth{\indexname}{\indexname}%
878 \thispagestyle{jpl@in}\parindent\z@
879 \parskip\z@ \@plus .3\p@\relax
880 \columnseprule\z@ \columnsep 35\p@
882 {\if@restonecol\onecolumn\else\clearpage\fi}
883 \newcommand{\@idxitem}{\par\hangindent 40\p@}
884 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
885 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
886 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
887 \renewcommand{\footnoterule}{%
889 \hrule\@width.4\columnwidth
891 \@addtoreset{footnote}{chapter}
892 \newcommand\@makefntext[1]{\parindent 1\zw
893 \noindent\hb@xt@ 2\zw{\hss\@makefnmark}#1}
897 \newcount\heisei \heisei\year \advance\heisei-1988\relax
898 \def\pltx@today@year@#1{%
899 \ifnum\numexpr\year-#1=1 元\else
900 \ifnum\ltjgetparameter{direction}=3
901 \kansuji\numexpr\year-#1\relax
903 \number\numexpr\year-#1\relax\nobreak
907 \def\pltx@today@year{%
908 \ifnum\numexpr\year*10000+\month*100+\day<19890108
909 昭和\pltx@today@year@{1925}%
910 \else\ifnum\numexpr\year*10000+\month*100+\day<20190501
911 平成\pltx@today@year@{1988}%
913 令和\pltx@today@year@{2018}%
917 \ifnum\ltjgetparameter{direction}=3 \kansuji\year
918 \else\number\year\nobreak\fi 年
922 \ifnum\ltjgetparameter{direction}=3
926 \number\month\nobreak 月
927 \number\day\nobreak 日
929 \newcommand{\prepartname}{第}
930 \newcommand{\postpartname}{部}
931 \newcommand{\prechaptername}{第}
932 \newcommand{\postchaptername}{章}
933 \newcommand{\contentsname}{目 次}
934 \newcommand{\listfigurename}{図 目 次}
935 \newcommand{\listtablename}{表 目 次}
936 \newcommand{\bibname}{関連図書}
937 \newcommand{\indexname}{索 引}
938 \newcommand{\figurename}{図}
939 \newcommand{\tablename}{表}
940 \newcommand{\appendixname}{付 録}
941 \newcommand{\abstractname}{概 要}
943 \pagenumbering{arabic}
945 \fnfixbottomtrue % 2017-02-19
946 \IfFileExists{stfloats.sty}{\RequirePackage{stfloats}\fnbelowfloat}{}
955 \ltj@ExecuteBeforePackage*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext}
956 \ltj@ExecuteAfterPackage*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext}
959 %% End of file `ltjtreport.cls'.