2 %% This is file `ltjtbook.cls',
3 %% generated with the docstrip utility.
5 %% The original source files were:
7 %% ltjclasses.dtx (with options: `book,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 ltjtbook.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{ltjtbook}
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 \newif\if@mainmatter \@mainmattertrue
38 \hour\time \divide\hour by 60\relax
39 \@tempcnta\hour \multiply\@tempcnta 60\relax
40 \minute\time \advance\minute-\@tempcnta
41 \newif\if@stysize \@stysizefalse
42 \newif\if@mathrmmc \@mathrmmcfalse
43 \DeclareOption{a4paper}{\setcounter{@paper}{1}%
44 \setlength\paperheight {297mm}%
45 \setlength\paperwidth {210mm}}
46 \DeclareOption{a5paper}{\setcounter{@paper}{2}%
47 \setlength\paperheight {210mm}
48 \setlength\paperwidth {148mm}}
49 \DeclareOption{b4paper}{\setcounter{@paper}{3}%
50 \setlength\paperheight {364mm}
51 \setlength\paperwidth {257mm}}
52 \DeclareOption{b5paper}{\setcounter{@paper}{4}%
53 \setlength\paperheight {257mm}
54 \setlength\paperwidth {182mm}}
55 \DeclareOption{a4j}{\setcounter{@paper}{1}\@stysizetrue
56 \setlength\paperheight {297mm}%
57 \setlength\paperwidth {210mm}}
58 \DeclareOption{a5j}{\setcounter{@paper}{2}\@stysizetrue
59 \setlength\paperheight {210mm}
60 \setlength\paperwidth {148mm}}
61 \DeclareOption{b4j}{\setcounter{@paper}{3}\@stysizetrue
62 \setlength\paperheight {364mm}
63 \setlength\paperwidth {257mm}}
64 \DeclareOption{b5j}{\setcounter{@paper}{4}\@stysizetrue
65 \setlength\paperheight {257mm}
66 \setlength\paperwidth {182mm}}
67 \DeclareOption{a4p}{\setcounter{@paper}{1}\@stysizetrue
68 \setlength\paperheight {297mm}%
69 \setlength\paperwidth {210mm}}
70 \DeclareOption{a5p}{\setcounter{@paper}{2}\@stysizetrue
71 \setlength\paperheight {210mm}
72 \setlength\paperwidth {148mm}}
73 \DeclareOption{b4p}{\setcounter{@paper}{3}\@stysizetrue
74 \setlength\paperheight {364mm}
75 \setlength\paperwidth {257mm}}
76 \DeclareOption{b5p}{\setcounter{@paper}{4}\@stysizetrue
77 \setlength\paperheight {257mm}
78 \setlength\paperwidth {182mm}}
80 \renewcommand{\@ptsize}{0}
82 \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
84 \DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
85 \DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
86 \DeclareOption{landscape}{\@landscapetrue
87 \setlength\@tempdima{\paperheight}%
88 \setlength\paperheight{\paperwidth}%
89 \setlength\paperwidth{\@tempdima}}
90 \DeclareOption{tombow}{%
91 \tombowtrue \tombowdatetrue
92 \setlength{\@tombowwidth}{.1\p@}%
94 \jobname\space(\number\year-\two@digits\month-\two@digits\day
95 \space\two@digits\hour:\two@digits\minute)}%
97 \DeclareOption{tombo}{%
98 \tombowtrue \tombowdatefalse
99 \setlength{\@tombowwidth}{.1\p@}%
101 \DeclareOption{mentuke}{%
102 \tombowtrue \tombowdatefalse
103 \setlength{\@tombowwidth}{\z@}%
105 \DeclareOption{tate}{%
106 \tate\AtBeginDocument{\message{《縦組モード》}\adjustbaseline}%
108 \DeclareOption{oneside}{\@twosidefalse}
109 \DeclareOption{twoside}{\@twosidetrue}
110 \DeclareOption{onecolumn}{\@twocolumnfalse}
111 \DeclareOption{twocolumn}{\@twocolumntrue}
112 \DeclareOption{titlepage}{\@titlepagetrue}
113 \DeclareOption{notitlepage}{\@titlepagefalse}
117 \DeclareOption{openright}{\@openrighttrue\@openleftfalse}
118 \DeclareOption{openleft}{\@openlefttrue\@openrightfalse}
119 \DeclareOption{openany}{\@openrightfalse\@openleftfalse}
121 \DeclareOption{leqno}{\input{leqno.clo}}
122 \DeclareOption{fleqn}{\input{fleqn.clo}}
123 \DeclareOption{openbib}{%
125 \renewcommand\@openbib@code{%
126 \advance\leftmargin\bibindent
127 \itemindent -\bibindent
128 \listparindent \itemindent
131 \renewcommand\newblock{\par}}}
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 \DeclareOption{disablejfam}{}
149 \ExecuteOptions{a4paper,10pt,twoside,onecolumn,final,openright,tate}
150 \ProcessOptions\relax
151 \input{ltjtbk1\@ptsize.clo}
152 \RequirePackage{lltjext}
153 \def\Cjascale{0.962216}
155 \setlength\columnsep{3\Cwd}
157 \setlength\columnsep{10\p@}
159 \setlength\columnseprule{0\p@}
161 \newlength{\stockwidth}
162 \newlength{\stockheight}
163 \setlength{\stockwidth}{\paperwidth}
164 \setlength{\stockheight}{\paperheight}
165 \advance \stockwidth 2in
166 \advance \stockheight 2in
167 \ifdefined\pdfpagewidth
168 \setlength{\pdfpagewidth}{\stockwidth}
169 \setlength{\pdfpageheight}{\stockheight}
171 \setlength{\pagewidth}{\stockwidth}
172 \setlength{\pageheight}{\stockheight}
175 \ifdefined\pdfpagewidth
176 \setlength{\pdfpagewidth}{\paperwidth}
177 \setlength{\pdfpageheight}{\paperheight}
179 \setlength{\pagewidth}{\paperwidth}
180 \setlength{\pageheight}{\paperheight}
183 \setlength\lineskip{1\p@}
184 \setlength\normallineskip{1\p@}
185 \renewcommand{\baselinestretch}{}
186 \setlength\parskip{0\p@ \@plus \p@}
187 \setlength\parindent{1\Cwd}
191 \setcounter{topnumber}{2}
192 \setcounter{bottomnumber}{1}
193 \setcounter{totalnumber}{3}
194 \setcounter{dbltopnumber}{2}
195 \renewcommand{\topfraction}{.7}
196 \renewcommand{\bottomfraction}{.3}
197 \renewcommand{\textfraction}{.2}
198 \renewcommand{\floatpagefraction}{.5}
199 \renewcommand{\dbltopfraction}{.7}
200 \renewcommand{\dblfloatpagefraction}{.5}
201 \def\pltx@cleartorightpage{\clearpage\if@twoside
202 \unless\ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
203 \hbox{}\thispagestyle{empty}\newpage
204 \if@twocolumn\hbox{}\newpage\fi
206 \def\pltx@cleartoleftpage{\clearpage\if@twoside
207 \ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax
208 \hbox{}\thispagestyle{empty}\newpage
209 \if@twocolumn\hbox{}\newpage\fi
211 \def\pltx@cleartooddpage{\clearpage\if@twoside
213 \hbox{}\thispagestyle{empty}\newpage
214 \if@twocolumn\hbox{}\newpage\fi
216 \def\pltx@cleartoevenpage{\clearpage\if@twoside
218 \hbox{}\thispagestyle{empty}\newpage
219 \if@twocolumn\hbox{}\newpage\fi
222 \let\cleardoublepage\pltx@cleartoleftpage
224 \let\cleardoublepage\pltx@cleartorightpage
226 \def\ps@plain{\let\@mkboth\@gobbletwo
227 \let\ps@jpl@in\ps@plain
229 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
230 \let\@evenhead\@empty
231 \let\@evenfoot\@oddfoot}
232 \let\ps@jpl@in\ps@plain
233 \def\ps@headnombre{\let\@mkboth\@gobbletwo
234 \let\ps@jpl@in\ps@headnombre
235 \def\@evenhead{\hfil\thepage}%
236 \def\@oddhead{\thepage\hfil}%
237 \let\@oddfoot\@empty\let\@evenfoot\@empty}
238 \def\ps@footnombre{\let\@mkboth\@gobbletwo
239 \let\ps@jpl@in\ps@footnombre
240 \def\@evenfoot{\hfil\thepage}%
241 \def\@oddfoot{\thepage\hfil}%
242 \let\@oddhead\@empty\let\@evenhead\@empty}
244 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
245 \let\@oddfoot\@empty\let\@evenfoot\@empty
246 \def\@evenhead{{\leftmark}\hfil\thepage}%
247 \def\@oddhead{\thepage\hfil\rightmark}%
248 \let\@mkboth\markboth
249 \def\chaptermark##1{\markboth{%
250 \ifnum \c@secnumdepth >\m@ne
252 \@chapapp\thechapter\@chappos\hskip1\zw
256 \def\sectionmark##1{\markright{%
257 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
260 \else % if not twoside
261 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
263 \def\@oddhead{\thepage\hfil\rightmark}%
264 \let\@mkboth\markboth
265 \def\chaptermark##1{\markright{%
266 \ifnum \c@secnumdepth >\m@ne
268 \@chapapp\thechapter\@chappos\hskip1\zw
275 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
276 \def\@evenhead{\hfil\leftmark}% right page
277 \def\@evenfoot{\hfil\thepage}% right page
278 \def\@oddhead{\rightmark\hfil}% left page
279 \def\@oddfoot{\thepage\hfil}% left page
280 \let\@mkboth\markboth
281 \def\chaptermark##1{\markboth{%
282 \ifnum \c@secnumdepth >\m@ne
284 \@chapapp\thechapter\@chappos\hskip1\zw
288 \def\sectionmark##1{\markright{%
289 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
292 \else % if one column
293 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
294 \def\@oddhead{\rightmark\hfil}%
295 \def\@oddfoot{\thepage\hfil}%
296 \let\@mkboth\markboth
297 \def\chaptermark##1{\markright{%
298 \ifnum \c@secnumdepth >\m@ne
300 \@chapapp\thechapter\@chappos\hskip1\zw
306 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
307 \let\@oddfoot\@empty\let\@evenfoot\@empty
308 \def\@evenhead{{\leftmark}\hfil\thepage}%
309 \def\@oddhead{\thepage\hfil\rightmark}%
310 \let\@mkboth\@gobbletwo
311 \let\chaptermark\@gobble
312 \let\sectionmark\@gobble
315 \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}
328 \pltx@cleartooddpage %% 2017/02/15
330 \@restonecoltrue\onecolumn
332 \@restonecolfalse\newpage
334 \thispagestyle{empty}%
335 \ifodd\c@page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017/02/15
337 {\if@restonecol\twocolumn \else \newpage \fi
339 \setcounter{page}\@ne
343 \def\p@thanks#1{\footnotemark
344 \protected@xdef\@thanks{\@thanks
345 \protect{\noindent\hbox{\yoko$\m@th^\thefootnote$}#1\protect\par}}}
347 \newcommand{\maketitle}{\begin{titlepage}%
348 \let\footnotesize\small
349 \let\footnoterule\relax
352 \vbox to\textheight\bgroup\tate\hsize\textwidth
356 {\LARGE \@title \par}%
360 \begin{tabular}[t]{c}%
364 {\large \@date \par}% % Set date in \large size.
366 \vfil{\centering\@thanks}\vfil\null
369 \setcounter{footnote}{0}%
370 \global\let\thanks\relax
371 \global\let\maketitle\relax
372 \global\let\p@thanks\relax
373 \global\let\@thanks\@empty
374 \global\let\@author\@empty
375 \global\let\@date\@empty
376 \global\let\@title\@empty
377 \global\let\title\relax
378 \global\let\author\relax
379 \global\let\date\relax
380 \global\let\and\relax
383 \newcommand{\maketitle}{\par
385 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
386 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
387 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
388 \long\def\@makefntext##1{\parindent 1\zw\noindent
389 \hb@xt@ 2\zw{\hss\@makefnmark}##1}%
391 \ifnum \col@number=\@ne \@maketitle
392 \else \twocolumn[\@maketitle]%
396 \global\@topnum\z@ % Prevents figures from going at top of page.
399 \thispagestyle{jpl@in}\@thanks
401 \setcounter{footnote}{0}%
402 \global\let\thanks\relax
403 \global\let\maketitle\relax
404 \global\let\@maketitle\relax
405 \global\let\p@thanks\relax
406 \global\let\@thanks\@empty
407 \global\let\@author\@empty
408 \global\let\@date\@empty
409 \global\let\@title\@empty
410 \global\let\title\relax
411 \global\let\author\relax
412 \global\let\date\relax
413 \global\let\and\relax
419 \let\footnote\p@thanks
420 {\LARGE \@title \par}%
424 \begin{tabular}[t]{c}%
432 \newcommand*{\chaptermark}[1]{}
433 \setcounter{secnumdepth}{2}
436 \newcounter{section}[chapter]
437 \newcounter{subsection}[section]
438 \newcounter{subsubsection}[subsection]
439 \newcounter{paragraph}[subsubsection]
440 \newcounter{subparagraph}[paragraph]
441 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
442 \renewcommand{\thechapter}{\rensuji{\@arabic\c@chapter}}
443 \renewcommand{\thesection}{\thechapter・\rensuji{\@arabic\c@section}}
444 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
445 \renewcommand{\thesubsubsection}{%
446 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
447 \renewcommand{\theparagraph}{%
448 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
449 \renewcommand{\thesubparagraph}{%
450 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
451 \newcommand{\@chapapp}{\prechaptername}
452 \newcommand{\@chappos}{\postchaptername}
453 \newcommand{\frontmatter}{%
455 \@mainmatterfalse\pagenumbering{roman}}
456 \newcommand{\mainmatter}{%
458 \@mainmattertrue\pagenumbering{arabic}}
459 \newcommand{\backmatter}{%
460 \if@openleft \cleardoublepage \else
461 \if@openright \cleardoublepage \else \clearpage \fi \fi
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
511 \refstepcounter{chapter}%
512 \typeout{\@chapapp\space\thechapter\space\@chappos}%
513 \addcontentsline{toc}{chapter}%
514 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
515 \else\addcontentsline{toc}{chapter}{#1}\fi
517 \addcontentsline{toc}{chapter}{#1}%
520 \addtocontents{lof}{\protect\addvspace{10\p@}}%
521 \addtocontents{lot}{\protect\addvspace{10\p@}}%
522 \@makechapterhead{#2}\@afterheading}
523 \def\@makechapterhead#1{\hbox{}%
527 \normalfont\huge\bfseries
529 \ifnum \c@secnumdepth >\m@ne
530 \setlength\@tempdima{\linewidth}%
532 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
533 \addtolength\@tempdima{-\wd\z@}%
536 \vtop{\hsize\@tempdima#1}%
539 \fi}\nobreak\vskip3\Cvs}
541 \@makeschapterhead{#1}\@afterheading
543 \def\@makeschapterhead#1{\hbox{}%
547 \normalfont\huge\bfseries
549 \setlength\@tempdima{\linewidth}%
550 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
551 \newcommand{\section}{\@startsection{section}{1}{\z@}%
552 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
553 {.5\Cvs \@plus.3\Cvs}%
554 {\normalfont\Large\bfseries}}
555 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
556 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
557 {.5\Cvs \@plus.3\Cvs}%
558 {\normalfont\large\bfseries}}
559 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
560 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
561 {.5\Cvs \@plus.3\Cvs}%
562 {\normalfont\normalsize\bfseries}}
563 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
564 {3.25ex \@plus 1ex \@minus .2ex}%
566 {\normalfont\normalsize\bfseries}}
567 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
568 {3.25ex \@plus 1ex \@minus .2ex}%
570 {\normalfont\normalsize\bfseries}}
571 \newcommand{\appendix}{\par
572 \setcounter{chapter}{0}%
573 \setcounter{section}{0}%
574 \renewcommand{\@chapapp}{\appendixname}%
575 \renewcommand{\@chappos}\space%
576 \renewcommand{\thechapter}{\rensuji{\@Alph\c@chapter}}}
578 \setlength\leftmargini {2em}
580 \setlength\leftmargini {2.5em}
582 \setlength\leftmarginii {2.2em}
583 \setlength\leftmarginiii {1.87em}
584 \setlength\leftmarginiv {1.7em}
586 \setlength\leftmarginv {.5em}
587 \setlength\leftmarginvi{.5em}
589 \setlength\leftmarginv {1em}
590 \setlength\leftmarginvi{1em}
592 \setlength \labelsep {.5em}
593 \setlength \labelwidth{\leftmargini}
594 \addtolength\labelwidth{-\labelsep}
595 \@beginparpenalty -\@lowpenalty
596 \@endparpenalty -\@lowpenalty
597 \@itempenalty -\@lowpenalty
598 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
599 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
600 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
601 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
602 \newcommand{\labelenumi}{\theenumi}
603 \newcommand{\labelenumii}{\theenumii}
604 \newcommand{\labelenumiii}{\theenumiii}
605 \newcommand{\labelenumiv}{\theenumiv}
606 \renewcommand{\p@enumii}{\theenumi}
607 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
608 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
609 \renewenvironment{enumerate}
610 {\ifnum \@enumdepth >\thr@@\@toodeep\else
611 \advance\@enumdepth\@ne
612 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
613 \expandafter \list \csname label\@enumctr\endcsname{%
614 \ifnum\ltjgetparameter{direction}=3
615 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
617 \parskip\z@ \itemsep\z@ \parsep\z@
618 \labelwidth1\zw \labelsep.3\zw
619 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
620 \else\leftmargin\leftskip\fi
621 \advance\leftmargin 1\zw
623 \usecounter{\@enumctr}%
624 \def\makelabel##1{\hss\llap{##1}}}%
626 \newcommand{\labelitemi}{\labelitemfont \textbullet}
627 \newcommand{\labelitemii}{%
628 \ifnum\ltjgetparameter{direction}=3
629 {\labelitemfont \textcircled{~}}
631 {\labelitemfont \bfseries\textendash}
634 \newcommand{\labelitemiii}{\labelitemfont \textasteriskcentered}
635 \newcommand{\labelitemiv}{\labelitemfont \textperiodcentered}
636 \newcommand\labelitemfont{\normalfont}
637 \renewenvironment{itemize}
638 {\ifnum \@itemdepth >\thr@@\@toodeep\else
639 \advance\@itemdepth\@ne
640 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
641 \expandafter \list \csname \@itemitem\endcsname{%
642 \ifnum\ltjgetparameter{direction}=3
643 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
645 \parskip\z@ \itemsep\z@ \parsep\z@
646 \labelwidth1\zw \labelsep.3\zw
647 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
648 \else\leftmargin\leftskip\fi
649 \advance\leftmargin 1\zw
651 \def\makelabel##1{\hss\llap{##1}}}%
653 \newenvironment{description}
654 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
655 \ifnum\ltjgetparameter{direction}=3
656 \leftmargin\leftskip \advance\leftmargin3\Cwd
657 \rightmargin\rightskip
658 \labelsep=1\zw \itemsep\z@
659 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
661 \let\makelabel\descriptionlabel}}{\endlist}
662 \newcommand{\descriptionlabel}[1]{%
663 \hspace\labelsep\normalfont\bfseries #1}
664 \newenvironment{verse}
666 \list{}{\itemsep\z@ \itemindent -1.5em%
667 \listparindent\itemindent
668 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
669 \item\relax}{\endlist}
670 \newenvironment{quotation}
671 {\list{}{\listparindent 1.5em%
672 \itemindent\listparindent
673 \rightmargin\leftmargin
674 \parsep\z@ \@plus\p@}%
675 \item\relax}{\endlist}
676 \newenvironment{quote}
677 {\list{}{\rightmargin\leftmargin}%
678 \item\relax}{\endlist}
679 \newcounter{figure}[chapter]
680 \renewcommand{\thefigure}{%
681 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@figure}}
685 \def\fnum@figure{\figurename\thefigure}
686 \newenvironment{figure}
689 \newenvironment{figure*}
692 \newcounter{table}[chapter]
693 \renewcommand{\thetable}{%
694 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@table}}
698 \def\fnum@table{\tablename\thetable}
699 \newenvironment{table}
702 \newenvironment{table*}
705 \newlength\abovecaptionskip
706 \newlength\belowcaptionskip
707 \setlength\abovecaptionskip{10\p@}
708 \setlength\belowcaptionskip{0\p@}
709 \long\def\@makecaption#1#2{%
710 \vskip\abovecaptionskip
711 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
712 \else\sbox\@tempboxa{#1: #2}%
714 \ifdim \wd\@tempboxa >\hsize
715 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
716 \else #1: #2\relax\par\fi
718 \global \@minipagefalse
719 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
721 \vskip\belowcaptionskip}
722 \setlength\arraycolsep{5\p@}
723 \setlength\tabcolsep{6\p@}
724 \setlength\arrayrulewidth{.4\p@}
725 \setlength\doublerulesep{2\p@}
726 \setlength\tabbingsep{\labelsep}
727 \skip\@mpfootins = \skip\footins
728 \setlength\fboxsep{3\p@}
729 \setlength\fboxrule{.4\p@}
730 \@addtoreset{equation}{chapter}
731 \renewcommand{\theequation}{%
732 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
733 \unless\ifltj@disablejfam
734 \if@compatibility\else
735 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
736 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
737 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
739 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
743 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
744 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
748 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
749 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
750 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
751 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
752 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
753 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
754 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
755 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
756 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
757 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
758 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
759 \setcounter{tocdepth}{2}
760 \newcommand{\@pnumwidth}{1.55em}
761 \newcommand{\@tocrmarg}{2.55em}
762 \newcommand{\@dotsep}{4.5}
763 \newdimen\toclineskip
764 \setlength\toclineskip{2\p@}
766 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
767 \def\@dottedtocline#1#2#3#4#5{%
768 \ifnum #1>\c@tocdepth \else
769 \vskip\toclineskip \@plus.2\p@
770 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
771 \parindent #2\relax\@afterindenttrue
775 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
777 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
779 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
782 \providecommand*\protected@file@percent{}
783 \def\addcontentsline#1#2#3{%
784 \protected@write\@auxout
785 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
786 \@temptokena{\rensuji{\thepage}}}%
787 {\string\@writefile{#1}%
788 {\protect\contentsline{#2}{#3}{\the\@temptokena}%
789 \protected@file@percent}}%
791 \newcommand{\tableofcontents}{%
792 \if@twocolumn\@restonecoltrue\onecolumn
793 \else\@restonecolfalse\fi
794 \chapter*{\contentsname
795 \@mkboth{\contentsname}{\contentsname}%
797 \if@restonecol\twocolumn\fi
799 \newcommand*{\l@part}[2]{%
800 \ifnum \c@tocdepth >-2\relax
801 \addpenalty{-\@highpenalty}%
802 \addvspace{2.25em \@plus\p@}%
804 \parindent\z@\rightskip\@pnumwidth
805 \parfillskip-\@pnumwidth
806 {\leavevmode\large\bfseries
807 \setlength\@lnumwidth{4\zw}%
809 \hb@xt@\@pnumwidth{\hss#2}}\par
812 \everypar{\global\@nobreakfalse\everypar{}}%
815 \newcommand*{\l@chapter}[2]{%
816 \ifnum \c@tocdepth >\m@ne
817 \addpenalty{-\@highpenalty}%
818 \addvspace{1.0em \@plus\p@}%
820 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
822 \setlength\@lnumwidth{4\zw}%
823 \advance\leftskip\@lnumwidth \hskip-\leftskip
824 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
825 \penalty\@highpenalty
828 \newcommand*{\l@section}{\@dottedtocline{1}{1\zw}{4\zw}}
829 \newcommand*{\l@subsection} {\@dottedtocline{2}{2\zw}{6\zw}}
830 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3\zw}{8\zw}}
831 \newcommand*{\l@paragraph} {\@dottedtocline{4}{4\zw}{9\zw}}
832 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{5\zw}{10\zw}}
833 \newcommand{\listoffigures}{%
834 \if@twocolumn\@restonecoltrue\onecolumn
835 \else\@restonecolfalse\fi
836 \chapter*{\listfigurename}%
837 \@mkboth{\listfigurename}{\listfigurename}%
839 \if@restonecol\twocolumn\fi
841 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
842 \newcommand{\listoftables}{%
843 \if@twocolumn\@restonecoltrue\onecolumn
844 \else\@restonecolfalse\fi
845 \chapter*{\listtablename}%
846 \@mkboth{\listtablename}{\listtablename}%
848 \if@restonecol\twocolumn\fi
850 \let\l@table\l@figure
852 \setlength\bibindent{1.5em}
853 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
854 \newenvironment{thebibliography}[1]
855 {\chapter*{\bibname}\@mkboth{\bibname}{\bibname}%
856 \list{\@biblabel{\@arabic\c@enumiv}}%
857 {\settowidth\labelwidth{\@biblabel{#1}}%
858 \leftmargin\labelwidth
859 \advance\leftmargin\labelsep
863 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
866 \@clubpenalty\clubpenalty
870 {\@latex@warning{Empty `thebibliography' environment}}%
872 \let\@openbib@code\@empty
873 \newenvironment{theindex}
874 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
875 \twocolumn[\@makeschapterhead{\indexname}]%
876 \@mkboth{\indexname}{\indexname}%
877 \thispagestyle{jpl@in}\parindent\z@
878 \parskip\z@ \@plus .3\p@\relax
879 \columnseprule\z@ \columnsep 35\p@
881 {\if@restonecol\onecolumn\else\clearpage\fi}
882 \newcommand{\@idxitem}{\par\hangindent 40\p@}
883 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
884 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
885 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
886 \renewcommand{\footnoterule}{%
888 \hrule\@width.4\columnwidth
890 \@addtoreset{footnote}{chapter}
891 \newcommand\@makefntext[1]{\parindent 1\zw
892 \noindent\hb@xt@ 2\zw{\hss\@makefnmark}#1}
896 \newcount\heisei \heisei\year \advance\heisei-1988\relax
897 \def\pltx@today@year@#1{%
898 \ifnum\numexpr\year-#1=1 元\else
899 \ifnum\ltjgetparameter{direction}=3
900 \kansuji\numexpr\year-#1\relax
902 \number\numexpr\year-#1\relax\nobreak
906 \def\pltx@today@year{%
907 \ifnum\numexpr\year*10000+\month*100+\day<19890108
908 昭和\pltx@today@year@{1925}%
909 \else\ifnum\numexpr\year*10000+\month*100+\day<20190501
910 平成\pltx@today@year@{1988}%
912 令和\pltx@today@year@{2018}%
916 \ifnum\ltjgetparameter{direction}=3 \kansuji\year
917 \else\number\year\nobreak\fi 年
921 \ifnum\ltjgetparameter{direction}=3
925 \number\month\nobreak 月
926 \number\day\nobreak 日
928 \newcommand{\prepartname}{第}
929 \newcommand{\postpartname}{部}
930 \newcommand{\prechaptername}{第}
931 \newcommand{\postchaptername}{章}
932 \newcommand{\contentsname}{目 次}
933 \newcommand{\listfigurename}{図 目 次}
934 \newcommand{\listtablename}{表 目 次}
935 \newcommand{\bibname}{関連図書}
936 \newcommand{\indexname}{索 引}
937 \newcommand{\figurename}{図}
938 \newcommand{\tablename}{表}
939 \newcommand{\appendixname}{付 録}
941 \pagenumbering{arabic}
943 \fnfixbottomtrue % 2017-02-19
944 \IfFileExists{stfloats.sty}{\RequirePackage{stfloats}\fnbelowfloat}{}
953 \AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext}
954 \AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext}
957 %% End of file `ltjtbook.cls'.