2 %% This is file `ltjbook.cls',
3 %% generated with the docstrip utility.
5 %% The original source files were:
7 %% ltjclasses.dtx (with options: `book,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 ltjbook.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
25 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
26 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
27 %% Digits \0\1\2\3\4\5\6\7\8\9
28 %% Exclamation \! Double quote \" Hash (number) \#
29 %% Dollar \$ Percent \% Ampersand \&
30 %% Acute accent \' Left paren \( Right paren \)
31 %% Asterisk \* Plus \+ Comma \,
32 %% Minus \- Point \. Solidus \/
33 %% Colon \: Semicolon \; Less than \<
34 %% Equals \= Greater than \> Question mark \?
35 %% Commercial at \@ Left bracket \[ Backslash \\
36 %% Right bracket \] Circumflex \^ Underscore \_
37 %% Grave accent \` Left brace \{ Vertical bar \|
38 %% Right brace \} Tilde \~}
40 \NeedsTeXFormat{LaTeX2e}
41 \ProvidesClass{ltjbook}
43 Standard LuaLaTeX-ja class]
44 \RequirePackage{luatexja}
46 \newif\if@landscape \@landscapefalse
47 \newcommand{\@ptsize}{}
52 \newif\if@mainmatter \@mainmattertrue
53 \hour\time \divide\hour by 60\relax
54 \@tempcnta\hour \multiply\@tempcnta 60\relax
55 \minute\time \advance\minute-\@tempcnta
56 \newif\if@stysize \@stysizefalse
57 \newif\if@enablejfam \@enablejfamtrue
58 \newif\if@mathrmmc \@mathrmmcfalse
59 \DeclareOption{a4paper}{\setcounter{@paper}{1}%
60 \setlength\paperheight {297mm}%
61 \setlength\paperwidth {210mm}}
62 \DeclareOption{a5paper}{\setcounter{@paper}{2}%
63 \setlength\paperheight {210mm}
64 \setlength\paperwidth {148mm}}
65 \DeclareOption{b4paper}{\setcounter{@paper}{3}%
66 \setlength\paperheight {364mm}
67 \setlength\paperwidth {257mm}}
68 \DeclareOption{b5paper}{\setcounter{@paper}{4}%
69 \setlength\paperheight {257mm}
70 \setlength\paperwidth {182mm}}
71 \DeclareOption{a4j}{\setcounter{@paper}{1}\@stysizetrue
72 \setlength\paperheight {297mm}%
73 \setlength\paperwidth {210mm}}
74 \DeclareOption{a5j}{\setcounter{@paper}{2}\@stysizetrue
75 \setlength\paperheight {210mm}
76 \setlength\paperwidth {148mm}}
77 \DeclareOption{b4j}{\setcounter{@paper}{3}\@stysizetrue
78 \setlength\paperheight {364mm}
79 \setlength\paperwidth {257mm}}
80 \DeclareOption{b5j}{\setcounter{@paper}{4}\@stysizetrue
81 \setlength\paperheight {257mm}
82 \setlength\paperwidth {182mm}}
83 \DeclareOption{a4p}{\setcounter{@paper}{1}\@stysizetrue
84 \setlength\paperheight {297mm}%
85 \setlength\paperwidth {210mm}}
86 \DeclareOption{a5p}{\setcounter{@paper}{2}\@stysizetrue
87 \setlength\paperheight {210mm}
88 \setlength\paperwidth {148mm}}
89 \DeclareOption{b4p}{\setcounter{@paper}{3}\@stysizetrue
90 \setlength\paperheight {364mm}
91 \setlength\paperwidth {257mm}}
92 \DeclareOption{b5p}{\setcounter{@paper}{4}\@stysizetrue
93 \setlength\paperheight {257mm}
94 \setlength\paperwidth {182mm}}
96 \renewcommand{\@ptsize}{0}
98 \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
100 \DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
101 \DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
102 \DeclareOption{landscape}{\@landscapetrue
103 \setlength\@tempdima{\paperheight}%
104 \setlength\paperheight{\paperwidth}%
105 \setlength\paperwidth{\@tempdima}}
106 \DeclareOption{tombow}{%
107 \tombowtrue \tombowdatetrue
108 \setlength{\@tombowwidth}{.1\p@}%
110 \jobname\space:\space\number\year/\number\month/\number\day
111 (\number\hour:\number\minute)}
113 \DeclareOption{tombo}{%
114 \tombowtrue \tombowdatefalse
115 \setlength{\@tombowwidth}{.1\p@}%
117 \DeclareOption{mentuke}{%
118 \tombowtrue \tombowdatefalse
119 \setlength{\@tombowwidth}{\z@}%
121 %% \DeclareOption{tate}{%
122 %% \AtBeginDocument{\tate\message{《縦組モード》}%
125 \DeclareOption{oneside}{\@twosidefalse}
126 \DeclareOption{twoside}{\@twosidetrue}
127 \DeclareOption{onecolumn}{\@twocolumnfalse}
128 \DeclareOption{twocolumn}{\@twocolumntrue}
129 \DeclareOption{titlepage}{\@titlepagetrue}
130 \DeclareOption{notitlepage}{\@titlepagefalse}
134 \DeclareOption{openright}{\@openrighttrue}
135 \DeclareOption{openany}{\@openrightfalse}
137 \DeclareOption{leqno}{\input{leqno.clo}}
138 \DeclareOption{fleqn}{\input{fleqn.clo}}
139 \DeclareOption{openbib}{%
141 \renewcommand\@openbib@code{%
142 \advance\leftmargin\bibindent
143 \itemindent -\bibindent
144 \listparindent \itemindent
147 \renewcommand\newblock{\par}}}
151 \DeclareOption{disablejfam}{\@enablejfamfalse}
152 \DeclareOption{mathrmmc}{\@mathrmmctrue}
154 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
155 \DeclareOption{final}{\setlength\overfullrule{0pt}}
156 \ExecuteOptions{a4paper,10pt,twoside,onecolumn,final,openright}
157 \ProcessOptions\relax
158 \input{ltjbk1\@ptsize.clo}
160 \setlength\columnsep{2\Cwd}
162 \setlength\columnsep{10\p@}
164 \setlength\columnseprule{0\p@}
165 \setlength{\@tempdima}{\paperwidth}
166 \setlength{\@tempdimb}{\paperheight}
168 \advance \@tempdima 2in
169 \advance \@tempdimb 2in
171 \setlength{\pdfpagewidth}{\@tempdima}
172 \setlength{\pdfpageheight}{\@tempdimb}
173 \setlength\lineskip{1\p@}
174 \setlength\normallineskip{1\p@}
175 \renewcommand{\baselinestretch}{}
176 \setlength\parskip{0\p@ \@plus \p@}
177 \setlength\parindent{1\Cwd}
181 \setcounter{topnumber}{2}
182 \setcounter{bottomnumber}{1}
183 \setcounter{totalnumber}{3}
184 \setcounter{dbltopnumber}{2}
185 \renewcommand{\topfraction}{.7}
186 \renewcommand{\bottomfraction}{.3}
187 \renewcommand{\textfraction}{.2}
188 \renewcommand{\floatpagefraction}{.5}
189 \renewcommand{\dbltopfraction}{.7}
190 \renewcommand{\dblfloatpagefraction}{.5}
191 \def\ps@plain{\let\@mkboth\@gobbletwo
192 \let\ps@jpl@in\ps@plain
194 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
195 \let\@evenhead\@empty
196 \let\@evenfoot\@oddfoot}
197 \let\ps@jpl@in\ps@plain
198 \def\ps@headnombre{\let\@mkboth\@gobbletwo
199 \let\ps@jpl@in\ps@headnombre
200 \def\@evenhead{\thepage\hfil}%
201 \def\@oddhead{\hfil\thepage}%
202 \let\@oddfoot\@empty\let\@evenfoot\@empty}
203 \def\ps@footnombre{\let\@mkboth\@gobbletwo
204 \let\ps@jpl@in\ps@footnombre
205 \def\@evenfoot{\thepage\hfil}%
206 \def\@oddfoot{\hfil\thepage}%
207 \let\@oddhead\@empty\let\@evenhead\@empty}
209 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
210 \let\@oddfoot\@empty\let\@evenfoot\@empty
211 \def\@evenhead{\thepage\hfil\leftmark}%
212 \def\@oddhead{{\rightmark}\hfil\thepage}%
213 \let\@mkboth\markboth
214 \def\chaptermark##1{\markboth{%
215 \ifnum \c@secnumdepth >\m@ne
217 \@chapapp\thechapter\@chappos\hskip1\zw
221 \def\sectionmark##1{\markright{%
222 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
225 \else % if not twoside
226 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
228 \def\@oddhead{{\rightmark}\hfil\thepage}%
229 \let\@mkboth\markboth
230 \def\chaptermark##1{\markright{%
231 \ifnum \c@secnumdepth >\m@ne
233 \@chapapp\thechapter\@chappos\hskip1\zw
240 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
241 \def\@evenhead{\leftmark\hfil}% right page
242 \def\@evenfoot{\thepage\hfil}% right page
243 \def\@oddhead{\hfil\rightmark}% left page
244 \def\@oddfoot{\hfil\thepage}% left page
245 \let\@mkboth\markboth
246 \def\chaptermark##1{\markboth{%
247 \ifnum \c@secnumdepth >\m@ne
249 \@chapapp\thechapter\@chappos\hskip1\zw
253 \def\sectionmark##1{\markright{%
254 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
257 \else % if one column
258 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
259 \def\@oddhead{\hfil\rightmark}%
260 \def\@oddfoot{\hfil\thepage}%
261 \let\@mkboth\markboth
262 \def\chaptermark##1{\markright{%
263 \ifnum \c@secnumdepth >\m@ne
265 \@chapapp\thechapter\@chappos\hskip1\zw
271 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
272 \let\@oddfoot\@empty\let\@evenfoot\@empty
273 \def\@evenhead{\thepage\hfil\leftmark}%
274 \def\@oddhead{{\rightmark}\hfil\thepage}%
275 \let\@mkboth\@gobbletwo
276 \let\chaptermark\@gobble
277 \let\sectionmark\@gobble
280 \newenvironment{titlepage}
283 \if@twocolumn\@restonecoltrue\onecolumn
284 \else\@restonecolfalse\newpage\fi
285 \thispagestyle{empty}%
288 {\if@restonecol\twocolumn\else\newpage\fi
291 \newenvironment{titlepage}
295 \@restonecoltrue\onecolumn
297 \@restonecolfalse\newpage
299 \thispagestyle{empty}%
300 \setcounter{page}\@ne
302 {\if@restonecol\twocolumn \else \newpage \fi
304 \setcounter{page}\@ne
308 \def\p@thanks#1{\footnotemark
309 \protected@xdef\@thanks{\@thanks
310 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
312 \newcommand{\maketitle}{\begin{titlepage}%
313 \let\footnotesize\small
314 \let\footnoterule\relax
319 {\LARGE \@title \par}%
323 \begin{tabular}[t]{c}%
327 {\large \@date \par}% % Set date in \large size.
331 \setcounter{footnote}{0}%
332 \global\let\thanks\relax
333 \global\let\maketitle\relax
334 \global\let\p@thanks\relax
335 \global\let\@thanks\@empty
336 \global\let\@author\@empty
337 \global\let\@date\@empty
338 \global\let\@title\@empty
339 \global\let\title\relax
340 \global\let\author\relax
341 \global\let\date\relax
342 \global\let\and\relax
345 \newcommand{\maketitle}{\par
347 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
348 \def\@makefnmark{\hbox{\ifydir $\m@th^{\@thefnmark}$
349 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
350 \long\def\@makefntext##1{\parindent 1em\noindent
351 \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
353 \ifnum \col@number=\@ne \@maketitle
354 \else \twocolumn[\@maketitle]%
358 \global\@topnum\z@ % Prevents figures from going at top of page.
361 \thispagestyle{jpl@in}\@thanks
363 \setcounter{footnote}{0}%
364 \global\let\thanks\relax
365 \global\let\maketitle\relax
366 \global\let\p@thanks\relax
367 \global\let\@thanks\@empty
368 \global\let\@author\@empty
369 \global\let\@date\@empty
370 \global\let\@title\@empty
371 \global\let\title\relax
372 \global\let\author\relax
373 \global\let\date\relax
374 \global\let\and\relax
381 {\LARGE \@title \par}%
385 \begin{tabular}[t]{c}%
393 \newcommand*{\chaptermark}[1]{}
394 \setcounter{secnumdepth}{2}
397 \newcounter{section}[chapter]
398 \newcounter{subsection}[section]
399 \newcounter{subsubsection}[subsection]
400 \newcounter{paragraph}[subsubsection]
401 \newcounter{subparagraph}[paragraph]
402 \renewcommand{\thepart}{\@Roman\c@part}
403 \renewcommand{\thechapter}{\@arabic\c@chapter}
404 \renewcommand{\thesection}{\thechapter.\@arabic\c@section}
405 \renewcommand{\thesubsection}{\thesection.\@arabic\c@subsection}
406 \renewcommand{\thesubsubsection}{%
407 \thesubsection.\@arabic\c@subsubsection}
408 \renewcommand{\theparagraph}{%
409 \thesubsubsection.\@arabic\c@paragraph}
410 \renewcommand{\thesubparagraph}{%
411 \theparagraph.\@arabic\c@subparagraph}
412 \newcommand{\@chapapp}{\prechaptername}
413 \newcommand{\@chappos}{\postchaptername}
414 \newcommand\frontmatter{%
415 \if@openright \cleardoublepage \else \clearpage \fi
416 \@mainmatterfalse\pagenumbering{roman}}
417 \newcommand{\mainmatter}{%
418 \if@openright \cleardoublepage \else \clearpage \fi
419 \@mainmattertrue\pagenumbering{arabic}}
420 \newcommand{\backmatter}{%
421 \if@openright \cleardoublepage \else \clearpage \fi
424 \if@openright \cleardoublepage \else \clearpage \fi
425 \thispagestyle{empty}%
426 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
428 \secdef\@part\@spart}
430 \ifnum \c@secnumdepth >-2\relax
431 \refstepcounter{part}%
432 \addcontentsline{toc}{part}{%
433 \prepartname\thepart\postpartname\hspace{1em}#1}%
435 \addcontentsline{toc}{part}{#1}%
439 \interlinepenalty\@M\reset@font
440 \ifnum \c@secnumdepth >-2\relax
441 \huge\bfseries\prepartname\thepart\postpartname
444 \Huge\bfseries#2\par}%
448 \interlinepenalty\@M\reset@font
449 \Huge\bfseries#1\par}%
451 \def\@endpart{\vfil\newpage
452 \if@twoside\null\thispagestyle{empty}\newpage\fi
453 \if@tempswa\twocolumn\fi}
454 \newcommand{\chapter}{%
455 \if@openright\cleardoublepage\else\clearpage\fi
456 \thispagestyle{jpl@in}%
459 \secdef\@chapter\@schapter}
460 \def\@chapter[#1]#2{%
461 \ifnum \c@secnumdepth >\m@ne
463 \refstepcounter{chapter}%
464 \typeout{\@chapapp\space\thechapter\space\@chappos}%
465 \addcontentsline{toc}{chapter}%
466 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
467 \else\addcontentsline{toc}{chapter}{#1}\fi
469 \addcontentsline{toc}{chapter}{#1}%
472 \addtocontents{lof}{\protect\addvspace{10\p@}}%
473 \addtocontents{lot}{\protect\addvspace{10\p@}}%
474 \@makechapterhead{#2}\@afterheading}
475 \def\@makechapterhead#1{\hbox{}%
479 \reset@font\huge\bfseries
481 \ifnum \c@secnumdepth >\m@ne
482 \setlength\@tempdima{\linewidth}%
484 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
485 \addtolength\@tempdima{-\wd\z@}%
488 \vtop{\hsize\@tempdima#1}%
491 \fi}\nobreak\vskip3\Cvs}
493 \@makeschapterhead{#1}\@afterheading
495 \def\@makeschapterhead#1{\hbox{}%
499 \reset@font\huge\bfseries
501 \setlength\@tempdima{\linewidth}%
502 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
503 \newcommand{\section}{\@startsection{section}{1}{\z@}%
504 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
505 {.5\Cvs \@plus.3\Cvs}%
506 {\reset@font\Large\bfseries}}
507 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
508 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
509 {.5\Cvs \@plus.3\Cvs}%
510 {\reset@font\large\bfseries}}
511 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
512 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
513 {.5\Cvs \@plus.3\Cvs}%
514 {\reset@font\normalsize\bfseries}}
515 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
516 {3.25ex \@plus 1ex \@minus .2ex}%
518 {\reset@font\normalsize\bfseries}}
519 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
520 {3.25ex \@plus 1ex \@minus .2ex}%
522 {\reset@font\normalsize\bfseries}}
523 \newcommand{\appendix}{\par
524 \setcounter{chapter}{0}%
525 \setcounter{section}{0}%
526 \renewcommand{\@chapapp}{\appendixname}%
527 \renewcommand{\@chappos}\space%
528 \renewcommand{\thechapter}{\@Alph\c@chapter}}
530 \setlength\leftmargini {2em}
532 \setlength\leftmargini {2.5em}
534 \setlength\leftmarginii {2.2em}
535 \setlength\leftmarginiii {1.87em}
536 \setlength\leftmarginiv {1.7em}
538 \setlength\leftmarginv {.5em}
539 \setlength\leftmarginvi{.5em}
541 \setlength\leftmarginv {1em}
542 \setlength\leftmarginvi{1em}
544 \setlength \labelsep {.5em}
545 \setlength \labelwidth{\leftmargini}
546 \addtolength\labelwidth{-\labelsep}
547 \@beginparpenalty -\@lowpenalty
548 \@endparpenalty -\@lowpenalty
549 \@itempenalty -\@lowpenalty
550 \renewcommand{\theenumi}{\@arabic\c@enumi}
551 \renewcommand{\theenumii}{\@alph\c@enumii}
552 \renewcommand{\theenumiii}{\@roman\c@enumiii}
553 \renewcommand{\theenumiv}{\@Alph\c@enumiv}
554 \newcommand{\labelenumi}{\theenumi.}
555 \newcommand{\labelenumii}{(\theenumii)}
556 \newcommand{\labelenumiii}{\theenumiii.}
557 \newcommand{\labelenumiv}{\theenumiv.}
558 \renewcommand{\p@enumii}{\theenumi}
559 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
560 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
561 \renewenvironment{enumerate}
562 {\ifnum \@enumdepth >\thr@@\@toodeep\else
563 \advance\@enumdepth\@ne
564 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
565 \list{\csname label\@enumctr\endcsname}{%
567 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
569 \parskip\z@ \itemsep\z@ \parsep\z@
570 \labelwidth1\zw \labelsep.3\zw
571 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
572 \else\leftmargin\leftskip\fi
573 \advance\leftmargin 1\zw
575 \usecounter{\@enumctr}%
576 \def\makelabel##1{\hss\llap{##1}}}%
578 \newcommand{\labelitemi}{\textbullet}
579 \newcommand{\labelitemii}{%
583 {\normalfont\bfseries\textendash}
586 \newcommand{\labelitemiii}{\textasteriskcentered}
587 \newcommand{\labelitemiv}{\textperiodcentered}
588 \renewenvironment{itemize}
589 {\ifnum \@itemdepth >\thr@@\@toodeep\else
590 \advance\@itemdepth\@ne
591 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
593 \list{\csname \@itemitem\endcsname}{%
595 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
597 \parskip\z@ \itemsep\z@ \parsep\z@
598 \labelwidth1\zw \labelsep.3\zw
599 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
600 \else\leftmargin\leftskip\fi
601 \advance\leftmargin 1\zw
603 \def\makelabel##1{\hss\llap{##1}}}%
605 \newenvironment{description}
606 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
608 \leftmargin\leftskip \advance\leftmargin3\Cwd
609 \rightmargin\rightskip
610 \labelsep=1\zw \itemsep\z@
611 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
613 \let\makelabel\descriptionlabel}}{\endlist}
614 \newcommand{\descriptionlabel}[1]{%
615 \hspace\labelsep\normalfont\bfseries #1}
616 \newenvironment{verse}
618 \list{}{\itemsep\z@ \itemindent -1.5em%
619 \listparindent\itemindent
620 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
621 \item\relax}{\endlist}
622 \newenvironment{quotation}
623 {\list{}{\listparindent 1.5em%
624 \itemindent\listparindent
625 \rightmargin\leftmargin
626 \parsep\z@ \@plus\p@}%
627 \item\relax}{\endlist}
628 \newenvironment{quote}
629 {\list{}{\rightmargin\leftmargin}%
630 \item\relax}{\endlist}
631 \newcounter{figure}[chapter]
632 \renewcommand{\thefigure}{%
633 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@figure}
637 \def\fnum@figure{\figurename~\thefigure}
638 \newenvironment{figure}
641 \newenvironment{figure*}
644 \newcounter{table}[chapter]
645 \renewcommand{\thetable}{%
646 \ifnum\c@chapter>\z@\thechapter.\fi\@arabic\c@table}
650 \def\fnum@table{\tablename~\thetable}
651 \newenvironment{table}
654 \newenvironment{table*}
657 \newlength\abovecaptionskip
658 \newlength\belowcaptionskip
659 \setlength\abovecaptionskip{10\p@}
660 \setlength\belowcaptionskip{0\p@}
661 \long\def\@makecaption#1#2{%
662 \vskip\abovecaptionskip
663 \iftdir\sbox\@tempboxa{#1\hskip1\zw#2}%
664 \else\sbox\@tempboxa{#1: #2}%
666 \ifdim \wd\@tempboxa >\hsize
667 \iftdir #1\hskip1\zw#2\relax\par
668 \else #1: #2\relax\par\fi
670 \global \@minipagefalse
671 \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
673 \vskip\belowcaptionskip}
674 \setlength\arraycolsep{5\p@}
675 \setlength\tabcolsep{6\p@}
676 \setlength\arrayrulewidth{.4\p@}
677 \setlength\doublerulesep{2\p@}
678 \setlength\tabbingsep{\labelsep}
679 \skip\@mpfootins = \skip\footins
680 \setlength\fboxsep{3\p@}
681 \setlength\fboxrule{.4\p@}
682 \@addtoreset{equation}{chapter}
683 \renewcommand{\theequation}{%
684 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
685 \if@compatibility\else
686 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
687 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
688 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
690 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
694 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
695 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
698 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
699 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
700 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
701 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
702 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
703 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
704 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
705 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
706 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
707 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
708 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
709 \setcounter{tocdepth}{2}
710 \newcommand{\@pnumwidth}{1.55em}
711 \newcommand{\@tocrmarg}{2.55em}
712 \newcommand{\@dotsep}{4.5}
713 \newdimen\toclineskip
714 \setlength\toclineskip{\z@}
716 \def\numberline#1{\hbox to\@lnumwidth{#1\hfil}}
717 \def\@dottedtocline#1#2#3#4#5{%
718 \ifnum #1>\c@tocdepth \else
719 \vskip\toclineskip \@plus.2\p@
720 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
721 \parindent #2\relax\@afterindenttrue
725 \advance\leftskip \@lnumwidth \hbox{}\hskip -\leftskip
727 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
729 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
732 \def\addcontentsline#1#2#3{%
733 \protected@write\@auxout
734 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
735 \@temptokena{\thepage}}%
736 {\string\@writefile{#1}%
737 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
739 \newcommand{\tableofcontents}{%
740 \if@twocolumn\@restonecoltrue\onecolumn
741 \else\@restonecolfalse\fi
742 \chapter*{\contentsname
743 \@mkboth{\contentsname}{\contentsname}%
745 \if@restonecol\twocolumn\fi
747 \newcommand*{\l@part}[2]{%
748 \ifnum \c@tocdepth >-2\relax
749 \addpenalty{-\@highpenalty}%
750 \addvspace{2.25em \@plus\p@}%
752 \parindent\z@\rightskip\@pnumwidth
753 \parfillskip-\@pnumwidth
754 {\leavevmode\large\bfseries
755 \setlength\@lnumwidth{4\zw}%
757 \hbox to\@pnumwidth{\hss#2}}\par
760 \everypar{\global\@nobreakfalse\everypar{}}%
763 \newcommand*{\l@chapter}[2]{%
764 \ifnum \c@tocdepth >\m@ne
765 \addpenalty{-\@highpenalty}%
766 \addvspace{1.0em \@plus\p@}%
768 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
770 \setlength\@lnumwidth{4\zw}%
771 \advance\leftskip\@lnumwidth \hskip-\leftskip
772 #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
773 \penalty\@highpenalty
776 \newcommand*{\l@section}{\@dottedtocline{1}{1.5em}{2.3em}}
777 \newcommand*{\l@subsection} {\@dottedtocline{2}{3.8em}{3.2em}}
778 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{7.0em}{4.1em}}
779 \newcommand*{\l@paragraph} {\@dottedtocline{4}{10em}{5em}}
780 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{12em}{6em}}
781 \newcommand{\listoffigures}{%
782 \if@twocolumn\@restonecoltrue\onecolumn
783 \else\@restonecolfalse\fi
784 \chapter*{\listfigurename
785 \@mkboth{\listfigurename}{\listfigurename}}%
787 \if@restonecol\twocolumn\fi
789 \newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
790 \newcommand{\listoftables}{%
791 \if@twocolumn\@restonecoltrue\onecolumn
792 \else\@restonecolfalse\fi
793 \chapter*{\listtablename
794 \@mkboth{\listtablename}{\listtablename}}%
796 \if@restonecol\twocolumn\fi
798 \let\l@table\l@figure
800 \setlength\bibindent{1.5em}
801 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
802 \newenvironment{thebibliography}[1]
803 {\chapter*{\bibname\@mkboth{\bibname}{\bibname}}%
804 \list{\@biblabel{\@arabic\c@enumiv}}%
805 {\settowidth\labelwidth{\@biblabel{#1}}%
806 \leftmargin\labelwidth
807 \advance\leftmargin\labelsep
811 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
814 \@clubpenalty\clubpenalty
818 {\@latex@warning{Empty `thebibliography' environment}}%
820 \let\@openbib@code\@empty
821 \newenvironment{theindex}
822 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
823 \columnseprule\z@ \columnsep 35\p@
824 \twocolumn[\@makeschapterhead{\indexname}]%
825 \@mkboth{\indexname}{\indexname}%
826 \thispagestyle{jpl@in}\parindent\z@
827 \parskip\z@ \@plus .3\p@\relax
829 {\if@restonecol\onecolumn\else\clearpage\fi}
830 \newcommand{\@idxitem}{\par\hangindent 40\p@}
831 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
832 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
833 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
834 \renewcommand{\footnoterule}{%
836 \hrule width .4\columnwidth
838 \@addtoreset{footnote}{chapter}
839 \newcommand\@makefntext[1]{\parindent 1em
840 \noindent\hbox to 1.8em{\hss\@makefnmark}#1}
841 \newif\ifSeireki \Seirekifalse
842 \def\Seireki{\Seirekitrue}
843 \def\Wareki{\Seirekifalse}
844 \newcount\heisei \heisei\year \advance\heisei-1988\relax
848 \kansuji\number\year 年
849 \kansuji\number\month 月
850 \kansuji\number\day 日
852 平成\ifnum\heisei=1 元年\else\kansuji\number\heisei 年\fi
853 \kansuji\number\month 月
854 \kansuji\number\day 日
862 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
867 \newcommand{\prepartname}{第}
868 \newcommand{\postpartname}{部}
869 \newcommand{\prechaptername}{第}
870 \newcommand{\postchaptername}{章}
871 \newcommand{\contentsname}{目 次}
872 \newcommand{\listfigurename}{図 目 次}
873 \newcommand{\listtablename}{表 目 次}
874 \newcommand{\bibname}{関連図書}
875 \newcommand{\indexname}{索 引}
876 \newcommand{\figurename}{図}
877 \newcommand{\tablename}{表}
878 \newcommand{\appendixname}{付 録}
880 \pagenumbering{arabic}
895 %% End of file `ltjbook.cls'.