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 \AtEndOfPackageFile{everyshi}{%
108 \def\@EveryShipout@Output{%
112 \@EveryShipout@AtNextHook
113 \global\setbox\luatexoutputbox=\box\luatexoutputbox
115 \gdef\@EveryShipout@AtNextHook{}%
116 \@EveryShipout@Org@Shipout\box\luatexoutputbox
118 \DeclareOption{oneside}{\@twosidefalse}
119 \DeclareOption{twoside}{\@twosidetrue}
120 \DeclareOption{onecolumn}{\@twocolumnfalse}
121 \DeclareOption{twocolumn}{\@twocolumntrue}
122 \DeclareOption{titlepage}{\@titlepagetrue}
123 \DeclareOption{notitlepage}{\@titlepagefalse}
126 \DeclareOption{openright}{\@openrighttrue\@openleftfalse}
127 \DeclareOption{openleft}{\@openlefttrue\@openrightfalse}
128 \DeclareOption{openany}{\@openrightfalse\@openleftfalse}
130 \DeclareOption{leqno}{\input{leqno.clo}}
131 \DeclareOption{fleqn}{\input{fleqn.clo}}
132 \DeclareOption{openbib}{%
134 \renewcommand\@openbib@code{%
135 \advance\leftmargin\bibindent
136 \itemindent -\bibindent
137 \listparindent \itemindent
140 \renewcommand\newblock{\par}}}
144 \DeclareOption{mathrmmc}{\@mathrmmctrue}
146 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
147 \DeclareOption{final}{\setlength\overfullrule{0pt}}
148 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
149 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
150 'ltj.jclasses_load_jfm', 1)}
151 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
152 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
153 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
154 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
155 \ltjglobalsetparameter{differentjfm=both}
156 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
157 \DeclareOption{disablejfam}{}
158 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany,tate}
159 \ProcessOptions\relax
160 \input{ltjtsize1\@ptsize.clo}
161 \RequirePackage{lltjext}
162 \def\Cjascale{0.962216}
164 \setlength\columnsep{3\Cwd}
166 \setlength\columnsep{10\p@}
168 \setlength\columnseprule{0\p@}
170 \newlength{\stockwidth}
171 \newlength{\stockheight}
172 \setlength{\stockwidth}{\paperwidth}
173 \setlength{\stockheight}{\paperheight}
174 \advance \stockwidth 2in
175 \advance \stockheight 2in
176 \ifdefined\pdfpagewidth
177 \setlength{\pdfpagewidth}{\stockwidth}
178 \setlength{\pdfpageheight}{\stockheight}
180 \setlength{\pagewidth}{\stockwidth}
181 \setlength{\pageheight}{\stockheight}
184 \ifdefined\pdfpagewidth
185 \setlength{\pdfpagewidth}{\paperwidth}
186 \setlength{\pdfpageheight}{\paperheight}
188 \setlength{\pagewidth}{\paperwidth}
189 \setlength{\pageheight}{\paperheight}
192 \setlength\lineskip{1\p@}
193 \setlength\normallineskip{1\p@}
194 \renewcommand{\baselinestretch}{}
195 \setlength\parskip{0\p@ \@plus \p@}
196 \setlength\parindent{1\Cwd}
200 \setcounter{topnumber}{2}
201 \setcounter{bottomnumber}{1}
202 \setcounter{totalnumber}{3}
203 \setcounter{dbltopnumber}{2}
204 \renewcommand{\topfraction}{.7}
205 \renewcommand{\bottomfraction}{.3}
206 \renewcommand{\textfraction}{.2}
207 \renewcommand{\floatpagefraction}{.5}
208 \renewcommand{\dbltopfraction}{.7}
209 \renewcommand{\dblfloatpagefraction}{.5}
210 \def\pltx@cleartorightpage{\clearpage\if@twoside
211 \unless\ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
212 \hbox{}\thispagestyle{empty}\newpage
213 \if@twocolumn\hbox{}\newpage\fi
215 \def\pltx@cleartoleftpage{\clearpage\if@twoside
216 \ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
217 \hbox{}\thispagestyle{empty}\newpage
218 \if@twocolumn\hbox{}\newpage\fi
220 \def\pltx@cleartooddpage{\clearpage\if@twoside
222 \hbox{}\thispagestyle{empty}\newpage
223 \if@twocolumn\hbox{}\newpage\fi
225 \def\pltx@cleartoevenpage{\clearpage\if@twoside
227 \hbox{}\thispagestyle{empty}\newpage
228 \if@twocolumn\hbox{}\newpage\fi
231 \let\cleardoublepage\pltx@cleartoleftpage
233 \let\cleardoublepage\pltx@cleartorightpage
235 \def\ps@plain{\let\@mkboth\@gobbletwo
236 \let\ps@jpl@in\ps@plain
238 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
239 \let\@evenhead\@empty
240 \let\@evenfoot\@oddfoot}
241 \let\ps@jpl@in\ps@plain
242 \def\ps@headnombre{\let\@mkboth\@gobbletwo
243 \let\ps@jpl@in\ps@headnombre
244 \def\@evenhead{\hfil\thepage}%
245 \def\@oddhead{\thepage\hfil}%
246 \let\@oddfoot\@empty\let\@evenfoot\@empty}
247 \def\ps@footnombre{\let\@mkboth\@gobbletwo
248 \let\ps@jpl@in\ps@footnombre
249 \def\@evenfoot{\hfil\thepage}%
250 \def\@oddfoot{\thepage\hfil}%
251 \let\@oddhead\@empty\let\@evenhead\@empty}
253 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
254 \let\@oddfoot\@empty\let\@evenfoot\@empty
255 \def\@evenhead{{\leftmark}\hfil\thepage}%
256 \def\@oddhead{\thepage\hfil\rightmark}%
257 \let\@mkboth\markboth
258 \def\chaptermark##1{\markboth{%
259 \ifnum \c@secnumdepth >\m@ne
260 \@chapapp\thechapter\@chappos\hskip1\zw
263 \def\sectionmark##1{\markright{%
264 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
267 \else % if not twoside
268 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
270 \def\@oddhead{\thepage\hfil\rightmark}%
271 \let\@mkboth\markboth
272 \def\chaptermark##1{\markright{%
273 \ifnum \c@secnumdepth >\m@ne
274 \@chapapp\thechapter\@chappos\hskip1\zw
280 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
281 \def\@evenhead{\hfil\leftmark}% right page
282 \def\@evenfoot{\hfil\thepage}% right page
283 \def\@oddhead{\rightmark\hfil}% left page
284 \def\@oddfoot{\thepage\hfil}% left page
285 \let\@mkboth\markboth
286 \def\chaptermark##1{\markboth{%
287 \ifnum \c@secnumdepth >\m@ne
288 \@chapapp\thechapter\@chappos\hskip1\zw
291 \def\sectionmark##1{\markright{%
292 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
295 \else % if one column
296 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
297 \def\@oddhead{\rightmark\hfil}%
298 \def\@oddfoot{\thepage\hfil}%
299 \let\@mkboth\markboth
300 \def\chaptermark##1{\markright{%
301 \ifnum \c@secnumdepth >\m@ne
302 \@chapapp\thechapter\@chappos\hskip1\zw
307 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
308 \let\@oddfoot\@empty\let\@evenfoot\@empty
309 \def\@evenhead{{\leftmark}\hfil\thepage}%
310 \def\@oddhead{\thepage\hfil\rightmark}%
311 \let\@mkboth\@gobbletwo
312 \let\chaptermark\@gobble
313 \let\sectionmark\@gobble
316 \newenvironment{titlepage}
318 \if@twocolumn\@restonecoltrue\onecolumn
319 \else\@restonecolfalse\newpage\fi
320 \thispagestyle{empty}%
323 {\if@restonecol\twocolumn\else\newpage\fi
326 \newenvironment{titlepage}
329 \@restonecoltrue\onecolumn
331 \@restonecolfalse\newpage
333 \thispagestyle{empty}%
334 \ifodd\c@page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017/02/15
336 {\if@restonecol\twocolumn \else \newpage \fi
338 \setcounter{page}\@ne
342 \def\p@thanks#1{\footnotemark
343 \protected@xdef\@thanks{\@thanks
344 \protect{\noindent\hbox{\yoko$\m@th^\thefootnote$}#1\protect\par}}}
346 \newcommand{\maketitle}{\begin{titlepage}%
347 \let\footnotesize\small
348 \let\footnoterule\relax
351 \vbox to\textheight\bgroup\tate\hsize\textwidth
355 {\LARGE \@title \par}%
359 \begin{tabular}[t]{c}%
363 {\large \@date \par}% % Set date in \large size.
365 \vfil{\centering\@thanks}\vfil\null
368 \setcounter{footnote}{0}%
369 \global\let\thanks\relax
370 \global\let\maketitle\relax
371 \global\let\p@thanks\relax
372 \global\let\@thanks\@empty
373 \global\let\@author\@empty
374 \global\let\@date\@empty
375 \global\let\@title\@empty
376 \global\let\title\relax
377 \global\let\author\relax
378 \global\let\date\relax
379 \global\let\and\relax
382 \newcommand{\maketitle}{\par
384 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
385 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
386 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
387 \long\def\@makefntext##1{\parindent 1\zw\noindent
388 \hb@xt@ 2\zw{\hss\@makefnmark}##1}%
390 \ifnum \col@number=\@ne \@maketitle
391 \else \twocolumn[\@maketitle]%
395 \global\@topnum\z@ % Prevents figures from going at top of page.
398 \thispagestyle{jpl@in}\@thanks
400 \setcounter{footnote}{0}%
401 \global\let\thanks\relax
402 \global\let\maketitle\relax
403 \global\let\@maketitle\relax
404 \global\let\p@thanks\relax
405 \global\let\@thanks\@empty
406 \global\let\@author\@empty
407 \global\let\@date\@empty
408 \global\let\@title\@empty
409 \global\let\title\relax
410 \global\let\author\relax
411 \global\let\date\relax
412 \global\let\and\relax
418 \let\footnote\p@thanks
419 {\LARGE \@title \par}%
423 \begin{tabular}[t]{c}%
432 \newenvironment{abstract}{%
435 \@beginparpenalty\@lowpenalty
437 {\bfseries\abstractname}%
440 {\par\vfil\null\endtitlepage}
442 \newenvironment{abstract}{%
444 \section*{\abstractname}%
448 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
451 \fi}{\if@twocolumn\else\endquotation\fi}
453 \newcommand*{\chaptermark}[1]{}
454 \setcounter{secnumdepth}{2}
457 \newcounter{section}[chapter]
458 \newcounter{subsection}[section]
459 \newcounter{subsubsection}[subsection]
460 \newcounter{paragraph}[subsubsection]
461 \newcounter{subparagraph}[paragraph]
462 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
463 \renewcommand{\thechapter}{\rensuji{\@arabic\c@chapter}}
464 \renewcommand{\thesection}{\thechapter・\rensuji{\@arabic\c@section}}
465 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
466 \renewcommand{\thesubsubsection}{%
467 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
468 \renewcommand{\theparagraph}{%
469 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
470 \renewcommand{\thesubparagraph}{%
471 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
472 \newcommand{\@chapapp}{\prechaptername}
473 \newcommand{\@chappos}{\postchaptername}
475 \if@openleft \cleardoublepage \else
476 \if@openright \cleardoublepage \else \clearpage \fi \fi
477 \thispagestyle{empty}%
478 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
480 \secdef\@part\@spart}
482 \ifnum \c@secnumdepth >-2\relax
483 \refstepcounter{part}%
484 \addcontentsline{toc}{part}{%
485 \prepartname\thepart\postpartname\hspace{1em}#1}%
487 \addcontentsline{toc}{part}{#1}%
491 \interlinepenalty\@M\normalfont
492 \ifnum \c@secnumdepth >-2\relax
493 \huge\bfseries\prepartname\thepart\postpartname
496 \Huge\bfseries#2\par}%
500 \interlinepenalty\@M\normalfont
501 \Huge\bfseries#1\par}%
503 \def\@endpart{\vfil\newpage
505 \if@openleft %% \if@openleft added (2017/02/15)
506 \null\thispagestyle{empty}\newpage
507 \else\if@openright %% \if@openright added (2016/12/18)
508 \null\thispagestyle{empty}\newpage
509 \fi\fi %% added (2016/12/18, 2017/02/15)
511 \if@tempswa\twocolumn\fi}
512 \newcommand{\chapter}{%
513 \if@openleft \cleardoublepage \else
514 \if@openright \cleardoublepage \else \clearpage \fi \fi
515 \thispagestyle{jpl@in}%
518 \secdef\@chapter\@schapter}
519 \def\@chapter[#1]#2{%
520 \ifnum \c@secnumdepth >\m@ne
521 \refstepcounter{chapter}%
522 \typeout{\@chapapp\space\thechapter\space\@chappos}%
523 \addcontentsline{toc}{chapter}%
524 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
526 \addcontentsline{toc}{chapter}{#1}%
529 \addtocontents{lof}{\protect\addvspace{10\p@}}%
530 \addtocontents{lot}{\protect\addvspace{10\p@}}%
531 \@makechapterhead{#2}\@afterheading}
532 \def\@makechapterhead#1{\hbox{}%
536 \normalfont\huge\bfseries
538 \ifnum \c@secnumdepth >\m@ne
539 \setlength\@tempdima{\linewidth}%
540 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
541 \addtolength\@tempdima{-\wd\z@}%
543 \vtop{\hsize\@tempdima#1}%
546 \fi}\nobreak\vskip3\Cvs}
548 \@makeschapterhead{#1}\@afterheading
550 \def\@makeschapterhead#1{\hbox{}%
554 \normalfont\huge\bfseries
556 \setlength\@tempdima{\linewidth}%
557 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
558 \newcommand{\section}{\@startsection{section}{1}{\z@}%
559 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
560 {.5\Cvs \@plus.3\Cvs}%
561 {\normalfont\Large\bfseries}}
562 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
563 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
564 {.5\Cvs \@plus.3\Cvs}%
565 {\normalfont\large\bfseries}}
566 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
567 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
568 {.5\Cvs \@plus.3\Cvs}%
569 {\normalfont\normalsize\bfseries}}
570 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
571 {3.25ex \@plus 1ex \@minus .2ex}%
573 {\normalfont\normalsize\bfseries}}
574 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
575 {3.25ex \@plus 1ex \@minus .2ex}%
577 {\normalfont\normalsize\bfseries}}
578 \newcommand{\appendix}{\par
579 \setcounter{chapter}{0}%
580 \setcounter{section}{0}%
581 \renewcommand{\@chapapp}{\appendixname}%
582 \renewcommand{\@chappos}\space%
583 \renewcommand{\thechapter}{\rensuji{\@Alph\c@chapter}}}
585 \setlength\leftmargini {2em}
587 \setlength\leftmargini {2.5em}
589 \setlength\leftmarginii {2.2em}
590 \setlength\leftmarginiii {1.87em}
591 \setlength\leftmarginiv {1.7em}
593 \setlength\leftmarginv {.5em}
594 \setlength\leftmarginvi{.5em}
596 \setlength\leftmarginv {1em}
597 \setlength\leftmarginvi{1em}
599 \setlength \labelsep {.5em}
600 \setlength \labelwidth{\leftmargini}
601 \addtolength\labelwidth{-\labelsep}
602 \@beginparpenalty -\@lowpenalty
603 \@endparpenalty -\@lowpenalty
604 \@itempenalty -\@lowpenalty
605 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
606 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
607 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
608 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
609 \newcommand{\labelenumi}{\theenumi}
610 \newcommand{\labelenumii}{\theenumii}
611 \newcommand{\labelenumiii}{\theenumiii}
612 \newcommand{\labelenumiv}{\theenumiv}
613 \renewcommand{\p@enumii}{\theenumi}
614 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
615 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
616 \renewenvironment{enumerate}
617 {\ifnum \@enumdepth >\thr@@\@toodeep\else
618 \advance\@enumdepth\@ne
619 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
620 \expandafter \list \csname label\@enumctr\endcsname{%
621 \ifnum\ltjgetparameter{direction}=3
622 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
624 \parskip\z@ \itemsep\z@ \parsep\z@
625 \labelwidth1\zw \labelsep.3\zw
626 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
627 \else\leftmargin\leftskip\fi
628 \advance\leftmargin 1\zw
630 \usecounter{\@enumctr}%
631 \def\makelabel##1{\hss\llap{##1}}}%
633 \newcommand{\labelitemi}{\labelitemfont \textbullet}
634 \newcommand{\labelitemii}{%
635 \ifnum\ltjgetparameter{direction}=3
636 {\labelitemfont \textcircled{~}}
638 {\labelitemfont \bfseries\textendash}
641 \newcommand{\labelitemiii}{\labelitemfont \textasteriskcentered}
642 \newcommand{\labelitemiv}{\labelitemfont \textperiodcentered}
643 \newcommand\labelitemfont{\normalfont}
644 \renewenvironment{itemize}
645 {\ifnum \@itemdepth >\thr@@\@toodeep\else
646 \advance\@itemdepth\@ne
647 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
648 \expandafter \list \csname \@itemitem\endcsname{%
649 \ifnum\ltjgetparameter{direction}=3
650 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
652 \parskip\z@ \itemsep\z@ \parsep\z@
653 \labelwidth1\zw \labelsep.3\zw
654 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
655 \else\leftmargin\leftskip\fi
656 \advance\leftmargin 1\zw
658 \def\makelabel##1{\hss\llap{##1}}}%
660 \newenvironment{description}
661 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
662 \ifnum\ltjgetparameter{direction}=3
663 \leftmargin\leftskip \advance\leftmargin3\Cwd
664 \rightmargin\rightskip
665 \labelsep=1\zw \itemsep\z@
666 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
668 \let\makelabel\descriptionlabel}}{\endlist}
669 \newcommand{\descriptionlabel}[1]{%
670 \hspace\labelsep\normalfont\bfseries #1}
671 \newenvironment{verse}
673 \list{}{\itemsep\z@ \itemindent -1.5em%
674 \listparindent\itemindent
675 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
676 \item\relax}{\endlist}
677 \newenvironment{quotation}
678 {\list{}{\listparindent 1.5em%
679 \itemindent\listparindent
680 \rightmargin\leftmargin
681 \parsep\z@ \@plus\p@}%
682 \item\relax}{\endlist}
683 \newenvironment{quote}
684 {\list{}{\rightmargin\leftmargin}%
685 \item\relax}{\endlist}
686 \newcounter{figure}[chapter]
687 \renewcommand{\thefigure}{%
688 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@figure}}
692 \def\fnum@figure{\figurename\thefigure}
693 \newenvironment{figure}
696 \newenvironment{figure*}
699 \newcounter{table}[chapter]
700 \renewcommand{\thetable}{%
701 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@table}}
705 \def\fnum@table{\tablename\thetable}
706 \newenvironment{table}
709 \newenvironment{table*}
712 \newlength\abovecaptionskip
713 \newlength\belowcaptionskip
714 \setlength\abovecaptionskip{10\p@}
715 \setlength\belowcaptionskip{0\p@}
716 \long\def\@makecaption#1#2{%
717 \vskip\abovecaptionskip
718 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
719 \else\sbox\@tempboxa{#1: #2}%
721 \ifdim \wd\@tempboxa >\hsize
722 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
723 \else #1: #2\relax\par\fi
725 \global \@minipagefalse
726 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
728 \vskip\belowcaptionskip}
729 \setlength\arraycolsep{5\p@}
730 \setlength\tabcolsep{6\p@}
731 \setlength\arrayrulewidth{.4\p@}
732 \setlength\doublerulesep{2\p@}
733 \setlength\tabbingsep{\labelsep}
734 \skip\@mpfootins = \skip\footins
735 \setlength\fboxsep{3\p@}
736 \setlength\fboxrule{.4\p@}
737 \@addtoreset{equation}{chapter}
738 \renewcommand{\theequation}{%
739 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
740 \unless\ifltj@disablejfam
741 \if@compatibility\else
742 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
743 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
744 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
746 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
750 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
751 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
755 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
756 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
757 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
758 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
759 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
760 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
761 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
762 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
763 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
764 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
765 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
766 \setcounter{tocdepth}{2}
767 \newcommand{\@pnumwidth}{1.55em}
768 \newcommand{\@tocrmarg}{2.55em}
769 \newcommand{\@dotsep}{4.5}
770 \newdimen\toclineskip
771 \setlength\toclineskip{2\p@}
773 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
774 \def\@dottedtocline#1#2#3#4#5{%
775 \ifnum #1>\c@tocdepth \else
776 \vskip\toclineskip \@plus.2\p@
777 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
778 \parindent #2\relax\@afterindenttrue
782 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
784 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
786 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
789 \providecommand*\protected@file@percent{}
790 \def\addcontentsline#1#2#3{%
791 \protected@write\@auxout
792 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
793 \@temptokena{\rensuji{\thepage}}}%
794 {\string\@writefile{#1}%
795 {\protect\contentsline{#2}{#3}{\the\@temptokena}%
796 \protected@file@percent}}%
798 \newcommand{\tableofcontents}{%
799 \if@twocolumn\@restonecoltrue\onecolumn
800 \else\@restonecolfalse\fi
801 \chapter*{\contentsname
802 \@mkboth{\contentsname}{\contentsname}%
804 \if@restonecol\twocolumn\fi
806 \newcommand*{\l@part}[2]{%
807 \ifnum \c@tocdepth >-2\relax
808 \addpenalty{-\@highpenalty}%
809 \addvspace{2.25em \@plus\p@}%
811 \parindent\z@\rightskip\@pnumwidth
812 \parfillskip-\@pnumwidth
813 {\leavevmode\large\bfseries
814 \setlength\@lnumwidth{4\zw}%
816 \hb@xt@\@pnumwidth{\hss#2}}\par
819 \everypar{\global\@nobreakfalse\everypar{}}%
822 \newcommand*{\l@chapter}[2]{%
823 \ifnum \c@tocdepth >\m@ne
824 \addpenalty{-\@highpenalty}%
825 \addvspace{1.0em \@plus\p@}%
827 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
829 \setlength\@lnumwidth{4\zw}%
830 \advance\leftskip\@lnumwidth \hskip-\leftskip
831 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
832 \penalty\@highpenalty
835 \newcommand*{\l@section}{\@dottedtocline{1}{1\zw}{4\zw}}
836 \newcommand*{\l@subsection} {\@dottedtocline{2}{2\zw}{6\zw}}
837 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3\zw}{8\zw}}
838 \newcommand*{\l@paragraph} {\@dottedtocline{4}{4\zw}{9\zw}}
839 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{5\zw}{10\zw}}
840 \newcommand{\listoffigures}{%
841 \if@twocolumn\@restonecoltrue\onecolumn
842 \else\@restonecolfalse\fi
843 \chapter*{\listfigurename}%
844 \@mkboth{\listfigurename}{\listfigurename}%
846 \if@restonecol\twocolumn\fi
848 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
849 \newcommand{\listoftables}{%
850 \if@twocolumn\@restonecoltrue\onecolumn
851 \else\@restonecolfalse\fi
852 \chapter*{\listtablename}%
853 \@mkboth{\listtablename}{\listtablename}%
855 \if@restonecol\twocolumn\fi
857 \let\l@table\l@figure
859 \setlength\bibindent{1.5em}
860 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
861 \newenvironment{thebibliography}[1]
862 {\chapter*{\bibname}\@mkboth{\bibname}{\bibname}%
863 \list{\@biblabel{\@arabic\c@enumiv}}%
864 {\settowidth\labelwidth{\@biblabel{#1}}%
865 \leftmargin\labelwidth
866 \advance\leftmargin\labelsep
870 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
873 \@clubpenalty\clubpenalty
877 {\@latex@warning{Empty `thebibliography' environment}}%
879 \let\@openbib@code\@empty
880 \newenvironment{theindex}
881 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
882 \twocolumn[\@makeschapterhead{\indexname}]%
883 \@mkboth{\indexname}{\indexname}%
884 \thispagestyle{jpl@in}\parindent\z@
885 \parskip\z@ \@plus .3\p@\relax
886 \columnseprule\z@ \columnsep 35\p@
888 {\if@restonecol\onecolumn\else\clearpage\fi}
889 \newcommand{\@idxitem}{\par\hangindent 40\p@}
890 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
891 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
892 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
893 \renewcommand{\footnoterule}{%
895 \hrule\@width.4\columnwidth
897 \@addtoreset{footnote}{chapter}
898 \newcommand\@makefntext[1]{\parindent 1\zw
899 \noindent\hb@xt@ 2\zw{\hss\@makefnmark}#1}
903 \newcount\heisei \heisei\year \advance\heisei-1988\relax
904 \def\pltx@today@year@#1{%
905 \ifnum\numexpr\year-#1=1 元\else
906 \ifnum\ltjgetparameter{direction}=3
907 \kansuji\numexpr\year-#1\relax
909 \number\numexpr\year-#1\relax\nobreak
913 \def\pltx@today@year{%
914 \ifnum\numexpr\year*10000+\month*100+\day<19890108
915 昭和\pltx@today@year@{1925}%
916 \else\ifnum\numexpr\year*10000+\month*100+\day<20190501
917 平成\pltx@today@year@{1988}%
919 令和\pltx@today@year@{2018}%
923 \ifnum\ltjgetparameter{direction}=3 \kansuji\year
924 \else\number\year\nobreak\fi 年
928 \ifnum\ltjgetparameter{direction}=3
932 \number\month\nobreak 月
933 \number\day\nobreak 日
935 \newcommand{\prepartname}{第}
936 \newcommand{\postpartname}{部}
937 \newcommand{\prechaptername}{第}
938 \newcommand{\postchaptername}{章}
939 \newcommand{\contentsname}{目 次}
940 \newcommand{\listfigurename}{図 目 次}
941 \newcommand{\listtablename}{表 目 次}
942 \newcommand{\bibname}{関連図書}
943 \newcommand{\indexname}{索 引}
944 \newcommand{\figurename}{図}
945 \newcommand{\tablename}{表}
946 \newcommand{\appendixname}{付 録}
947 \newcommand{\abstractname}{概 要}
949 \pagenumbering{arabic}
951 \fnfixbottomtrue % 2017-02-19
952 \IfFileExists{stfloats.sty}{\RequirePackage{stfloats}\fnbelowfloat}{}
961 \AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext}
962 \AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext}
965 %% End of file `ltjtreport.cls'.