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 [2014/06/08 v1.6-ltj-3
43 Standard LuaLaTeX-ja class]
44 \RequirePackage{luatexja}
45 \RequirePackage{filehook}
47 \newif\if@landscape \@landscapefalse
48 \newcommand{\@ptsize}{}
53 \newif\if@mainmatter \@mainmattertrue
54 \hour\time \divide\hour by 60\relax
55 \@tempcnta\hour \multiply\@tempcnta 60\relax
56 \minute\time \advance\minute-\@tempcnta
57 \newif\if@stysize \@stysizefalse
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}}
95 \AtEndOfPackageFile{geometry}{%
96 \setlength{\@tempdima}{\textheight}%
97 \setlength{\textheight}{\textwidth}%
98 \setlength{\textwidth}{\@tempdima}%
99 \expandafter\def\expandafter\Gm@process\expandafter{\Gm@process
100 \setlength{\@tempdima}{\textheight}%
101 \setlength{\textheight}{\textwidth}%
102 \setlength{\textwidth}{\@tempdima}}}
104 \renewcommand{\@ptsize}{0}
106 \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
108 \DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
109 \DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
110 \DeclareOption{landscape}{\@landscapetrue
111 \setlength\@tempdima{\paperheight}%
112 \setlength\paperheight{\paperwidth}%
113 \setlength\paperwidth{\@tempdima}}
114 \DeclareOption{tombow}{%
115 \tombowtrue \tombowdatetrue
116 \setlength{\@tombowwidth}{.1\p@}%
118 \jobname\space:\space\number\year/\number\month/\number\day
119 (\number\hour:\number\minute)}
121 \DeclareOption{tombo}{%
122 \tombowtrue \tombowdatefalse
123 \setlength{\@tombowwidth}{.1\p@}%
125 \DeclareOption{mentuke}{%
126 \tombowtrue \tombowdatefalse
127 \setlength{\@tombowwidth}{\z@}%
129 \DeclareOption{tate}{%
130 \AtBeginDocument{\tate\message{《縦組モード》}%
133 \DeclareOption{oneside}{\@twosidefalse}
134 \DeclareOption{twoside}{\@twosidetrue}
135 \DeclareOption{onecolumn}{\@twocolumnfalse}
136 \DeclareOption{twocolumn}{\@twocolumntrue}
137 \DeclareOption{titlepage}{\@titlepagetrue}
138 \DeclareOption{notitlepage}{\@titlepagefalse}
142 \DeclareOption{openright}{\@openrighttrue}
143 \DeclareOption{openany}{\@openrightfalse}
145 \DeclareOption{leqno}{\input{leqno.clo}}
146 \DeclareOption{fleqn}{\input{fleqn.clo}}
147 \DeclareOption{openbib}{%
149 \renewcommand\@openbib@code{%
150 \advance\leftmargin\bibindent
151 \itemindent -\bibindent
152 \listparindent \itemindent
155 \renewcommand\newblock{\par}}}
159 \DeclareOption{disablejfam}{%
160 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
161 \DeclareOption{mathrmmc}{\@mathrmmctrue}
163 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
164 \DeclareOption{final}{\setlength\overfullrule{0pt}}
165 \ExecuteOptions{a4paper,10pt,twoside,onecolumn,final,openright,tate}
166 \ProcessOptions\relax
167 \input{ltjtbk1\@ptsize.clo}
168 %\RequirePackage{plext}
169 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
170 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
171 'ltj.jclasses_load_jfm', 1)}
172 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
173 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
174 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
175 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
176 \ltjglobalsetparameter{differentjfm=both}
177 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
179 \setlength\columnsep{3\Cwd}
181 \setlength\columnsep{10\p@}
183 \setlength\columnseprule{0\p@}
184 \setlength{\@tempdima}{\paperwidth}
185 \setlength{\@tempdimb}{\paperheight}
187 \advance \@tempdima 2in
188 \advance \@tempdimb 2in
190 \setlength{\pdfpagewidth}{\@tempdima}
191 \setlength{\pdfpageheight}{\@tempdimb}
192 \setlength\lineskip{1\p@}
193 \setlength\normallineskip{1\p@}
194 \renewcommand{\baselinestretch}{}
195 \setlength\parskip{0\p@ \@plus \p@}
196 \setlength\parindent{1\Cwd}
200 \setcounter{topnumber}{2}
201 \setcounter{bottomnumber}{1}
202 \setcounter{totalnumber}{3}
203 \setcounter{dbltopnumber}{2}
204 \renewcommand{\topfraction}{.7}
205 \renewcommand{\bottomfraction}{.3}
206 \renewcommand{\textfraction}{.2}
207 \renewcommand{\floatpagefraction}{.5}
208 \renewcommand{\dbltopfraction}{.7}
209 \renewcommand{\dblfloatpagefraction}{.5}
210 \def\ps@plain{\let\@mkboth\@gobbletwo
211 \let\ps@jpl@in\ps@plain
213 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
214 \let\@evenhead\@empty
215 \let\@evenfoot\@oddfoot}
216 \let\ps@jpl@in\ps@plain
217 \def\ps@headnombre{\let\@mkboth\@gobbletwo
218 \let\ps@jpl@in\ps@headnombre
219 \def\@evenhead{\hfil\thepage}%
220 \def\@oddhead{\thepage\hfil}%
221 \let\@oddfoot\@empty\let\@evenfoot\@empty}
222 \def\ps@footnombre{\let\@mkboth\@gobbletwo
223 \let\ps@jpl@in\ps@footnombre
224 \def\@evenfoot{\hfil\thepage}%
225 \def\@oddfoot{\thepage\hfil}%
226 \let\@oddhead\@empty\let\@evenhead\@empty}
228 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
229 \let\@oddfoot\@empty\let\@evenfoot\@empty
230 \def\@evenhead{{\leftmark}\hfil\thepage}%
231 \def\@oddhead{\thepage\hfil\rightmark}%
232 \let\@mkboth\markboth
233 \def\chaptermark##1{\markboth{%
234 \ifnum \c@secnumdepth >\m@ne
236 \@chapapp\thechapter\@chappos\hskip1\zw
240 \def\sectionmark##1{\markright{%
241 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
244 \else % if not twoside
245 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
247 \def\@oddhead{\thepage\hfil\rightmark}%
248 \let\@mkboth\markboth
249 \def\chaptermark##1{\markright{%
250 \ifnum \c@secnumdepth >\m@ne
252 \@chapapp\thechapter\@chappos\hskip1\zw
259 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
260 \def\@evenhead{\hfil\leftmark}% right page
261 \def\@evenfoot{\hfil\thepage}% right page
262 \def\@oddhead{\rightmark\hfil}% left page
263 \def\@oddfoot{\thepage\hfil}% left page
264 \let\@mkboth\markboth
265 \def\chaptermark##1{\markboth{%
266 \ifnum \c@secnumdepth >\m@ne
268 \@chapapp\thechapter\@chappos\hskip1\zw
272 \def\sectionmark##1{\markright{%
273 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
276 \else % if one column
277 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
278 \def\@oddhead{\rightmark\hfil}%
279 \def\@oddfoot{\thepage\hfil}%
280 \let\@mkboth\markboth
281 \def\chaptermark##1{\markright{%
282 \ifnum \c@secnumdepth >\m@ne
284 \@chapapp\thechapter\@chappos\hskip1\zw
290 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
291 \let\@oddfoot\@empty\let\@evenfoot\@empty
292 \def\@evenhead{{\leftmark}\hfil\thepage}%
293 \def\@oddhead{\thepage\hfil\rightmark}%
294 \let\@mkboth\@gobbletwo
295 \let\chaptermark\@gobble
296 \let\sectionmark\@gobble
299 \newenvironment{titlepage}
302 \if@twocolumn\@restonecoltrue\onecolumn
303 \else\@restonecolfalse\newpage\fi
304 \thispagestyle{empty}%
307 {\if@restonecol\twocolumn\else\newpage\fi
310 \newenvironment{titlepage}
314 \@restonecoltrue\onecolumn
316 \@restonecolfalse\newpage
318 \thispagestyle{empty}%
319 \setcounter{page}\@ne
321 {\if@restonecol\twocolumn \else \newpage \fi
323 \setcounter{page}\@ne
327 \def\p@thanks#1{\footnotemark
328 \protected@xdef\@thanks{\@thanks
329 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
331 \newcommand{\maketitle}{\begin{titlepage}%
332 \let\footnotesize\small
333 \let\footnoterule\relax
336 \vbox to\textheight\bgroup\tate\hsize\textwidth
340 {\LARGE \@title \par}%
344 \begin{tabular}[t]{c}%
348 {\large \@date \par}% % Set date in \large size.
350 \vfil{\centering\@thanks}\vfil\null
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{\ifydir $\m@th^{\@thefnmark}$
371 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
372 \long\def\@makefntext##1{\parindent 1\zw\noindent
373 \hbox to 2\zw{\hss\@makefnmark}##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\p@thanks\relax
389 \global\let\@thanks\@empty
390 \global\let\@author\@empty
391 \global\let\@date\@empty
392 \global\let\@title\@empty
393 \global\let\title\relax
394 \global\let\author\relax
395 \global\let\date\relax
396 \global\let\and\relax
402 \let\footnote\p@thanks
403 {\LARGE \@title \par}%
407 \begin{tabular}[t]{c}%
415 \newcommand*{\chaptermark}[1]{}
416 \setcounter{secnumdepth}{2}
419 \newcounter{section}[chapter]
420 \newcounter{subsection}[section]
421 \newcounter{subsubsection}[subsection]
422 \newcounter{paragraph}[subsubsection]
423 \newcounter{subparagraph}[paragraph]
424 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
425 \renewcommand{\thechapter}{\rensuji{\@arabic\c@chapter}}
426 \renewcommand{\thesection}{\thechapter・\rensuji{\@arabic\c@section}}
427 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
428 \renewcommand{\thesubsubsection}{%
429 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
430 \renewcommand{\theparagraph}{%
431 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
432 \renewcommand{\thesubparagraph}{%
433 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
434 \newcommand{\@chapapp}{\prechaptername}
435 \newcommand{\@chappos}{\postchaptername}
436 \newcommand\frontmatter{%
437 \if@openright \cleardoublepage \else \clearpage \fi
438 \@mainmatterfalse\pagenumbering{roman}}
439 \newcommand{\mainmatter}{%
440 \if@openright \cleardoublepage \else \clearpage \fi
441 \@mainmattertrue\pagenumbering{arabic}}
442 \newcommand{\backmatter}{%
443 \if@openright \cleardoublepage \else \clearpage \fi
446 \if@openright \cleardoublepage \else \clearpage \fi
447 \thispagestyle{empty}%
448 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
450 \secdef\@part\@spart}
452 \ifnum \c@secnumdepth >-2\relax
453 \refstepcounter{part}%
454 \addcontentsline{toc}{part}{%
455 \prepartname\thepart\postpartname\hspace{1em}#1}%
457 \addcontentsline{toc}{part}{#1}%
461 \interlinepenalty\@M\reset@font
462 \ifnum \c@secnumdepth >-2\relax
463 \huge\bfseries\prepartname\thepart\postpartname
466 \Huge\bfseries#2\par}%
470 \interlinepenalty\@M\reset@font
471 \Huge\bfseries#1\par}%
473 \def\@endpart{\vfil\newpage
474 \if@twoside\null\thispagestyle{empty}\newpage\fi
475 \if@tempswa\twocolumn\fi}
476 \newcommand{\chapter}{%
477 \if@openright\cleardoublepage\else\clearpage\fi
478 \thispagestyle{jpl@in}%
481 \secdef\@chapter\@schapter}
482 \def\@chapter[#1]#2{%
483 \ifnum \c@secnumdepth >\m@ne
485 \refstepcounter{chapter}%
486 \typeout{\@chapapp\space\thechapter\space\@chappos}%
487 \addcontentsline{toc}{chapter}%
488 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
489 \else\addcontentsline{toc}{chapter}{#1}\fi
491 \addcontentsline{toc}{chapter}{#1}%
494 \addtocontents{lof}{\protect\addvspace{10\p@}}%
495 \addtocontents{lot}{\protect\addvspace{10\p@}}%
496 \@makechapterhead{#2}\@afterheading}
497 \def\@makechapterhead#1{\hbox{}%
501 \reset@font\huge\bfseries
503 \ifnum \c@secnumdepth >\m@ne
504 \setlength\@tempdima{\linewidth}%
506 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
507 \addtolength\@tempdima{-\wd\z@}%
510 \vtop{\hsize\@tempdima#1}%
513 \fi}\nobreak\vskip3\Cvs}
515 \@makeschapterhead{#1}\@afterheading
517 \def\@makeschapterhead#1{\hbox{}%
521 \reset@font\huge\bfseries
523 \setlength\@tempdima{\linewidth}%
524 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
525 \newcommand{\section}{\@startsection{section}{1}{\z@}%
526 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
527 {.5\Cvs \@plus.3\Cvs}%
528 {\reset@font\Large\bfseries}}
529 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
530 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
531 {.5\Cvs \@plus.3\Cvs}%
532 {\reset@font\large\bfseries}}
533 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
534 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
535 {.5\Cvs \@plus.3\Cvs}%
536 {\reset@font\normalsize\bfseries}}
537 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
538 {3.25ex \@plus 1ex \@minus .2ex}%
540 {\reset@font\normalsize\bfseries}}
541 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
542 {3.25ex \@plus 1ex \@minus .2ex}%
544 {\reset@font\normalsize\bfseries}}
545 \newcommand{\appendix}{\par
546 \setcounter{chapter}{0}%
547 \setcounter{section}{0}%
548 \renewcommand{\@chapapp}{\appendixname}%
549 \renewcommand{\@chappos}\space%
550 \renewcommand{\thechapter}{\rensuji{\@Alph\c@chapter}}}
552 \setlength\leftmargini {2em}
554 \setlength\leftmargini {2.5em}
556 \setlength\leftmarginii {2.2em}
557 \setlength\leftmarginiii {1.87em}
558 \setlength\leftmarginiv {1.7em}
560 \setlength\leftmarginv {.5em}
561 \setlength\leftmarginvi{.5em}
563 \setlength\leftmarginv {1em}
564 \setlength\leftmarginvi{1em}
566 \setlength \labelsep {.5em}
567 \setlength \labelwidth{\leftmargini}
568 \addtolength\labelwidth{-\labelsep}
569 \@beginparpenalty -\@lowpenalty
570 \@endparpenalty -\@lowpenalty
571 \@itempenalty -\@lowpenalty
572 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
573 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
574 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
575 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
576 \newcommand{\labelenumi}{\theenumi}
577 \newcommand{\labelenumii}{\theenumii}
578 \newcommand{\labelenumiii}{\theenumiii}
579 \newcommand{\labelenumiv}{\theenumiv}
580 \renewcommand{\p@enumii}{\theenumi}
581 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
582 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
583 \renewenvironment{enumerate}
584 {\ifnum \@enumdepth >\thr@@\@toodeep\else
585 \advance\@enumdepth\@ne
586 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
587 \list{\csname label\@enumctr\endcsname}{%
589 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
591 \parskip\z@ \itemsep\z@ \parsep\z@
592 \labelwidth1\zw \labelsep.3\zw
593 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
594 \else\leftmargin\leftskip\fi
595 \advance\leftmargin 1\zw
597 \usecounter{\@enumctr}%
598 \def\makelabel##1{\hss\llap{##1}}}%
600 \newcommand{\labelitemi}{\textbullet}
601 \newcommand{\labelitemii}{%
605 {\normalfont\bfseries\textendash}
608 \newcommand{\labelitemiii}{\textasteriskcentered}
609 \newcommand{\labelitemiv}{\textperiodcentered}
610 \renewenvironment{itemize}
611 {\ifnum \@itemdepth >\thr@@\@toodeep\else
612 \advance\@itemdepth\@ne
613 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
615 \list{\csname \@itemitem\endcsname}{%
617 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
619 \parskip\z@ \itemsep\z@ \parsep\z@
620 \labelwidth1\zw \labelsep.3\zw
621 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
622 \else\leftmargin\leftskip\fi
623 \advance\leftmargin 1\zw
625 \def\makelabel##1{\hss\llap{##1}}}%
627 \newenvironment{description}
628 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
630 \leftmargin\leftskip \advance\leftmargin3\Cwd
631 \rightmargin\rightskip
632 \labelsep=1\zw \itemsep\z@
633 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
635 \let\makelabel\descriptionlabel}}{\endlist}
636 \newcommand{\descriptionlabel}[1]{%
637 \hspace\labelsep\normalfont\bfseries #1}
638 \newenvironment{verse}
640 \list{}{\itemsep\z@ \itemindent -1.5em%
641 \listparindent\itemindent
642 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
643 \item\relax}{\endlist}
644 \newenvironment{quotation}
645 {\list{}{\listparindent 1.5em%
646 \itemindent\listparindent
647 \rightmargin\leftmargin
648 \parsep\z@ \@plus\p@}%
649 \item\relax}{\endlist}
650 \newenvironment{quote}
651 {\list{}{\rightmargin\leftmargin}%
652 \item\relax}{\endlist}
653 \newcounter{figure}[chapter]
654 \renewcommand{\thefigure}{%
655 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@figure}}
659 \def\fnum@figure{\figurename\thefigure}
660 \newenvironment{figure}
663 \newenvironment{figure*}
666 \newcounter{table}[chapter]
667 \renewcommand{\thetable}{%
668 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@table}}
672 \def\fnum@table{\tablename\thetable}
673 \newenvironment{table}
676 \newenvironment{table*}
679 \newlength\abovecaptionskip
680 \newlength\belowcaptionskip
681 \setlength\abovecaptionskip{10\p@}
682 \setlength\belowcaptionskip{0\p@}
683 \long\def\@makecaption#1#2{%
684 \vskip\abovecaptionskip
685 \iftdir\sbox\@tempboxa{#1\hskip1\zw#2}%
686 \else\sbox\@tempboxa{#1: #2}%
688 \ifdim \wd\@tempboxa >\hsize
689 \iftdir #1\hskip1\zw#2\relax\par
690 \else #1: #2\relax\par\fi
692 \global \@minipagefalse
693 \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
695 \vskip\belowcaptionskip}
696 \setlength\arraycolsep{5\p@}
697 \setlength\tabcolsep{6\p@}
698 \setlength\arrayrulewidth{.4\p@}
699 \setlength\doublerulesep{2\p@}
700 \setlength\tabbingsep{\labelsep}
701 \skip\@mpfootins = \skip\footins
702 \setlength\fboxsep{3\p@}
703 \setlength\fboxrule{.4\p@}
704 \@addtoreset{equation}{chapter}
705 \renewcommand{\theequation}{%
706 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
707 \if@compatibility\else
708 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
709 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
710 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
712 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
716 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
717 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
720 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
721 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
722 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
723 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
724 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
725 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
726 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
727 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
728 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
729 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
730 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
731 \setcounter{tocdepth}{2}
732 \newcommand{\@pnumwidth}{1.55em}
733 \newcommand{\@tocrmarg}{2.55em}
734 \newcommand{\@dotsep}{4.5}
735 \newdimen\toclineskip
736 \setlength\toclineskip{2\p@}
738 \def\numberline#1{\hbox to\@lnumwidth{#1\hfil}}
739 \def\@dottedtocline#1#2#3#4#5{%
740 \ifnum #1>\c@tocdepth \else
741 \vskip\toclineskip \@plus.2\p@
742 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
743 \parindent #2\relax\@afterindenttrue
747 \advance\leftskip \@lnumwidth \hbox{}\hskip -\leftskip
749 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
751 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
754 \def\addcontentsline#1#2#3{%
755 \protected@write\@auxout
756 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
757 \@temptokena{\rensuji{\thepage}}}%
758 {\string\@writefile{#1}%
759 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
761 \newcommand{\tableofcontents}{%
762 \if@twocolumn\@restonecoltrue\onecolumn
763 \else\@restonecolfalse\fi
764 \chapter*{\contentsname
765 \@mkboth{\contentsname}{\contentsname}%
767 \if@restonecol\twocolumn\fi
769 \newcommand*{\l@part}[2]{%
770 \ifnum \c@tocdepth >-2\relax
771 \addpenalty{-\@highpenalty}%
772 \addvspace{2.25em \@plus\p@}%
774 \parindent\z@\rightskip\@pnumwidth
775 \parfillskip-\@pnumwidth
776 {\leavevmode\large\bfseries
777 \setlength\@lnumwidth{4\zw}%
779 \hbox to\@pnumwidth{\hss#2}}\par
782 \everypar{\global\@nobreakfalse\everypar{}}%
785 \newcommand*{\l@chapter}[2]{%
786 \ifnum \c@tocdepth >\m@ne
787 \addpenalty{-\@highpenalty}%
788 \addvspace{1.0em \@plus\p@}%
790 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
792 \setlength\@lnumwidth{4\zw}%
793 \advance\leftskip\@lnumwidth \hskip-\leftskip
794 #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
795 \penalty\@highpenalty
798 \newcommand*{\l@section}{\@dottedtocline{1}{1\zw}{4\zw}}
799 \newcommand*{\l@subsection} {\@dottedtocline{2}{2\zw}{6\zw}}
800 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3\zw}{8\zw}}
801 \newcommand*{\l@paragraph} {\@dottedtocline{4}{4\zw}{9\zw}}
802 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{5\zw}{10\zw}}
803 \newcommand{\listoffigures}{%
804 \if@twocolumn\@restonecoltrue\onecolumn
805 \else\@restonecolfalse\fi
806 \chapter*{\listfigurename
807 \@mkboth{\listfigurename}{\listfigurename}}%
809 \if@restonecol\twocolumn\fi
811 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
812 \newcommand{\listoftables}{%
813 \if@twocolumn\@restonecoltrue\onecolumn
814 \else\@restonecolfalse\fi
815 \chapter*{\listtablename
816 \@mkboth{\listtablename}{\listtablename}}%
818 \if@restonecol\twocolumn\fi
820 \let\l@table\l@figure
822 \setlength\bibindent{1.5em}
823 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
824 \newenvironment{thebibliography}[1]
825 {\chapter*{\bibname\@mkboth{\bibname}{\bibname}}%
826 \list{\@biblabel{\@arabic\c@enumiv}}%
827 {\settowidth\labelwidth{\@biblabel{#1}}%
828 \leftmargin\labelwidth
829 \advance\leftmargin\labelsep
833 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
836 \@clubpenalty\clubpenalty
840 {\@latex@warning{Empty `thebibliography' environment}}%
842 \let\@openbib@code\@empty
843 \newenvironment{theindex}
844 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
845 \columnseprule\z@ \columnsep 35\p@
846 \twocolumn[\@makeschapterhead{\indexname}]%
847 \@mkboth{\indexname}{\indexname}%
848 \thispagestyle{jpl@in}\parindent\z@
849 \parskip\z@ \@plus .3\p@\relax
851 {\if@restonecol\onecolumn\else\clearpage\fi}
852 \newcommand{\@idxitem}{\par\hangindent 40\p@}
853 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
854 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
855 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
856 \renewcommand{\footnoterule}{%
858 \hrule width .4\columnwidth
860 \@addtoreset{footnote}{chapter}
861 \newcommand\@makefntext[1]{\parindent 1\zw
862 \noindent\hbox to 2\zw{\hss\@makefnmark}#1}
866 \newcount\heisei \heisei\year \advance\heisei-1988\relax
870 \kansuji\number\year 年
871 \kansuji\number\month 月
872 \kansuji\number\day 日
874 平成\ifnum\heisei=1 元年\else\kansuji\number\heisei 年\fi
875 \kansuji\number\month 月
876 \kansuji\number\day 日
884 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
889 \newcommand{\prepartname}{第}
890 \newcommand{\postpartname}{部}
891 \newcommand{\prechaptername}{第}
892 \newcommand{\postchaptername}{章}
893 \newcommand{\contentsname}{目 次}
894 \newcommand{\listfigurename}{図 目 次}
895 \newcommand{\listtablename}{表 目 次}
896 \newcommand{\bibname}{関連図書}
897 \newcommand{\indexname}{索 引}
898 \newcommand{\figurename}{図}
899 \newcommand{\tablename}{表}
900 \newcommand{\appendixname}{付 録}
902 \pagenumbering{arabic}
914 %% End of file `ltjtbook.cls'.