2 %% This is file `ltjreport.cls',
3 %% generated with the docstrip utility.
5 %% The original source files were:
7 %% ltjclasses.dtx (with options: `report,yoko')
11 %% For the copyright see the source file.
13 %% Any modified versions of this file must be renamed
14 %% with new filenames distinct from ltjreport.cls.
16 %% For distribution of the original source see the terms
17 %% for copying and modification in the file ltjclasses.dtx.
19 %% This generated file may be distributed as long as the
20 %% original source files, as listed above, are part of the
21 %% same distribution. (The sources need not necessarily be
22 %% in the same archive or directory.)
23 %% File: ltjclasses.dtx
24 \NeedsTeXFormat{LaTeX2e}
25 \ProvidesClass{ltjreport}
26 [2017/03/06 v1.7e-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(\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{disablejfam}{%
134 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
135 \DeclareOption{mathrmmc}{\@mathrmmctrue}
137 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
138 \DeclareOption{final}{\setlength\overfullrule{0pt}}
139 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
140 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
141 'ltj.jclasses_load_jfm', 1)}
142 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
143 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
144 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
145 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
146 \ltjglobalsetparameter{differentjfm=both}
147 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
148 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany}
149 \ProcessOptions\relax
150 \input{ltjsize1\@ptsize.clo}
152 \setlength\columnsep{2\Cwd}
154 \setlength\columnsep{10\p@}
156 \setlength\columnseprule{0\p@}
158 \newlength{\stockwidth}
159 \newlength{\stockheight}
160 \setlength{\stockwidth}{\paperwidth}
161 \setlength{\stockheight}{\paperheight}
162 \advance \stockwidth 2in
163 \advance \stockheight 2in
164 \ifdefined\pdfpagewidth
165 \setlength{\pdfpagewidth}{\stockwidth}
166 \setlength{\pdfpageheight}{\stockheight}
168 \setlength{\pagewidth}{\stockwidth}
169 \setlength{\pageheight}{\stockheight}
172 \ifdefined\pdfpagewidth
173 \setlength{\pdfpagewidth}{\paperwidth}
174 \setlength{\pdfpageheight}{\paperheight}
176 \setlength{\pagewidth}{\paperwidth}
177 \setlength{\pageheight}{\paperheight}
180 \setlength\lineskip{1\p@}
181 \setlength\normallineskip{1\p@}
182 \renewcommand{\baselinestretch}{}
183 \setlength\parskip{0\p@ \@plus \p@}
184 \setlength\parindent{1\Cwd}
188 \setcounter{topnumber}{2}
189 \setcounter{bottomnumber}{1}
190 \setcounter{totalnumber}{3}
191 \setcounter{dbltopnumber}{2}
192 \renewcommand{\topfraction}{.7}
193 \renewcommand{\bottomfraction}{.3}
194 \renewcommand{\textfraction}{.2}
195 \renewcommand{\floatpagefraction}{.5}
196 \renewcommand{\dbltopfraction}{.7}
197 \renewcommand{\dblfloatpagefraction}{.5}
198 \def\pltx@cleartorightpage{\clearpage\if@twoside
199 \unless\ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
200 \hbox{}\thispagestyle{empty}\newpage
201 \if@twocolumn\hbox{}\newpage\fi
203 \def\pltx@cleartoleftpage{\clearpage\if@twoside
204 \ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
205 \hbox{}\thispagestyle{empty}\newpage
206 \if@twocolumn\hbox{}\newpage\fi
208 \def\pltx@cleartooddpage{\clearpage\if@twoside
210 \hbox{}\thispagestyle{empty}\newpage
211 \if@twocolumn\hbox{}\newpage\fi
213 \def\pltx@cleartoevenpage{\clearpage\if@twoside
215 \hbox{}\thispagestyle{empty}\newpage
216 \if@twocolumn\hbox{}\newpage\fi
219 \let\cleardoublepage\pltx@cleartoleftpage
221 \let\cleardoublepage\pltx@cleartorightpage
223 \def\ps@plain{\let\@mkboth\@gobbletwo
224 \let\ps@jpl@in\ps@plain
226 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
227 \let\@evenhead\@empty
228 \let\@evenfoot\@oddfoot}
229 \let\ps@jpl@in\ps@plain
230 \def\ps@headnombre{\let\@mkboth\@gobbletwo
231 \let\ps@jpl@in\ps@headnombre
232 \def\@evenhead{\thepage\hfil}%
233 \def\@oddhead{\hfil\thepage}%
234 \let\@oddfoot\@empty\let\@evenfoot\@empty}
235 \def\ps@footnombre{\let\@mkboth\@gobbletwo
236 \let\ps@jpl@in\ps@footnombre
237 \def\@evenfoot{\thepage\hfil}%
238 \def\@oddfoot{\hfil\thepage}%
239 \let\@oddhead\@empty\let\@evenhead\@empty}
241 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
242 \let\@oddfoot\@empty\let\@evenfoot\@empty
243 \def\@evenhead{\thepage\hfil\leftmark}%
244 \def\@oddhead{{\rightmark}\hfil\thepage}%
245 \let\@mkboth\markboth
246 \def\chaptermark##1{\markboth{%
247 \ifnum \c@secnumdepth >\m@ne
248 \@chapapp\thechapter\@chappos\hskip1\zw
251 \def\sectionmark##1{\markright{%
252 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
255 \else % if not twoside
256 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
258 \def\@oddhead{{\rightmark}\hfil\thepage}%
259 \let\@mkboth\markboth
260 \def\chaptermark##1{\markright{%
261 \ifnum \c@secnumdepth >\m@ne
262 \@chapapp\thechapter\@chappos\hskip1\zw
268 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
269 \def\@evenhead{\leftmark\hfil}% right page
270 \def\@evenfoot{\thepage\hfil}% right page
271 \def\@oddhead{\hfil\rightmark}% left page
272 \def\@oddfoot{\hfil\thepage}% left page
273 \let\@mkboth\markboth
274 \def\chaptermark##1{\markboth{%
275 \ifnum \c@secnumdepth >\m@ne
276 \@chapapp\thechapter\@chappos\hskip1\zw
279 \def\sectionmark##1{\markright{%
280 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
283 \else % if one column
284 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
285 \def\@oddhead{\hfil\rightmark}%
286 \def\@oddfoot{\hfil\thepage}%
287 \let\@mkboth\markboth
288 \def\chaptermark##1{\markright{%
289 \ifnum \c@secnumdepth >\m@ne
290 \@chapapp\thechapter\@chappos\hskip1\zw
295 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
296 \let\@oddfoot\@empty\let\@evenfoot\@empty
297 \def\@evenhead{\thepage\hfil\leftmark}%
298 \def\@oddhead{{\rightmark}\hfil\thepage}%
299 \let\@mkboth\@gobbletwo
300 \let\chaptermark\@gobble
301 \let\sectionmark\@gobble
304 \newenvironment{titlepage}
306 \if@twocolumn\@restonecoltrue\onecolumn
307 \else\@restonecolfalse\newpage\fi
308 \thispagestyle{empty}%
311 {\if@restonecol\twocolumn\else\newpage\fi
314 \newenvironment{titlepage}
317 \@restonecoltrue\onecolumn
319 \@restonecolfalse\newpage
321 \thispagestyle{empty}%
322 \ifodd\c@page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017/02/15
324 {\if@restonecol\twocolumn \else \newpage \fi
326 \setcounter{page}\@ne
330 \def\p@thanks#1{\footnotemark
331 \protected@xdef\@thanks{\@thanks
332 \protect{\noindent\hbox{\yoko$\m@th^\thefootnote$}#1\protect\par}}}
334 \newcommand{\maketitle}{\begin{titlepage}%
335 \let\footnotesize\small
336 \let\footnoterule\relax
341 {\LARGE \@title \par}%
345 \begin{tabular}[t]{c}%
349 {\large \@date \par}% % Set date in \large size.
353 \setcounter{footnote}{0}%
354 \global\let\thanks\relax
355 \global\let\maketitle\relax
356 \global\let\p@thanks\relax
357 \global\let\@thanks\@empty
358 \global\let\@author\@empty
359 \global\let\@date\@empty
360 \global\let\@title\@empty
361 \global\let\title\relax
362 \global\let\author\relax
363 \global\let\date\relax
364 \global\let\and\relax
367 \newcommand{\maketitle}{\par
369 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
370 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
371 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
372 \long\def\@makefntext##1{\parindent 1em\noindent
373 \hb@xt@1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
375 \ifnum \col@number=\@ne \@maketitle
376 \else \twocolumn[\@maketitle]%
380 \global\@topnum\z@ % Prevents figures from going at top of page.
383 \thispagestyle{jpl@in}\@thanks
385 \setcounter{footnote}{0}%
386 \global\let\thanks\relax
387 \global\let\maketitle\relax
388 \global\let\@maketitle\relax
389 \global\let\p@thanks\relax
390 \global\let\@thanks\@empty
391 \global\let\@author\@empty
392 \global\let\@date\@empty
393 \global\let\@title\@empty
394 \global\let\title\relax
395 \global\let\author\relax
396 \global\let\date\relax
397 \global\let\and\relax
404 {\LARGE \@title \par}%
408 \begin{tabular}[t]{c}%
417 \newenvironment{abstract}{%
420 \@beginparpenalty\@lowpenalty
422 {\bfseries\abstractname}%
425 {\par\vfil\null\endtitlepage}
427 \newenvironment{abstract}{%
429 \section*{\abstractname}%
433 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
436 \fi}{\if@twocolumn\else\endquotation\fi}
438 \newcommand*{\chaptermark}[1]{}
439 \setcounter{secnumdepth}{2}
442 \newcounter{section}[chapter]
443 \newcounter{subsection}[section]
444 \newcounter{subsubsection}[subsection]
445 \newcounter{paragraph}[subsubsection]
446 \newcounter{subparagraph}[paragraph]
447 \renewcommand{\thepart}{\@Roman\c@part}
448 \renewcommand{\thechapter}{\@arabic\c@chapter}
449 \renewcommand{\thesection}{\thechapter.\@arabic\c@section}
450 \renewcommand{\thesubsection}{\thesection.\@arabic\c@subsection}
451 \renewcommand{\thesubsubsection}{%
452 \thesubsection.\@arabic\c@subsubsection}
453 \renewcommand{\theparagraph}{%
454 \thesubsubsection.\@arabic\c@paragraph}
455 \renewcommand{\thesubparagraph}{%
456 \theparagraph.\@arabic\c@subparagraph}
457 \newcommand{\@chapapp}{\prechaptername}
458 \newcommand{\@chappos}{\postchaptername}
460 \if@openleft \cleardoublepage \else
461 \if@openright \cleardoublepage \else \clearpage \fi \fi
462 \thispagestyle{empty}%
463 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
465 \secdef\@part\@spart}
467 \ifnum \c@secnumdepth >-2\relax
468 \refstepcounter{part}%
469 \addcontentsline{toc}{part}{%
470 \prepartname\thepart\postpartname\hspace{1em}#1}%
472 \addcontentsline{toc}{part}{#1}%
476 \interlinepenalty\@M\normalfont
477 \ifnum \c@secnumdepth >-2\relax
478 \huge\bfseries\prepartname\thepart\postpartname
481 \Huge\bfseries#2\par}%
485 \interlinepenalty\@M\normalfont
486 \Huge\bfseries#1\par}%
488 \def\@endpart{\vfil\newpage
490 \if@openleft %% \if@openleft added (2017/02/15)
491 \null\thispagestyle{empty}\newpage
492 \else\if@openright %% \if@openright added (2016/12/18)
493 \null\thispagestyle{empty}\newpage
494 \fi\fi %% added (2016/12/18, 2017/02/15)
496 \if@tempswa\twocolumn\fi}
497 \newcommand{\chapter}{%
498 \if@openleft \cleardoublepage \else
499 \if@openright \cleardoublepage \else \clearpage \fi \fi
500 \thispagestyle{jpl@in}%
503 \secdef\@chapter\@schapter}
504 \def\@chapter[#1]#2{%
505 \ifnum \c@secnumdepth >\m@ne
506 \refstepcounter{chapter}%
507 \typeout{\@chapapp\space\thechapter\space\@chappos}%
508 \addcontentsline{toc}{chapter}%
509 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
511 \addcontentsline{toc}{chapter}{#1}%
514 \addtocontents{lof}{\protect\addvspace{10\p@}}%
515 \addtocontents{lot}{\protect\addvspace{10\p@}}%
516 \@makechapterhead{#2}\@afterheading}
517 \def\@makechapterhead#1{\hbox{}%
521 \normalfont\huge\bfseries
523 \ifnum \c@secnumdepth >\m@ne
524 \setlength\@tempdima{\linewidth}%
525 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
526 \addtolength\@tempdima{-\wd\z@}%
528 \vtop{\hsize\@tempdima#1}%
531 \fi}\nobreak\vskip3\Cvs}
533 \@makeschapterhead{#1}\@afterheading
535 \def\@makeschapterhead#1{\hbox{}%
539 \normalfont\huge\bfseries
541 \setlength\@tempdima{\linewidth}%
542 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
543 \newcommand{\section}{\@startsection{section}{1}{\z@}%
544 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
545 {.5\Cvs \@plus.3\Cvs}%
546 {\normalfont\Large\bfseries}}
547 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
548 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
549 {.5\Cvs \@plus.3\Cvs}%
550 {\normalfont\large\bfseries}}
551 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
552 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
553 {.5\Cvs \@plus.3\Cvs}%
554 {\normalfont\normalsize\bfseries}}
555 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
556 {3.25ex \@plus 1ex \@minus .2ex}%
558 {\normalfont\normalsize\bfseries}}
559 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
560 {3.25ex \@plus 1ex \@minus .2ex}%
562 {\normalfont\normalsize\bfseries}}
563 \newcommand{\appendix}{\par
564 \setcounter{chapter}{0}%
565 \setcounter{section}{0}%
566 \renewcommand{\@chapapp}{\appendixname}%
567 \renewcommand{\@chappos}\space%
568 \renewcommand{\thechapter}{\@Alph\c@chapter}}
570 \setlength\leftmargini {2em}
572 \setlength\leftmargini {2.5em}
574 \setlength\leftmarginii {2.2em}
575 \setlength\leftmarginiii {1.87em}
576 \setlength\leftmarginiv {1.7em}
578 \setlength\leftmarginv {.5em}
579 \setlength\leftmarginvi{.5em}
581 \setlength\leftmarginv {1em}
582 \setlength\leftmarginvi{1em}
584 \setlength \labelsep {.5em}
585 \setlength \labelwidth{\leftmargini}
586 \addtolength\labelwidth{-\labelsep}
587 \@beginparpenalty -\@lowpenalty
588 \@endparpenalty -\@lowpenalty
589 \@itempenalty -\@lowpenalty
590 \renewcommand{\theenumi}{\@arabic\c@enumi}
591 \renewcommand{\theenumii}{\@alph\c@enumii}
592 \renewcommand{\theenumiii}{\@roman\c@enumiii}
593 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
594 \newcommand{\labelenumi}{\theenumi.}
595 \newcommand{\labelenumii}{(\theenumii)}
596 \newcommand{\labelenumiii}{\theenumiii.}
597 \newcommand{\labelenumiv}{\theenumiv.}
598 \renewcommand{\p@enumii}{\theenumi}
599 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
600 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
601 \renewenvironment{enumerate}
602 {\ifnum \@enumdepth >\thr@@\@toodeep\else
603 \advance\@enumdepth\@ne
604 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
605 \expandafter \list \csname label\@enumctr\endcsname{%
606 \ifnum\ltjgetparameter{direction}=3
607 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
609 \parskip\z@ \itemsep\z@ \parsep\z@
610 \labelwidth1\zw \labelsep.3\zw
611 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
612 \else\leftmargin\leftskip\fi
613 \advance\leftmargin 1\zw
615 \usecounter{\@enumctr}%
616 \def\makelabel##1{\hss\llap{##1}}}%
618 \newcommand{\labelitemi}{\textbullet}
619 \newcommand{\labelitemii}{%
620 \ifnum\ltjgetparameter{direction}=3
623 {\normalfont\bfseries\textendash}
626 \newcommand{\labelitemiii}{\textasteriskcentered}
627 \newcommand{\labelitemiv}{\textperiodcentered}
628 \renewenvironment{itemize}
629 {\ifnum \@itemdepth >\thr@@\@toodeep\else
630 \advance\@itemdepth\@ne
631 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
632 \expandafter \list \csname \@itemitem\endcsname{%
633 \ifnum\ltjgetparameter{direction}=3
634 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
636 \parskip\z@ \itemsep\z@ \parsep\z@
637 \labelwidth1\zw \labelsep.3\zw
638 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
639 \else\leftmargin\leftskip\fi
640 \advance\leftmargin 1\zw
642 \def\makelabel##1{\hss\llap{##1}}}%
644 \newenvironment{description}
645 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
646 \ifnum\ltjgetparameter{direction}=3
647 \leftmargin\leftskip \advance\leftmargin3\Cwd
648 \rightmargin\rightskip
649 \labelsep=1\zw \itemsep\z@
650 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
652 \let\makelabel\descriptionlabel}}{\endlist}
653 \newcommand{\descriptionlabel}[1]{%
654 \hspace\labelsep\normalfont\bfseries #1}
655 \newenvironment{verse}
657 \list{}{\itemsep\z@ \itemindent -1.5em%
658 \listparindent\itemindent
659 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
660 \item\relax}{\endlist}
661 \newenvironment{quotation}
662 {\list{}{\listparindent 1.5em%
663 \itemindent\listparindent
664 \rightmargin\leftmargin
665 \parsep\z@ \@plus\p@}%
666 \item\relax}{\endlist}
667 \newenvironment{quote}
668 {\list{}{\rightmargin\leftmargin}%
669 \item\relax}{\endlist}
670 \newcounter{figure}[chapter]
671 \renewcommand{\thefigure}{%
672 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@figure}
676 \def\fnum@figure{\figurename~\thefigure}
677 \newenvironment{figure}
680 \newenvironment{figure*}
683 \newcounter{table}[chapter]
684 \renewcommand{\thetable}{%
685 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@table}
689 \def\fnum@table{\tablename~\thetable}
690 \newenvironment{table}
693 \newenvironment{table*}
696 \newlength\abovecaptionskip
697 \newlength\belowcaptionskip
698 \setlength\abovecaptionskip{10\p@}
699 \setlength\belowcaptionskip{0\p@}
700 \long\def\@makecaption#1#2{%
701 \vskip\abovecaptionskip
702 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
703 \else\sbox\@tempboxa{#1: #2}%
705 \ifdim \wd\@tempboxa >\hsize
706 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
707 \else #1: #2\relax\par\fi
709 \global \@minipagefalse
710 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
712 \vskip\belowcaptionskip}
713 \setlength\arraycolsep{5\p@}
714 \setlength\tabcolsep{6\p@}
715 \setlength\arrayrulewidth{.4\p@}
716 \setlength\doublerulesep{2\p@}
717 \setlength\tabbingsep{\labelsep}
718 \skip\@mpfootins = \skip\footins
719 \setlength\fboxsep{3\p@}
720 \setlength\fboxrule{.4\p@}
721 \@addtoreset{equation}{chapter}
722 \renewcommand{\theequation}{%
723 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
724 \if@compatibility\else
725 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
726 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
727 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
729 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
733 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
734 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
737 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
738 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
739 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
740 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
741 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
742 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
743 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
744 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
745 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
746 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
747 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
748 \setcounter{tocdepth}{2}
749 \newcommand{\@pnumwidth}{1.55em}
750 \newcommand{\@tocrmarg}{2.55em}
751 \newcommand{\@dotsep}{4.5}
752 \newdimen\toclineskip
753 \setlength\toclineskip{\z@}
755 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
756 \def\@dottedtocline#1#2#3#4#5{%
757 \ifnum #1>\c@tocdepth \else
758 \vskip\toclineskip \@plus.2\p@
759 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
760 \parindent #2\relax\@afterindenttrue
764 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
766 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
768 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
771 \def\addcontentsline#1#2#3{%
772 \protected@write\@auxout
773 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
774 \@temptokena{\thepage}}%
775 {\string\@writefile{#1}%
776 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
778 \newcommand{\tableofcontents}{%
779 \if@twocolumn\@restonecoltrue\onecolumn
780 \else\@restonecolfalse\fi
781 \chapter*{\contentsname
782 \@mkboth{\contentsname}{\contentsname}%
784 \if@restonecol\twocolumn\fi
786 \newcommand*{\l@part}[2]{%
787 \ifnum \c@tocdepth >-2\relax
788 \addpenalty{-\@highpenalty}%
789 \addvspace{2.25em \@plus\p@}%
791 \parindent\z@\rightskip\@pnumwidth
792 \parfillskip-\@pnumwidth
793 {\leavevmode\large\bfseries
794 \setlength\@lnumwidth{4\zw}%
796 \hb@xt@\@pnumwidth{\hss#2}}\par
799 \everypar{\global\@nobreakfalse\everypar{}}%
802 \newcommand*{\l@chapter}[2]{%
803 \ifnum \c@tocdepth >\m@ne
804 \addpenalty{-\@highpenalty}%
805 \addvspace{1.0em \@plus\p@}%
807 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
809 \setlength\@lnumwidth{4\zw}%
810 \advance\leftskip\@lnumwidth \hskip-\leftskip
811 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
812 \penalty\@highpenalty
815 \newcommand*{\l@section}{\@dottedtocline{1}{1.5em}{2.3em}}
816 \newcommand*{\l@subsection} {\@dottedtocline{2}{3.8em}{3.2em}}
817 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{7.0em}{4.1em}}
818 \newcommand*{\l@paragraph} {\@dottedtocline{4}{10em}{5em}}
819 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{12em}{6em}}
820 \newcommand{\listoffigures}{%
821 \if@twocolumn\@restonecoltrue\onecolumn
822 \else\@restonecolfalse\fi
823 \chapter*{\listfigurename}%
824 \@mkboth{\listfigurename}{\listfigurename}%
826 \if@restonecol\twocolumn\fi
828 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
829 \newcommand{\listoftables}{%
830 \if@twocolumn\@restonecoltrue\onecolumn
831 \else\@restonecolfalse\fi
832 \chapter*{\listtablename}%
833 \@mkboth{\listtablename}{\listtablename}%
835 \if@restonecol\twocolumn\fi
837 \let\l@table\l@figure
839 \setlength\bibindent{1.5em}
840 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
841 \newenvironment{thebibliography}[1]
842 {\chapter*{\bibname}\@mkboth{\bibname}{\bibname}%
843 \list{\@biblabel{\@arabic\c@enumiv}}%
844 {\settowidth\labelwidth{\@biblabel{#1}}%
845 \leftmargin\labelwidth
846 \advance\leftmargin\labelsep
850 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
853 \@clubpenalty\clubpenalty
857 {\@latex@warning{Empty `thebibliography' environment}}%
859 \let\@openbib@code\@empty
860 \newenvironment{theindex}
861 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
862 \twocolumn[\@makeschapterhead{\indexname}]%
863 \@mkboth{\indexname}{\indexname}%
864 \thispagestyle{jpl@in}\parindent\z@
865 \parskip\z@ \@plus .3\p@\relax
866 \columnseprule\z@ \columnsep 35\p@
868 {\if@restonecol\onecolumn\else\clearpage\fi}
869 \newcommand{\@idxitem}{\par\hangindent 40\p@}
870 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
871 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
872 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
873 \renewcommand{\footnoterule}{%
875 \hrule\@width.4\columnwidth
877 \@addtoreset{footnote}{chapter}
878 \newcommand\@makefntext[1]{\parindent 1em
879 \noindent\hb@xt@ 1.8em{\hss\@makefnmark}#1}
883 \newcount\heisei \heisei\year \advance\heisei-1988\relax
885 \ifnum\ltjgetparameter{direction}=3
891 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
901 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
906 \newcommand{\prepartname}{第}
907 \newcommand{\postpartname}{部}
908 \newcommand{\prechaptername}{第}
909 \newcommand{\postchaptername}{章}
910 \newcommand{\contentsname}{目 次}
911 \newcommand{\listfigurename}{図 目 次}
912 \newcommand{\listtablename}{表 目 次}
913 \newcommand{\bibname}{関連図書}
914 \newcommand{\indexname}{索 引}
915 \newcommand{\figurename}{図}
916 \newcommand{\tablename}{表}
917 \newcommand{\appendixname}{付 録}
918 \newcommand{\abstractname}{概 要}
920 \pagenumbering{arabic}
922 \fnfixbottomtrue % 2017-02-19
923 \IfFileExists{stfloats.sty}{\RequirePackage{stfloats}\fnbelowfloat}{}
935 \AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext}
936 \AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext}
939 %% End of file `ltjreport.cls'.