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 [2020/01/13 v1.8e-ltj-17
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}}
137 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
138 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
139 'ltj.jclasses_load_jfm', 1)}
140 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
141 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
142 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
143 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
144 \ltjglobalsetparameter{differentjfm=both}
145 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
146 \DeclareOption{disablejfam}{}
147 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany,tate}
148 \ProcessOptions\relax
149 \input{ltjtsize1\@ptsize.clo}
150 \RequirePackage{lltjext}
151 \def\Cjascale{0.962216}
153 \setlength\columnsep{3\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{\hfil\thepage}%
234 \def\@oddhead{\thepage\hfil}%
235 \let\@oddfoot\@empty\let\@evenfoot\@empty}
236 \def\ps@footnombre{\let\@mkboth\@gobbletwo
237 \let\ps@jpl@in\ps@footnombre
238 \def\@evenfoot{\hfil\thepage}%
239 \def\@oddfoot{\thepage\hfil}%
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{{\leftmark}\hfil\thepage}%
245 \def\@oddhead{\thepage\hfil\rightmark}%
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{\thepage\hfil\rightmark}%
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{\hfil\leftmark}% right page
271 \def\@evenfoot{\hfil\thepage}% right page
272 \def\@oddhead{\rightmark\hfil}% left page
273 \def\@oddfoot{\thepage\hfil}% 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{\rightmark\hfil}%
287 \def\@oddfoot{\thepage\hfil}%
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{{\leftmark}\hfil\thepage}%
299 \def\@oddhead{\thepage\hfil\rightmark}%
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
340 \vbox to\textheight\bgroup\tate\hsize\textwidth
344 {\LARGE \@title \par}%
348 \begin{tabular}[t]{c}%
352 {\large \@date \par}% % Set date in \large size.
354 \vfil{\centering\@thanks}\vfil\null
357 \setcounter{footnote}{0}%
358 \global\let\thanks\relax
359 \global\let\maketitle\relax
360 \global\let\p@thanks\relax
361 \global\let\@thanks\@empty
362 \global\let\@author\@empty
363 \global\let\@date\@empty
364 \global\let\@title\@empty
365 \global\let\title\relax
366 \global\let\author\relax
367 \global\let\date\relax
368 \global\let\and\relax
371 \newcommand{\maketitle}{\par
373 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
374 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
375 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
376 \long\def\@makefntext##1{\parindent 1\zw\noindent
377 \hb@xt@ 2\zw{\hss\@makefnmark}##1}%
379 \ifnum \col@number=\@ne \@maketitle
380 \else \twocolumn[\@maketitle]%
384 \global\@topnum\z@ % Prevents figures from going at top of page.
387 \thispagestyle{jpl@in}\@thanks
389 \setcounter{footnote}{0}%
390 \global\let\thanks\relax
391 \global\let\maketitle\relax
392 \global\let\@maketitle\relax
393 \global\let\p@thanks\relax
394 \global\let\@thanks\@empty
395 \global\let\@author\@empty
396 \global\let\@date\@empty
397 \global\let\@title\@empty
398 \global\let\title\relax
399 \global\let\author\relax
400 \global\let\date\relax
401 \global\let\and\relax
407 \let\footnote\p@thanks
408 {\LARGE \@title \par}%
412 \begin{tabular}[t]{c}%
421 \newenvironment{abstract}{%
424 \@beginparpenalty\@lowpenalty
426 {\bfseries\abstractname}%
429 {\par\vfil\null\endtitlepage}
431 \newenvironment{abstract}{%
433 \section*{\abstractname}%
437 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
440 \fi}{\if@twocolumn\else\endquotation\fi}
442 \newcommand*{\chaptermark}[1]{}
443 \setcounter{secnumdepth}{2}
446 \newcounter{section}[chapter]
447 \newcounter{subsection}[section]
448 \newcounter{subsubsection}[subsection]
449 \newcounter{paragraph}[subsubsection]
450 \newcounter{subparagraph}[paragraph]
451 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
452 \renewcommand{\thechapter}{\rensuji{\@arabic\c@chapter}}
453 \renewcommand{\thesection}{\thechapter・\rensuji{\@arabic\c@section}}
454 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
455 \renewcommand{\thesubsubsection}{%
456 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
457 \renewcommand{\theparagraph}{%
458 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
459 \renewcommand{\thesubparagraph}{%
460 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
461 \newcommand{\@chapapp}{\prechaptername}
462 \newcommand{\@chappos}{\postchaptername}
464 \if@openleft \cleardoublepage \else
465 \if@openright \cleardoublepage \else \clearpage \fi \fi
466 \thispagestyle{empty}%
467 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
469 \secdef\@part\@spart}
471 \ifnum \c@secnumdepth >-2\relax
472 \refstepcounter{part}%
473 \addcontentsline{toc}{part}{%
474 \prepartname\thepart\postpartname\hspace{1em}#1}%
476 \addcontentsline{toc}{part}{#1}%
480 \interlinepenalty\@M\normalfont
481 \ifnum \c@secnumdepth >-2\relax
482 \huge\bfseries\prepartname\thepart\postpartname
485 \Huge\bfseries#2\par}%
489 \interlinepenalty\@M\normalfont
490 \Huge\bfseries#1\par}%
492 \def\@endpart{\vfil\newpage
494 \if@openleft %% \if@openleft added (2017/02/15)
495 \null\thispagestyle{empty}\newpage
496 \else\if@openright %% \if@openright added (2016/12/18)
497 \null\thispagestyle{empty}\newpage
498 \fi\fi %% added (2016/12/18, 2017/02/15)
500 \if@tempswa\twocolumn\fi}
501 \newcommand{\chapter}{%
502 \if@openleft \cleardoublepage \else
503 \if@openright \cleardoublepage \else \clearpage \fi \fi
504 \thispagestyle{jpl@in}%
507 \secdef\@chapter\@schapter}
508 \def\@chapter[#1]#2{%
509 \ifnum \c@secnumdepth >\m@ne
510 \refstepcounter{chapter}%
511 \typeout{\@chapapp\space\thechapter\space\@chappos}%
512 \addcontentsline{toc}{chapter}%
513 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
515 \addcontentsline{toc}{chapter}{#1}%
518 \addtocontents{lof}{\protect\addvspace{10\p@}}%
519 \addtocontents{lot}{\protect\addvspace{10\p@}}%
520 \@makechapterhead{#2}\@afterheading}
521 \def\@makechapterhead#1{\hbox{}%
525 \normalfont\huge\bfseries
527 \ifnum \c@secnumdepth >\m@ne
528 \setlength\@tempdima{\linewidth}%
529 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
530 \addtolength\@tempdima{-\wd\z@}%
532 \vtop{\hsize\@tempdima#1}%
535 \fi}\nobreak\vskip3\Cvs}
537 \@makeschapterhead{#1}\@afterheading
539 \def\@makeschapterhead#1{\hbox{}%
543 \normalfont\huge\bfseries
545 \setlength\@tempdima{\linewidth}%
546 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
547 \newcommand{\section}{\@startsection{section}{1}{\z@}%
548 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
549 {.5\Cvs \@plus.3\Cvs}%
550 {\normalfont\Large\bfseries}}
551 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
552 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
553 {.5\Cvs \@plus.3\Cvs}%
554 {\normalfont\large\bfseries}}
555 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
556 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
557 {.5\Cvs \@plus.3\Cvs}%
558 {\normalfont\normalsize\bfseries}}
559 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
560 {3.25ex \@plus 1ex \@minus .2ex}%
562 {\normalfont\normalsize\bfseries}}
563 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
564 {3.25ex \@plus 1ex \@minus .2ex}%
566 {\normalfont\normalsize\bfseries}}
567 \newcommand{\appendix}{\par
568 \setcounter{chapter}{0}%
569 \setcounter{section}{0}%
570 \renewcommand{\@chapapp}{\appendixname}%
571 \renewcommand{\@chappos}\space%
572 \renewcommand{\thechapter}{\rensuji{\@Alph\c@chapter}}}
574 \setlength\leftmargini {2em}
576 \setlength\leftmargini {2.5em}
578 \setlength\leftmarginii {2.2em}
579 \setlength\leftmarginiii {1.87em}
580 \setlength\leftmarginiv {1.7em}
582 \setlength\leftmarginv {.5em}
583 \setlength\leftmarginvi{.5em}
585 \setlength\leftmarginv {1em}
586 \setlength\leftmarginvi{1em}
588 \setlength \labelsep {.5em}
589 \setlength \labelwidth{\leftmargini}
590 \addtolength\labelwidth{-\labelsep}
591 \@beginparpenalty -\@lowpenalty
592 \@endparpenalty -\@lowpenalty
593 \@itempenalty -\@lowpenalty
594 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
595 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
596 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
597 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
598 \newcommand{\labelenumi}{\theenumi}
599 \newcommand{\labelenumii}{\theenumii}
600 \newcommand{\labelenumiii}{\theenumiii}
601 \newcommand{\labelenumiv}{\theenumiv}
602 \renewcommand{\p@enumii}{\theenumi}
603 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
604 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
605 \renewenvironment{enumerate}
606 {\ifnum \@enumdepth >\thr@@\@toodeep\else
607 \advance\@enumdepth\@ne
608 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
609 \expandafter \list \csname label\@enumctr\endcsname{%
610 \ifnum\ltjgetparameter{direction}=3
611 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
613 \parskip\z@ \itemsep\z@ \parsep\z@
614 \labelwidth1\zw \labelsep.3\zw
615 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
616 \else\leftmargin\leftskip\fi
617 \advance\leftmargin 1\zw
619 \usecounter{\@enumctr}%
620 \def\makelabel##1{\hss\llap{##1}}}%
622 \newcommand{\labelitemi}{\labelitemfont \textbullet}
623 \newcommand{\labelitemii}{%
624 \ifnum\ltjgetparameter{direction}=3
625 {\labelitemfont \textcircled{~}}
627 {\labelitemfont \bfseries\textendash}
630 \newcommand{\labelitemiii}{\labelitemfont \textasteriskcentered}
631 \newcommand{\labelitemiv}{\labelitemfont \textperiodcentered}
632 \newcommand\labelitemfont{\normalfont}
633 \renewenvironment{itemize}
634 {\ifnum \@itemdepth >\thr@@\@toodeep\else
635 \advance\@itemdepth\@ne
636 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
637 \expandafter \list \csname \@itemitem\endcsname{%
638 \ifnum\ltjgetparameter{direction}=3
639 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
641 \parskip\z@ \itemsep\z@ \parsep\z@
642 \labelwidth1\zw \labelsep.3\zw
643 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
644 \else\leftmargin\leftskip\fi
645 \advance\leftmargin 1\zw
647 \def\makelabel##1{\hss\llap{##1}}}%
649 \newenvironment{description}
650 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
651 \ifnum\ltjgetparameter{direction}=3
652 \leftmargin\leftskip \advance\leftmargin3\Cwd
653 \rightmargin\rightskip
654 \labelsep=1\zw \itemsep\z@
655 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
657 \let\makelabel\descriptionlabel}}{\endlist}
658 \newcommand{\descriptionlabel}[1]{%
659 \hspace\labelsep\normalfont\bfseries #1}
660 \newenvironment{verse}
662 \list{}{\itemsep\z@ \itemindent -1.5em%
663 \listparindent\itemindent
664 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
665 \item\relax}{\endlist}
666 \newenvironment{quotation}
667 {\list{}{\listparindent 1.5em%
668 \itemindent\listparindent
669 \rightmargin\leftmargin
670 \parsep\z@ \@plus\p@}%
671 \item\relax}{\endlist}
672 \newenvironment{quote}
673 {\list{}{\rightmargin\leftmargin}%
674 \item\relax}{\endlist}
675 \newcounter{figure}[chapter]
676 \renewcommand{\thefigure}{%
677 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@figure}}
681 \def\fnum@figure{\figurename\thefigure}
682 \newenvironment{figure}
685 \newenvironment{figure*}
688 \newcounter{table}[chapter]
689 \renewcommand{\thetable}{%
690 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@table}}
694 \def\fnum@table{\tablename\thetable}
695 \newenvironment{table}
698 \newenvironment{table*}
701 \newlength\abovecaptionskip
702 \newlength\belowcaptionskip
703 \setlength\abovecaptionskip{10\p@}
704 \setlength\belowcaptionskip{0\p@}
705 \long\def\@makecaption#1#2{%
706 \vskip\abovecaptionskip
707 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
708 \else\sbox\@tempboxa{#1: #2}%
710 \ifdim \wd\@tempboxa >\hsize
711 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
712 \else #1: #2\relax\par\fi
714 \global \@minipagefalse
715 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
717 \vskip\belowcaptionskip}
718 \setlength\arraycolsep{5\p@}
719 \setlength\tabcolsep{6\p@}
720 \setlength\arrayrulewidth{.4\p@}
721 \setlength\doublerulesep{2\p@}
722 \setlength\tabbingsep{\labelsep}
723 \skip\@mpfootins = \skip\footins
724 \setlength\fboxsep{3\p@}
725 \setlength\fboxrule{.4\p@}
726 \@addtoreset{equation}{chapter}
727 \renewcommand{\theequation}{%
728 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
729 \unless\ifltj@disablejfam
730 \if@compatibility\else
731 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
732 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
733 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
735 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
739 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
740 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
744 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
745 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
746 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
747 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
748 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
749 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
750 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
751 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
752 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
753 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
754 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
755 \setcounter{tocdepth}{2}
756 \newcommand{\@pnumwidth}{1.55em}
757 \newcommand{\@tocrmarg}{2.55em}
758 \newcommand{\@dotsep}{4.5}
759 \newdimen\toclineskip
760 \setlength\toclineskip{2\p@}
762 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
763 \def\@dottedtocline#1#2#3#4#5{%
764 \ifnum #1>\c@tocdepth \else
765 \vskip\toclineskip \@plus.2\p@
766 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
767 \parindent #2\relax\@afterindenttrue
771 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
773 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
775 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
778 \providecommand*\protected@file@percent{}
779 \def\addcontentsline#1#2#3{%
780 \protected@write\@auxout
781 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
782 \@temptokena{\rensuji{\thepage}}}%
783 {\string\@writefile{#1}%
784 {\protect\contentsline{#2}{#3}{\the\@temptokena}%
785 \protected@file@percent}}%
787 \newcommand{\tableofcontents}{%
788 \if@twocolumn\@restonecoltrue\onecolumn
789 \else\@restonecolfalse\fi
790 \chapter*{\contentsname
791 \@mkboth{\contentsname}{\contentsname}%
793 \if@restonecol\twocolumn\fi
795 \newcommand*{\l@part}[2]{%
796 \ifnum \c@tocdepth >-2\relax
797 \addpenalty{-\@highpenalty}%
798 \addvspace{2.25em \@plus\p@}%
800 \parindent\z@\rightskip\@pnumwidth
801 \parfillskip-\@pnumwidth
802 {\leavevmode\large\bfseries
803 \setlength\@lnumwidth{4\zw}%
805 \hb@xt@\@pnumwidth{\hss#2}}\par
808 \everypar{\global\@nobreakfalse\everypar{}}%
811 \newcommand*{\l@chapter}[2]{%
812 \ifnum \c@tocdepth >\m@ne
813 \addpenalty{-\@highpenalty}%
814 \addvspace{1.0em \@plus\p@}%
816 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
818 \setlength\@lnumwidth{4\zw}%
819 \advance\leftskip\@lnumwidth \hskip-\leftskip
820 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
821 \penalty\@highpenalty
824 \newcommand*{\l@section}{\@dottedtocline{1}{1\zw}{4\zw}}
825 \newcommand*{\l@subsection} {\@dottedtocline{2}{2\zw}{6\zw}}
826 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3\zw}{8\zw}}
827 \newcommand*{\l@paragraph} {\@dottedtocline{4}{4\zw}{9\zw}}
828 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{5\zw}{10\zw}}
829 \newcommand{\listoffigures}{%
830 \if@twocolumn\@restonecoltrue\onecolumn
831 \else\@restonecolfalse\fi
832 \chapter*{\listfigurename}%
833 \@mkboth{\listfigurename}{\listfigurename}%
835 \if@restonecol\twocolumn\fi
837 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
838 \newcommand{\listoftables}{%
839 \if@twocolumn\@restonecoltrue\onecolumn
840 \else\@restonecolfalse\fi
841 \chapter*{\listtablename}%
842 \@mkboth{\listtablename}{\listtablename}%
844 \if@restonecol\twocolumn\fi
846 \let\l@table\l@figure
848 \setlength\bibindent{1.5em}
849 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
850 \newenvironment{thebibliography}[1]
851 {\chapter*{\bibname}\@mkboth{\bibname}{\bibname}%
852 \list{\@biblabel{\@arabic\c@enumiv}}%
853 {\settowidth\labelwidth{\@biblabel{#1}}%
854 \leftmargin\labelwidth
855 \advance\leftmargin\labelsep
859 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
862 \@clubpenalty\clubpenalty
866 {\@latex@warning{Empty `thebibliography' environment}}%
868 \let\@openbib@code\@empty
869 \newenvironment{theindex}
870 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
871 \twocolumn[\@makeschapterhead{\indexname}]%
872 \@mkboth{\indexname}{\indexname}%
873 \thispagestyle{jpl@in}\parindent\z@
874 \parskip\z@ \@plus .3\p@\relax
875 \columnseprule\z@ \columnsep 35\p@
877 {\if@restonecol\onecolumn\else\clearpage\fi}
878 \newcommand{\@idxitem}{\par\hangindent 40\p@}
879 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
880 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
881 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
882 \renewcommand{\footnoterule}{%
884 \hrule\@width.4\columnwidth
886 \@addtoreset{footnote}{chapter}
887 \newcommand\@makefntext[1]{\parindent 1\zw
888 \noindent\hb@xt@ 2\zw{\hss\@makefnmark}#1}
892 \newcount\heisei \heisei\year \advance\heisei-1988\relax
893 \def\pltx@today@year@#1{%
894 \ifnum\numexpr\year-#1=1 元\else
895 \ifnum\ltjgetparameter{direction}=3
896 \kansuji\numexpr\year-#1\relax
898 \number\numexpr\year-#1\relax\nobreak
902 \def\pltx@today@year{%
903 \ifnum\numexpr\year*10000+\month*100+\day<19890108
904 昭和\pltx@today@year@{1925}%
905 \else\ifnum\numexpr\year*10000+\month*100+\day<20190501
906 平成\pltx@today@year@{1988}%
908 令和\pltx@today@year@{2018}%
912 \ifnum\ltjgetparameter{direction}=3 \kansuji\year
913 \else\number\year\nobreak\fi 年
917 \ifnum\ltjgetparameter{direction}=3
921 \number\month\nobreak 月
922 \number\day\nobreak 日
924 \newcommand{\prepartname}{第}
925 \newcommand{\postpartname}{部}
926 \newcommand{\prechaptername}{第}
927 \newcommand{\postchaptername}{章}
928 \newcommand{\contentsname}{目 次}
929 \newcommand{\listfigurename}{図 目 次}
930 \newcommand{\listtablename}{表 目 次}
931 \newcommand{\bibname}{関連図書}
932 \newcommand{\indexname}{索 引}
933 \newcommand{\figurename}{図}
934 \newcommand{\tablename}{表}
935 \newcommand{\appendixname}{付 録}
936 \newcommand{\abstractname}{概 要}
938 \pagenumbering{arabic}
940 \fnfixbottomtrue % 2017-02-19
941 \IfFileExists{stfloats.sty}{\RequirePackage{stfloats}\fnbelowfloat}{}
950 \AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext}
951 \AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext}
954 %% End of file `ltjtreport.cls'.