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 [2017/02/20 v1.7d-ltj-14
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:\space\number\year/\number\month/\number\day
94 (\number\hour:\number\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{disablejfam}{%
145 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
146 \DeclareOption{mathrmmc}{\@mathrmmctrue}
148 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
149 \DeclareOption{final}{\setlength\overfullrule{0pt}}
150 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
151 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
152 'ltj.jclasses_load_jfm', 1)}
153 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
154 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
155 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
156 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
157 \ltjglobalsetparameter{differentjfm=both}
158 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
159 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany,tate}
160 \ProcessOptions\relax
161 \input{ltjtsize1\@ptsize.clo}
162 \RequirePackage{lltjext}
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\dimexpr\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\dimexpr\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}{\textbullet}
634 \newcommand{\labelitemii}{%
635 \ifnum\ltjgetparameter{direction}=3
638 {\normalfont\bfseries\textendash}
641 \newcommand{\labelitemiii}{\textasteriskcentered}
642 \newcommand{\labelitemiv}{\textperiodcentered}
643 \renewenvironment{itemize}
644 {\ifnum \@itemdepth >\thr@@\@toodeep\else
645 \advance\@itemdepth\@ne
646 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
647 \expandafter \list \csname \@itemitem\endcsname{%
648 \ifnum\ltjgetparameter{direction}=3
649 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
651 \parskip\z@ \itemsep\z@ \parsep\z@
652 \labelwidth1\zw \labelsep.3\zw
653 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
654 \else\leftmargin\leftskip\fi
655 \advance\leftmargin 1\zw
657 \def\makelabel##1{\hss\llap{##1}}}%
659 \newenvironment{description}
660 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
661 \ifnum\ltjgetparameter{direction}=3
662 \leftmargin\leftskip \advance\leftmargin3\Cwd
663 \rightmargin\rightskip
664 \labelsep=1\zw \itemsep\z@
665 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
667 \let\makelabel\descriptionlabel}}{\endlist}
668 \newcommand{\descriptionlabel}[1]{%
669 \hspace\labelsep\normalfont\bfseries #1}
670 \newenvironment{verse}
672 \list{}{\itemsep\z@ \itemindent -1.5em%
673 \listparindent\itemindent
674 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
675 \item\relax}{\endlist}
676 \newenvironment{quotation}
677 {\list{}{\listparindent 1.5em%
678 \itemindent\listparindent
679 \rightmargin\leftmargin
680 \parsep\z@ \@plus\p@}%
681 \item\relax}{\endlist}
682 \newenvironment{quote}
683 {\list{}{\rightmargin\leftmargin}%
684 \item\relax}{\endlist}
685 \newcounter{figure}[chapter]
686 \renewcommand{\thefigure}{%
687 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@figure}}
691 \def\fnum@figure{\figurename\thefigure}
692 \newenvironment{figure}
695 \newenvironment{figure*}
698 \newcounter{table}[chapter]
699 \renewcommand{\thetable}{%
700 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@table}}
704 \def\fnum@table{\tablename\thetable}
705 \newenvironment{table}
708 \newenvironment{table*}
711 \newlength\abovecaptionskip
712 \newlength\belowcaptionskip
713 \setlength\abovecaptionskip{10\p@}
714 \setlength\belowcaptionskip{0\p@}
715 \long\def\@makecaption#1#2{%
716 \vskip\abovecaptionskip
717 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
718 \else\sbox\@tempboxa{#1: #2}%
720 \ifdim \wd\@tempboxa >\hsize
721 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
722 \else #1: #2\relax\par\fi
724 \global \@minipagefalse
725 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
727 \vskip\belowcaptionskip}
728 \setlength\arraycolsep{5\p@}
729 \setlength\tabcolsep{6\p@}
730 \setlength\arrayrulewidth{.4\p@}
731 \setlength\doublerulesep{2\p@}
732 \setlength\tabbingsep{\labelsep}
733 \skip\@mpfootins = \skip\footins
734 \setlength\fboxsep{3\p@}
735 \setlength\fboxrule{.4\p@}
736 \@addtoreset{equation}{chapter}
737 \renewcommand{\theequation}{%
738 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
739 \if@compatibility\else
740 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
741 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
742 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
744 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
748 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
749 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
752 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
753 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
754 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
755 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
756 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
757 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
758 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
759 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
760 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
761 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
762 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
763 \setcounter{tocdepth}{2}
764 \newcommand{\@pnumwidth}{1.55em}
765 \newcommand{\@tocrmarg}{2.55em}
766 \newcommand{\@dotsep}{4.5}
767 \newdimen\toclineskip
768 \setlength\toclineskip{2\p@}
770 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
771 \def\@dottedtocline#1#2#3#4#5{%
772 \ifnum #1>\c@tocdepth \else
773 \vskip\toclineskip \@plus.2\p@
774 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
775 \parindent #2\relax\@afterindenttrue
779 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
781 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
783 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
786 \def\addcontentsline#1#2#3{%
787 \protected@write\@auxout
788 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
789 \@temptokena{\rensuji{\thepage}}}%
790 {\string\@writefile{#1}%
791 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
793 \newcommand{\tableofcontents}{%
794 \if@twocolumn\@restonecoltrue\onecolumn
795 \else\@restonecolfalse\fi
796 \chapter*{\contentsname
797 \@mkboth{\contentsname}{\contentsname}%
799 \if@restonecol\twocolumn\fi
801 \newcommand*{\l@part}[2]{%
802 \ifnum \c@tocdepth >-2\relax
803 \addpenalty{-\@highpenalty}%
804 \addvspace{2.25em \@plus\p@}%
806 \parindent\z@\rightskip\@pnumwidth
807 \parfillskip-\@pnumwidth
808 {\leavevmode\large\bfseries
809 \setlength\@lnumwidth{4\zw}%
811 \hb@xt@\@pnumwidth{\hss#2}}\par
814 \everypar{\global\@nobreakfalse\everypar{}}%
817 \newcommand*{\l@chapter}[2]{%
818 \ifnum \c@tocdepth >\m@ne
819 \addpenalty{-\@highpenalty}%
820 \addvspace{1.0em \@plus\p@}%
822 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
824 \setlength\@lnumwidth{4\zw}%
825 \advance\leftskip\@lnumwidth \hskip-\leftskip
826 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
827 \penalty\@highpenalty
830 \newcommand*{\l@section}{\@dottedtocline{1}{1\zw}{4\zw}}
831 \newcommand*{\l@subsection} {\@dottedtocline{2}{2\zw}{6\zw}}
832 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3\zw}{8\zw}}
833 \newcommand*{\l@paragraph} {\@dottedtocline{4}{4\zw}{9\zw}}
834 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{5\zw}{10\zw}}
835 \newcommand{\listoffigures}{%
836 \if@twocolumn\@restonecoltrue\onecolumn
837 \else\@restonecolfalse\fi
838 \chapter*{\listfigurename}%
839 \@mkboth{\listfigurename}{\listfigurename}%
841 \if@restonecol\twocolumn\fi
843 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
844 \newcommand{\listoftables}{%
845 \if@twocolumn\@restonecoltrue\onecolumn
846 \else\@restonecolfalse\fi
847 \chapter*{\listtablename}%
848 \@mkboth{\listtablename}{\listtablename}%
850 \if@restonecol\twocolumn\fi
852 \let\l@table\l@figure
854 \setlength\bibindent{1.5em}
855 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
856 \newenvironment{thebibliography}[1]
857 {\chapter*{\bibname}\@mkboth{\bibname}{\bibname}%
858 \list{\@biblabel{\@arabic\c@enumiv}}%
859 {\settowidth\labelwidth{\@biblabel{#1}}%
860 \leftmargin\labelwidth
861 \advance\leftmargin\labelsep
865 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
868 \@clubpenalty\clubpenalty
872 {\@latex@warning{Empty `thebibliography' environment}}%
874 \let\@openbib@code\@empty
875 \newenvironment{theindex}
876 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
877 \twocolumn[\@makeschapterhead{\indexname}]%
878 \@mkboth{\indexname}{\indexname}%
879 \thispagestyle{jpl@in}\parindent\z@
880 \parskip\z@ \@plus .3\p@\relax
881 \columnseprule\z@ \columnsep 35\p@
883 {\if@restonecol\onecolumn\else\clearpage\fi}
884 \newcommand{\@idxitem}{\par\hangindent 40\p@}
885 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
886 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
887 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
888 \renewcommand{\footnoterule}{%
890 \hrule\@width.4\columnwidth
892 \@addtoreset{footnote}{chapter}
893 \newcommand\@makefntext[1]{\parindent 1\zw
894 \noindent\hb@xt@ 2\zw{\hss\@makefnmark}#1}
898 \newcount\heisei \heisei\year \advance\heisei-1988\relax
900 \ifnum\ltjgetparameter{direction}=3
906 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
916 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
921 \newcommand{\prepartname}{第}
922 \newcommand{\postpartname}{部}
923 \newcommand{\prechaptername}{第}
924 \newcommand{\postchaptername}{章}
925 \newcommand{\contentsname}{目 次}
926 \newcommand{\listfigurename}{図 目 次}
927 \newcommand{\listtablename}{表 目 次}
928 \newcommand{\bibname}{関連図書}
929 \newcommand{\indexname}{索 引}
930 \newcommand{\figurename}{図}
931 \newcommand{\tablename}{表}
932 \newcommand{\appendixname}{付 録}
933 \newcommand{\abstractname}{概 要}
935 \pagenumbering{arabic}
937 \fnfixbottomtrue % 2017-02-19
938 \IfFileExists{stfloats.sty}{\RequirePackage{stfloats}\fnbelowfloat}{}
947 \AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext}
948 \AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext}
951 %% End of file `ltjtreport.cls'.