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
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{ltjtbook}
42 [2013/06/06 v1.6-ltj-2
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@mathrmmc \@mathrmmcfalse
58 \DeclareOption{a4paper}{\setcounter{@paper}{1}%
59 \setlength\paperheight {297mm}%
60 \setlength\paperwidth {210mm}}
61 \DeclareOption{a5paper}{\setcounter{@paper}{2}%
62 \setlength\paperheight {210mm}
63 \setlength\paperwidth {148mm}}
64 \DeclareOption{b4paper}{\setcounter{@paper}{3}%
65 \setlength\paperheight {364mm}
66 \setlength\paperwidth {257mm}}
67 \DeclareOption{b5paper}{\setcounter{@paper}{4}%
68 \setlength\paperheight {257mm}
69 \setlength\paperwidth {182mm}}
70 \DeclareOption{a4j}{\setcounter{@paper}{1}\@stysizetrue
71 \setlength\paperheight {297mm}%
72 \setlength\paperwidth {210mm}}
73 \DeclareOption{a5j}{\setcounter{@paper}{2}\@stysizetrue
74 \setlength\paperheight {210mm}
75 \setlength\paperwidth {148mm}}
76 \DeclareOption{b4j}{\setcounter{@paper}{3}\@stysizetrue
77 \setlength\paperheight {364mm}
78 \setlength\paperwidth {257mm}}
79 \DeclareOption{b5j}{\setcounter{@paper}{4}\@stysizetrue
80 \setlength\paperheight {257mm}
81 \setlength\paperwidth {182mm}}
82 \DeclareOption{a4p}{\setcounter{@paper}{1}\@stysizetrue
83 \setlength\paperheight {297mm}%
84 \setlength\paperwidth {210mm}}
85 \DeclareOption{a5p}{\setcounter{@paper}{2}\@stysizetrue
86 \setlength\paperheight {210mm}
87 \setlength\paperwidth {148mm}}
88 \DeclareOption{b4p}{\setcounter{@paper}{3}\@stysizetrue
89 \setlength\paperheight {364mm}
90 \setlength\paperwidth {257mm}}
91 \DeclareOption{b5p}{\setcounter{@paper}{4}\@stysizetrue
92 \setlength\paperheight {257mm}
93 \setlength\paperwidth {182mm}}
95 \renewcommand{\@ptsize}{0}
97 \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
99 \DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
100 \DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
101 \DeclareOption{landscape}{\@landscapetrue
102 \setlength\@tempdima{\paperheight}%
103 \setlength\paperheight{\paperwidth}%
104 \setlength\paperwidth{\@tempdima}}
105 \DeclareOption{tombow}{%
106 \tombowtrue \tombowdatetrue
107 \setlength{\@tombowwidth}{.1\p@}%
109 \jobname\space:\space\number\year/\number\month/\number\day
110 (\number\hour:\number\minute)}
112 \DeclareOption{tombo}{%
113 \tombowtrue \tombowdatefalse
114 \setlength{\@tombowwidth}{.1\p@}%
116 \DeclareOption{mentuke}{%
117 \tombowtrue \tombowdatefalse
118 \setlength{\@tombowwidth}{\z@}%
120 \DeclareOption{tate}{%
121 \AtBeginDocument{\tate\message{《縦組モード》}%
124 \DeclareOption{oneside}{\@twosidefalse}
125 \DeclareOption{twoside}{\@twosidetrue}
126 \DeclareOption{onecolumn}{\@twocolumnfalse}
127 \DeclareOption{twocolumn}{\@twocolumntrue}
128 \DeclareOption{titlepage}{\@titlepagetrue}
129 \DeclareOption{notitlepage}{\@titlepagefalse}
133 \DeclareOption{openright}{\@openrighttrue}
134 \DeclareOption{openany}{\@openrightfalse}
136 \DeclareOption{leqno}{\input{leqno.clo}}
137 \DeclareOption{fleqn}{\input{fleqn.clo}}
138 \DeclareOption{openbib}{%
140 \renewcommand\@openbib@code{%
141 \advance\leftmargin\bibindent
142 \itemindent -\bibindent
143 \listparindent \itemindent
146 \renewcommand\newblock{\par}}}
150 \DeclareOption{disablejfam}{%
151 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
152 \DeclareOption{mathrmmc}{\@mathrmmctrue}
154 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
155 \DeclareOption{final}{\setlength\overfullrule{0pt}}
156 \ExecuteOptions{a4paper,10pt,twoside,onecolumn,final,openright,tate}
157 \ProcessOptions\relax
158 \input{ltjtbk1\@ptsize.clo}
159 %\RequirePackage{plext}
160 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
161 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
162 'ltj.jclasses_load_jfm', 1)}
163 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
164 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
165 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
166 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
167 \ltjglobalsetparameter{differentjfm=both}
168 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
170 \setlength\columnsep{3\Cwd}
172 \setlength\columnsep{10\p@}
174 \setlength\columnseprule{0\p@}
175 \setlength{\@tempdima}{\paperwidth}
176 \setlength{\@tempdimb}{\paperheight}
178 \advance \@tempdima 2in
179 \advance \@tempdimb 2in
181 \setlength{\pdfpagewidth}{\@tempdima}
182 \setlength{\pdfpageheight}{\@tempdimb}
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\ps@plain{\let\@mkboth\@gobbletwo
202 \let\ps@jpl@in\ps@plain
204 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
205 \let\@evenhead\@empty
206 \let\@evenfoot\@oddfoot}
207 \let\ps@jpl@in\ps@plain
208 \def\ps@headnombre{\let\@mkboth\@gobbletwo
209 \let\ps@jpl@in\ps@headnombre
210 \def\@evenhead{\hfil\thepage}%
211 \def\@oddhead{\thepage\hfil}%
212 \let\@oddfoot\@empty\let\@evenfoot\@empty}
213 \def\ps@footnombre{\let\@mkboth\@gobbletwo
214 \let\ps@jpl@in\ps@footnombre
215 \def\@evenfoot{\hfil\thepage}%
216 \def\@oddfoot{\thepage\hfil}%
217 \let\@oddhead\@empty\let\@evenhead\@empty}
219 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
220 \let\@oddfoot\@empty\let\@evenfoot\@empty
221 \def\@evenhead{{\leftmark}\hfil\thepage}%
222 \def\@oddhead{\thepage\hfil\rightmark}%
223 \let\@mkboth\markboth
224 \def\chaptermark##1{\markboth{%
225 \ifnum \c@secnumdepth >\m@ne
227 \@chapapp\thechapter\@chappos\hskip1\zw
231 \def\sectionmark##1{\markright{%
232 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
235 \else % if not twoside
236 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
238 \def\@oddhead{\thepage\hfil\rightmark}%
239 \let\@mkboth\markboth
240 \def\chaptermark##1{\markright{%
241 \ifnum \c@secnumdepth >\m@ne
243 \@chapapp\thechapter\@chappos\hskip1\zw
250 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
251 \def\@evenhead{\hfil\leftmark}% right page
252 \def\@evenfoot{\hfil\thepage}% right page
253 \def\@oddhead{\rightmark\hfil}% left page
254 \def\@oddfoot{\thepage\hfil}% left page
255 \let\@mkboth\markboth
256 \def\chaptermark##1{\markboth{%
257 \ifnum \c@secnumdepth >\m@ne
259 \@chapapp\thechapter\@chappos\hskip1\zw
263 \def\sectionmark##1{\markright{%
264 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
267 \else % if one column
268 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
269 \def\@oddhead{\rightmark\hfil}%
270 \def\@oddfoot{\thepage\hfil}%
271 \let\@mkboth\markboth
272 \def\chaptermark##1{\markright{%
273 \ifnum \c@secnumdepth >\m@ne
275 \@chapapp\thechapter\@chappos\hskip1\zw
281 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
282 \let\@oddfoot\@empty\let\@evenfoot\@empty
283 \def\@evenhead{{\leftmark}\hfil\thepage}%
284 \def\@oddhead{\thepage\hfil\rightmark}%
285 \let\@mkboth\@gobbletwo
286 \let\chaptermark\@gobble
287 \let\sectionmark\@gobble
290 \newenvironment{titlepage}
293 \if@twocolumn\@restonecoltrue\onecolumn
294 \else\@restonecolfalse\newpage\fi
295 \thispagestyle{empty}%
298 {\if@restonecol\twocolumn\else\newpage\fi
301 \newenvironment{titlepage}
305 \@restonecoltrue\onecolumn
307 \@restonecolfalse\newpage
309 \thispagestyle{empty}%
310 \setcounter{page}\@ne
312 {\if@restonecol\twocolumn \else \newpage \fi
314 \setcounter{page}\@ne
318 \def\p@thanks#1{\footnotemark
319 \protected@xdef\@thanks{\@thanks
320 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
322 \newcommand{\maketitle}{\begin{titlepage}%
323 \let\footnotesize\small
324 \let\footnoterule\relax
327 \vbox to\textheight\bgroup\tate\hsize\textwidth
331 {\LARGE \@title \par}%
335 \begin{tabular}[t]{c}%
339 {\large \@date \par}% % Set date in \large size.
341 \vfil{\centering\@thanks}\vfil\null
344 \setcounter{footnote}{0}%
345 \global\let\thanks\relax
346 \global\let\maketitle\relax
347 \global\let\p@thanks\relax
348 \global\let\@thanks\@empty
349 \global\let\@author\@empty
350 \global\let\@date\@empty
351 \global\let\@title\@empty
352 \global\let\title\relax
353 \global\let\author\relax
354 \global\let\date\relax
355 \global\let\and\relax
358 \newcommand{\maketitle}{\par
360 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
361 \def\@makefnmark{\hbox{\ifydir $\m@th^{\@thefnmark}$
362 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
363 \long\def\@makefntext##1{\parindent 1\zw\noindent
364 \hbox to 2\zw{\hss\@makefnmark}##1}%
366 \ifnum \col@number=\@ne \@maketitle
367 \else \twocolumn[\@maketitle]%
371 \global\@topnum\z@ % Prevents figures from going at top of page.
374 \thispagestyle{jpl@in}\@thanks
376 \setcounter{footnote}{0}%
377 \global\let\thanks\relax
378 \global\let\maketitle\relax
379 \global\let\p@thanks\relax
380 \global\let\@thanks\@empty
381 \global\let\@author\@empty
382 \global\let\@date\@empty
383 \global\let\@title\@empty
384 \global\let\title\relax
385 \global\let\author\relax
386 \global\let\date\relax
387 \global\let\and\relax
393 \let\footnote\p@thanks
394 {\LARGE \@title \par}%
398 \begin{tabular}[t]{c}%
406 \newcommand*{\chaptermark}[1]{}
407 \setcounter{secnumdepth}{2}
410 \newcounter{section}[chapter]
411 \newcounter{subsection}[section]
412 \newcounter{subsubsection}[subsection]
413 \newcounter{paragraph}[subsubsection]
414 \newcounter{subparagraph}[paragraph]
415 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
416 \renewcommand{\thechapter}{\rensuji{\@arabic\c@chapter}}
417 \renewcommand{\thesection}{\thechapter・\rensuji{\@arabic\c@section}}
418 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
419 \renewcommand{\thesubsubsection}{%
420 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
421 \renewcommand{\theparagraph}{%
422 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
423 \renewcommand{\thesubparagraph}{%
424 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
425 \newcommand{\@chapapp}{\prechaptername}
426 \newcommand{\@chappos}{\postchaptername}
427 \newcommand\frontmatter{%
428 \if@openright \cleardoublepage \else \clearpage \fi
429 \@mainmatterfalse\pagenumbering{roman}}
430 \newcommand{\mainmatter}{%
431 \if@openright \cleardoublepage \else \clearpage \fi
432 \@mainmattertrue\pagenumbering{arabic}}
433 \newcommand{\backmatter}{%
434 \if@openright \cleardoublepage \else \clearpage \fi
437 \if@openright \cleardoublepage \else \clearpage \fi
438 \thispagestyle{empty}%
439 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
441 \secdef\@part\@spart}
443 \ifnum \c@secnumdepth >-2\relax
444 \refstepcounter{part}%
445 \addcontentsline{toc}{part}{%
446 \prepartname\thepart\postpartname\hspace{1em}#1}%
448 \addcontentsline{toc}{part}{#1}%
452 \interlinepenalty\@M\reset@font
453 \ifnum \c@secnumdepth >-2\relax
454 \huge\bfseries\prepartname\thepart\postpartname
457 \Huge\bfseries#2\par}%
461 \interlinepenalty\@M\reset@font
462 \Huge\bfseries#1\par}%
464 \def\@endpart{\vfil\newpage
465 \if@twoside\null\thispagestyle{empty}\newpage\fi
466 \if@tempswa\twocolumn\fi}
467 \newcommand{\chapter}{%
468 \if@openright\cleardoublepage\else\clearpage\fi
469 \thispagestyle{jpl@in}%
472 \secdef\@chapter\@schapter}
473 \def\@chapter[#1]#2{%
474 \ifnum \c@secnumdepth >\m@ne
476 \refstepcounter{chapter}%
477 \typeout{\@chapapp\space\thechapter\space\@chappos}%
478 \addcontentsline{toc}{chapter}%
479 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
480 \else\addcontentsline{toc}{chapter}{#1}\fi
482 \addcontentsline{toc}{chapter}{#1}%
485 \addtocontents{lof}{\protect\addvspace{10\p@}}%
486 \addtocontents{lot}{\protect\addvspace{10\p@}}%
487 \@makechapterhead{#2}\@afterheading}
488 \def\@makechapterhead#1{\hbox{}%
492 \reset@font\huge\bfseries
494 \ifnum \c@secnumdepth >\m@ne
495 \setlength\@tempdima{\linewidth}%
497 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
498 \addtolength\@tempdima{-\wd\z@}%
501 \vtop{\hsize\@tempdima#1}%
504 \fi}\nobreak\vskip3\Cvs}
506 \@makeschapterhead{#1}\@afterheading
508 \def\@makeschapterhead#1{\hbox{}%
512 \reset@font\huge\bfseries
514 \setlength\@tempdima{\linewidth}%
515 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
516 \newcommand{\section}{\@startsection{section}{1}{\z@}%
517 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
518 {.5\Cvs \@plus.3\Cvs}%
519 {\reset@font\Large\bfseries}}
520 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
521 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
522 {.5\Cvs \@plus.3\Cvs}%
523 {\reset@font\large\bfseries}}
524 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
525 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
526 {.5\Cvs \@plus.3\Cvs}%
527 {\reset@font\normalsize\bfseries}}
528 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
529 {3.25ex \@plus 1ex \@minus .2ex}%
531 {\reset@font\normalsize\bfseries}}
532 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
533 {3.25ex \@plus 1ex \@minus .2ex}%
535 {\reset@font\normalsize\bfseries}}
536 \newcommand{\appendix}{\par
537 \setcounter{chapter}{0}%
538 \setcounter{section}{0}%
539 \renewcommand{\@chapapp}{\appendixname}%
540 \renewcommand{\@chappos}\space%
541 \renewcommand{\thechapter}{\rensuji{\@Alph\c@chapter}}}
543 \setlength\leftmargini {2em}
545 \setlength\leftmargini {2.5em}
547 \setlength\leftmarginii {2.2em}
548 \setlength\leftmarginiii {1.87em}
549 \setlength\leftmarginiv {1.7em}
551 \setlength\leftmarginv {.5em}
552 \setlength\leftmarginvi{.5em}
554 \setlength\leftmarginv {1em}
555 \setlength\leftmarginvi{1em}
557 \setlength \labelsep {.5em}
558 \setlength \labelwidth{\leftmargini}
559 \addtolength\labelwidth{-\labelsep}
560 \@beginparpenalty -\@lowpenalty
561 \@endparpenalty -\@lowpenalty
562 \@itempenalty -\@lowpenalty
563 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
564 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
565 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
566 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
567 \newcommand{\labelenumi}{\theenumi}
568 \newcommand{\labelenumii}{\theenumii}
569 \newcommand{\labelenumiii}{\theenumiii}
570 \newcommand{\labelenumiv}{\theenumiv}
571 \renewcommand{\p@enumii}{\theenumi}
572 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
573 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
574 \renewenvironment{enumerate}
575 {\ifnum \@enumdepth >\thr@@\@toodeep\else
576 \advance\@enumdepth\@ne
577 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
578 \list{\csname label\@enumctr\endcsname}{%
580 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
582 \parskip\z@ \itemsep\z@ \parsep\z@
583 \labelwidth1\zw \labelsep.3\zw
584 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
585 \else\leftmargin\leftskip\fi
586 \advance\leftmargin 1\zw
588 \usecounter{\@enumctr}%
589 \def\makelabel##1{\hss\llap{##1}}}%
591 \newcommand{\labelitemi}{\textbullet}
592 \newcommand{\labelitemii}{%
596 {\normalfont\bfseries\textendash}
599 \newcommand{\labelitemiii}{\textasteriskcentered}
600 \newcommand{\labelitemiv}{\textperiodcentered}
601 \renewenvironment{itemize}
602 {\ifnum \@itemdepth >\thr@@\@toodeep\else
603 \advance\@itemdepth\@ne
604 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
606 \list{\csname \@itemitem\endcsname}{%
608 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
610 \parskip\z@ \itemsep\z@ \parsep\z@
611 \labelwidth1\zw \labelsep.3\zw
612 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
613 \else\leftmargin\leftskip\fi
614 \advance\leftmargin 1\zw
616 \def\makelabel##1{\hss\llap{##1}}}%
618 \newenvironment{description}
619 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
621 \leftmargin\leftskip \advance\leftmargin3\Cwd
622 \rightmargin\rightskip
623 \labelsep=1\zw \itemsep\z@
624 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
626 \let\makelabel\descriptionlabel}}{\endlist}
627 \newcommand{\descriptionlabel}[1]{%
628 \hspace\labelsep\normalfont\bfseries #1}
629 \newenvironment{verse}
631 \list{}{\itemsep\z@ \itemindent -1.5em%
632 \listparindent\itemindent
633 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
634 \item\relax}{\endlist}
635 \newenvironment{quotation}
636 {\list{}{\listparindent 1.5em%
637 \itemindent\listparindent
638 \rightmargin\leftmargin
639 \parsep\z@ \@plus\p@}%
640 \item\relax}{\endlist}
641 \newenvironment{quote}
642 {\list{}{\rightmargin\leftmargin}%
643 \item\relax}{\endlist}
644 \newcounter{figure}[chapter]
645 \renewcommand{\thefigure}{%
646 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@figure}}
650 \def\fnum@figure{\figurename\thefigure}
651 \newenvironment{figure}
654 \newenvironment{figure*}
657 \newcounter{table}[chapter]
658 \renewcommand{\thetable}{%
659 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@table}}
663 \def\fnum@table{\tablename\thetable}
664 \newenvironment{table}
667 \newenvironment{table*}
670 \newlength\abovecaptionskip
671 \newlength\belowcaptionskip
672 \setlength\abovecaptionskip{10\p@}
673 \setlength\belowcaptionskip{0\p@}
674 \long\def\@makecaption#1#2{%
675 \vskip\abovecaptionskip
676 \iftdir\sbox\@tempboxa{#1\hskip1\zw#2}%
677 \else\sbox\@tempboxa{#1: #2}%
679 \ifdim \wd\@tempboxa >\hsize
680 \iftdir #1\hskip1\zw#2\relax\par
681 \else #1: #2\relax\par\fi
683 \global \@minipagefalse
684 \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
686 \vskip\belowcaptionskip}
687 \setlength\arraycolsep{5\p@}
688 \setlength\tabcolsep{6\p@}
689 \setlength\arrayrulewidth{.4\p@}
690 \setlength\doublerulesep{2\p@}
691 \setlength\tabbingsep{\labelsep}
692 \skip\@mpfootins = \skip\footins
693 \setlength\fboxsep{3\p@}
694 \setlength\fboxrule{.4\p@}
695 \@addtoreset{equation}{chapter}
696 \renewcommand{\theequation}{%
697 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
698 \if@compatibility\else
699 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
700 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
701 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
703 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
707 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
708 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
711 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
712 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
713 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
714 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
715 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
716 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
717 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
718 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
719 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
720 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
721 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
722 \setcounter{tocdepth}{2}
723 \newcommand{\@pnumwidth}{1.55em}
724 \newcommand{\@tocrmarg}{2.55em}
725 \newcommand{\@dotsep}{4.5}
726 \newdimen\toclineskip
727 \setlength\toclineskip{2\p@}
729 \def\numberline#1{\hbox to\@lnumwidth{#1\hfil}}
730 \def\@dottedtocline#1#2#3#4#5{%
731 \ifnum #1>\c@tocdepth \else
732 \vskip\toclineskip \@plus.2\p@
733 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
734 \parindent #2\relax\@afterindenttrue
738 \advance\leftskip \@lnumwidth \hbox{}\hskip -\leftskip
740 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
742 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
745 \def\addcontentsline#1#2#3{%
746 \protected@write\@auxout
747 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
748 \@temptokena{\rensuji{\thepage}}}%
749 {\string\@writefile{#1}%
750 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
752 \newcommand{\tableofcontents}{%
753 \if@twocolumn\@restonecoltrue\onecolumn
754 \else\@restonecolfalse\fi
755 \chapter*{\contentsname
756 \@mkboth{\contentsname}{\contentsname}%
758 \if@restonecol\twocolumn\fi
760 \newcommand*{\l@part}[2]{%
761 \ifnum \c@tocdepth >-2\relax
762 \addpenalty{-\@highpenalty}%
763 \addvspace{2.25em \@plus\p@}%
765 \parindent\z@\rightskip\@pnumwidth
766 \parfillskip-\@pnumwidth
767 {\leavevmode\large\bfseries
768 \setlength\@lnumwidth{4\zw}%
770 \hbox to\@pnumwidth{\hss#2}}\par
773 \everypar{\global\@nobreakfalse\everypar{}}%
776 \newcommand*{\l@chapter}[2]{%
777 \ifnum \c@tocdepth >\m@ne
778 \addpenalty{-\@highpenalty}%
779 \addvspace{1.0em \@plus\p@}%
781 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
783 \setlength\@lnumwidth{4\zw}%
784 \advance\leftskip\@lnumwidth \hskip-\leftskip
785 #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
786 \penalty\@highpenalty
789 \newcommand*{\l@section}{\@dottedtocline{1}{1\zw}{4\zw}}
790 \newcommand*{\l@subsection} {\@dottedtocline{2}{2\zw}{6\zw}}
791 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3\zw}{8\zw}}
792 \newcommand*{\l@paragraph} {\@dottedtocline{4}{4\zw}{9\zw}}
793 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{5\zw}{10\zw}}
794 \newcommand{\listoffigures}{%
795 \if@twocolumn\@restonecoltrue\onecolumn
796 \else\@restonecolfalse\fi
797 \chapter*{\listfigurename
798 \@mkboth{\listfigurename}{\listfigurename}}%
800 \if@restonecol\twocolumn\fi
802 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
803 \newcommand{\listoftables}{%
804 \if@twocolumn\@restonecoltrue\onecolumn
805 \else\@restonecolfalse\fi
806 \chapter*{\listtablename
807 \@mkboth{\listtablename}{\listtablename}}%
809 \if@restonecol\twocolumn\fi
811 \let\l@table\l@figure
813 \setlength\bibindent{1.5em}
814 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
815 \newenvironment{thebibliography}[1]
816 {\chapter*{\bibname\@mkboth{\bibname}{\bibname}}%
817 \list{\@biblabel{\@arabic\c@enumiv}}%
818 {\settowidth\labelwidth{\@biblabel{#1}}%
819 \leftmargin\labelwidth
820 \advance\leftmargin\labelsep
824 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
827 \@clubpenalty\clubpenalty
831 {\@latex@warning{Empty `thebibliography' environment}}%
833 \let\@openbib@code\@empty
834 \newenvironment{theindex}
835 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
836 \columnseprule\z@ \columnsep 35\p@
837 \twocolumn[\@makeschapterhead{\indexname}]%
838 \@mkboth{\indexname}{\indexname}%
839 \thispagestyle{jpl@in}\parindent\z@
840 \parskip\z@ \@plus .3\p@\relax
842 {\if@restonecol\onecolumn\else\clearpage\fi}
843 \newcommand{\@idxitem}{\par\hangindent 40\p@}
844 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
845 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
846 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
847 \renewcommand{\footnoterule}{%
849 \hrule width .4\columnwidth
851 \@addtoreset{footnote}{chapter}
852 \newcommand\@makefntext[1]{\parindent 1\zw
853 \noindent\hbox to 2\zw{\hss\@makefnmark}#1}
857 \newcount\heisei \heisei\year \advance\heisei-1988\relax
861 \kansuji\number\year 年
862 \kansuji\number\month 月
863 \kansuji\number\day 日
865 平成\ifnum\heisei=1 元年\else\kansuji\number\heisei 年\fi
866 \kansuji\number\month 月
867 \kansuji\number\day 日
875 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
880 \newcommand{\prepartname}{第}
881 \newcommand{\postpartname}{部}
882 \newcommand{\prechaptername}{第}
883 \newcommand{\postchaptername}{章}
884 \newcommand{\contentsname}{目 次}
885 \newcommand{\listfigurename}{図 目 次}
886 \newcommand{\listtablename}{表 目 次}
887 \newcommand{\bibname}{関連図書}
888 \newcommand{\indexname}{索 引}
889 \newcommand{\figurename}{図}
890 \newcommand{\tablename}{表}
891 \newcommand{\appendixname}{付 録}
893 \pagenumbering{arabic}
905 %% End of file `ltjtbook.cls'.