2 %% This is file `ltjtreport.cls',
3 %% generated with the docstrip utility.
5 %% The original source files were:
7 %% ltjclasses.dtx (with options: `report,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 ltjtreport.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{ltjtreport}
26 [2017/01/17 v1.7c-ltj-12
27 Standard LuaLaTeX-ja class]
28 \RequirePackage{luatexja}
30 \newif\if@landscape \@landscapefalse
31 \newcommand{\@ptsize}{}
36 \hour\time \divide\hour by 60\relax
37 \@tempcnta\hour \multiply\@tempcnta 60\relax
38 \minute\time \advance\minute-\@tempcnta
39 \newif\if@stysize \@stysizefalse
40 \newif\if@mathrmmc \@mathrmmcfalse
41 \DeclareOption{a4paper}{\setcounter{@paper}{1}%
42 \setlength\paperheight {297mm}%
43 \setlength\paperwidth {210mm}}
44 \DeclareOption{a5paper}{\setcounter{@paper}{2}%
45 \setlength\paperheight {210mm}
46 \setlength\paperwidth {148mm}}
47 \DeclareOption{b4paper}{\setcounter{@paper}{3}%
48 \setlength\paperheight {364mm}
49 \setlength\paperwidth {257mm}}
50 \DeclareOption{b5paper}{\setcounter{@paper}{4}%
51 \setlength\paperheight {257mm}
52 \setlength\paperwidth {182mm}}
53 \DeclareOption{a4j}{\setcounter{@paper}{1}\@stysizetrue
54 \setlength\paperheight {297mm}%
55 \setlength\paperwidth {210mm}}
56 \DeclareOption{a5j}{\setcounter{@paper}{2}\@stysizetrue
57 \setlength\paperheight {210mm}
58 \setlength\paperwidth {148mm}}
59 \DeclareOption{b4j}{\setcounter{@paper}{3}\@stysizetrue
60 \setlength\paperheight {364mm}
61 \setlength\paperwidth {257mm}}
62 \DeclareOption{b5j}{\setcounter{@paper}{4}\@stysizetrue
63 \setlength\paperheight {257mm}
64 \setlength\paperwidth {182mm}}
65 \DeclareOption{a4p}{\setcounter{@paper}{1}\@stysizetrue
66 \setlength\paperheight {297mm}%
67 \setlength\paperwidth {210mm}}
68 \DeclareOption{a5p}{\setcounter{@paper}{2}\@stysizetrue
69 \setlength\paperheight {210mm}
70 \setlength\paperwidth {148mm}}
71 \DeclareOption{b4p}{\setcounter{@paper}{3}\@stysizetrue
72 \setlength\paperheight {364mm}
73 \setlength\paperwidth {257mm}}
74 \DeclareOption{b5p}{\setcounter{@paper}{4}\@stysizetrue
75 \setlength\paperheight {257mm}
76 \setlength\paperwidth {182mm}}
78 \renewcommand{\@ptsize}{0}
80 \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
82 \DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
83 \DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
84 \DeclareOption{landscape}{\@landscapetrue
85 \setlength\@tempdima{\paperheight}%
86 \setlength\paperheight{\paperwidth}%
87 \setlength\paperwidth{\@tempdima}}
88 \DeclareOption{tombow}{%
89 \tombowtrue \tombowdatetrue
90 \setlength{\@tombowwidth}{.1\p@}%
92 \jobname\space:\space\number\year/\number\month/\number\day
93 (\number\hour:\number\minute)}
95 \DeclareOption{tombo}{%
96 \tombowtrue \tombowdatefalse
97 \setlength{\@tombowwidth}{.1\p@}%
99 \DeclareOption{mentuke}{%
100 \tombowtrue \tombowdatefalse
101 \setlength{\@tombowwidth}{\z@}%
103 \DeclareOption{tate}{%
104 \tate\AtBeginDocument{\message{《縦組モード》}\adjustbaseline}%
106 \AtEndOfPackageFile{everyshi}{%
107 \def\@EveryShipout@Output{%
111 \@EveryShipout@AtNextHook
112 \global\setbox\luatexoutputbox=\box\luatexoutputbox
114 \gdef\@EveryShipout@AtNextHook{}%
115 \@EveryShipout@Org@Shipout\box\luatexoutputbox
117 \DeclareOption{oneside}{\@twosidefalse}
118 \DeclareOption{twoside}{\@twosidetrue}
119 \DeclareOption{onecolumn}{\@twocolumnfalse}
120 \DeclareOption{twocolumn}{\@twocolumntrue}
121 \DeclareOption{titlepage}{\@titlepagetrue}
122 \DeclareOption{notitlepage}{\@titlepagefalse}
125 \DeclareOption{openright}{\@openrighttrue}
126 \DeclareOption{openany}{\@openrightfalse}
128 \DeclareOption{leqno}{\input{leqno.clo}}
129 \DeclareOption{fleqn}{\input{fleqn.clo}}
130 \DeclareOption{openbib}{%
132 \renewcommand\@openbib@code{%
133 \advance\leftmargin\bibindent
134 \itemindent -\bibindent
135 \listparindent \itemindent
138 \renewcommand\newblock{\par}}}
142 \DeclareOption{disablejfam}{%
143 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
144 \DeclareOption{mathrmmc}{\@mathrmmctrue}
146 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
147 \DeclareOption{final}{\setlength\overfullrule{0pt}}
148 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
149 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
150 'ltj.jclasses_load_jfm', 1)}
151 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
152 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
153 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
154 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
155 \ltjglobalsetparameter{differentjfm=both}
156 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
157 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany,tate}
158 \ProcessOptions\relax
159 \input{ltjtsize1\@ptsize.clo}
160 \RequirePackage{lltjext}
162 \setlength\columnsep{3\Cwd}
164 \setlength\columnsep{10\p@}
166 \setlength\columnseprule{0\p@}
168 \newlength{\stockwidth}
169 \newlength{\stockheight}
170 \setlength{\stockwidth}{\paperwidth}
171 \setlength{\stockheight}{\paperheight}
172 \advance \stockwidth 2in
173 \advance \stockheight 2in
174 \ifdefined\pdfpagewidth
175 \setlength{\pdfpagewidth}{\stockwidth}
176 \setlength{\pdfpageheight}{\stockheight}
178 \setlength{\pagewidth}{\stockwidth}
179 \setlength{\pageheight}{\stockheight}
182 \ifdefined\pdfpagewidth
183 \setlength{\pdfpagewidth}{\paperwidth}
184 \setlength{\pdfpageheight}{\paperheight}
186 \setlength{\pagewidth}{\paperwidth}
187 \setlength{\pageheight}{\paperheight}
190 \setlength\lineskip{1\p@}
191 \setlength\normallineskip{1\p@}
192 \renewcommand{\baselinestretch}{}
193 \setlength\parskip{0\p@ \@plus \p@}
194 \setlength\parindent{1\Cwd}
198 \setcounter{topnumber}{2}
199 \setcounter{bottomnumber}{1}
200 \setcounter{totalnumber}{3}
201 \setcounter{dbltopnumber}{2}
202 \renewcommand{\topfraction}{.7}
203 \renewcommand{\bottomfraction}{.3}
204 \renewcommand{\textfraction}{.2}
205 \renewcommand{\floatpagefraction}{.5}
206 \renewcommand{\dbltopfraction}{.7}
207 \renewcommand{\dblfloatpagefraction}{.5}
208 \def\ps@plain{\let\@mkboth\@gobbletwo
209 \let\ps@jpl@in\ps@plain
211 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
212 \let\@evenhead\@empty
213 \let\@evenfoot\@oddfoot}
214 \let\ps@jpl@in\ps@plain
215 \def\ps@headnombre{\let\@mkboth\@gobbletwo
216 \let\ps@jpl@in\ps@headnombre
217 \def\@evenhead{\hfil\thepage}%
218 \def\@oddhead{\thepage\hfil}%
219 \let\@oddfoot\@empty\let\@evenfoot\@empty}
220 \def\ps@footnombre{\let\@mkboth\@gobbletwo
221 \let\ps@jpl@in\ps@footnombre
222 \def\@evenfoot{\hfil\thepage}%
223 \def\@oddfoot{\thepage\hfil}%
224 \let\@oddhead\@empty\let\@evenhead\@empty}
226 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
227 \let\@oddfoot\@empty\let\@evenfoot\@empty
228 \def\@evenhead{{\leftmark}\hfil\thepage}%
229 \def\@oddhead{\thepage\hfil\rightmark}%
230 \let\@mkboth\markboth
231 \def\chaptermark##1{\markboth{%
232 \ifnum \c@secnumdepth >\m@ne
233 \@chapapp\thechapter\@chappos\hskip1\zw
236 \def\sectionmark##1{\markright{%
237 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
240 \else % if not twoside
241 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
243 \def\@oddhead{\thepage\hfil\rightmark}%
244 \let\@mkboth\markboth
245 \def\chaptermark##1{\markright{%
246 \ifnum \c@secnumdepth >\m@ne
247 \@chapapp\thechapter\@chappos\hskip1\zw
253 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
254 \def\@evenhead{\hfil\leftmark}% right page
255 \def\@evenfoot{\hfil\thepage}% right page
256 \def\@oddhead{\rightmark\hfil}% left page
257 \def\@oddfoot{\thepage\hfil}% left page
258 \let\@mkboth\markboth
259 \def\chaptermark##1{\markboth{%
260 \ifnum \c@secnumdepth >\m@ne
261 \@chapapp\thechapter\@chappos\hskip1\zw
264 \def\sectionmark##1{\markright{%
265 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
268 \else % if one column
269 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
270 \def\@oddhead{\rightmark\hfil}%
271 \def\@oddfoot{\thepage\hfil}%
272 \let\@mkboth\markboth
273 \def\chaptermark##1{\markright{%
274 \ifnum \c@secnumdepth >\m@ne
275 \@chapapp\thechapter\@chappos\hskip1\zw
280 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
281 \let\@oddfoot\@empty\let\@evenfoot\@empty
282 \def\@evenhead{{\leftmark}\hfil\thepage}%
283 \def\@oddhead{\thepage\hfil\rightmark}%
284 \let\@mkboth\@gobbletwo
285 \let\chaptermark\@gobble
286 \let\sectionmark\@gobble
289 \newenvironment{titlepage}
291 \if@twocolumn\@restonecoltrue\onecolumn
292 \else\@restonecolfalse\newpage\fi
293 \thispagestyle{empty}%
296 {\if@restonecol\twocolumn\else\newpage\fi
299 \newenvironment{titlepage}
302 \@restonecoltrue\onecolumn
304 \@restonecolfalse\newpage
306 \thispagestyle{empty}%
307 \setcounter{page}\@ne
309 {\if@restonecol\twocolumn \else \newpage \fi
311 \setcounter{page}\@ne
315 \def\p@thanks#1{\footnotemark
316 \protected@xdef\@thanks{\@thanks
317 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
319 \newcommand{\maketitle}{\begin{titlepage}%
320 \let\footnotesize\small
321 \let\footnoterule\relax
324 \vbox to\textheight\bgroup\tate\hsize\textwidth
328 {\LARGE \@title \par}%
332 \begin{tabular}[t]{c}%
336 {\large \@date \par}% % Set date in \large size.
338 \vfil{\centering\@thanks}\vfil\null
341 \setcounter{footnote}{0}%
342 \global\let\thanks\relax
343 \global\let\maketitle\relax
344 \global\let\p@thanks\relax
345 \global\let\@thanks\@empty
346 \global\let\@author\@empty
347 \global\let\@date\@empty
348 \global\let\@title\@empty
349 \global\let\title\relax
350 \global\let\author\relax
351 \global\let\date\relax
352 \global\let\and\relax
355 \newcommand{\maketitle}{\par
357 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
358 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
359 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
360 \long\def\@makefntext##1{\parindent 1\zw\noindent
361 \hb@xt@ 2\zw{\hss\@makefnmark}##1}%
363 \ifnum \col@number=\@ne \@maketitle
364 \else \twocolumn[\@maketitle]%
368 \global\@topnum\z@ % Prevents figures from going at top of page.
371 \thispagestyle{jpl@in}\@thanks
373 \setcounter{footnote}{0}%
374 \global\let\thanks\relax
375 \global\let\maketitle\relax
376 \global\let\@maketitle\relax
377 \global\let\p@thanks\relax
378 \global\let\@thanks\@empty
379 \global\let\@author\@empty
380 \global\let\@date\@empty
381 \global\let\@title\@empty
382 \global\let\title\relax
383 \global\let\author\relax
384 \global\let\date\relax
385 \global\let\and\relax
391 \let\footnote\p@thanks
392 {\LARGE \@title \par}%
396 \begin{tabular}[t]{c}%
405 \newenvironment{abstract}{%
408 \@beginparpenalty\@lowpenalty
410 {\bfseries\abstractname}%
413 {\par\vfil\null\endtitlepage}
415 \newenvironment{abstract}{%
417 \section*{\abstractname}%
421 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
424 \fi}{\if@twocolumn\else\endquotation\fi}
426 \newcommand*{\chaptermark}[1]{}
427 \setcounter{secnumdepth}{2}
430 \newcounter{section}[chapter]
431 \newcounter{subsection}[section]
432 \newcounter{subsubsection}[subsection]
433 \newcounter{paragraph}[subsubsection]
434 \newcounter{subparagraph}[paragraph]
435 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
436 \renewcommand{\thechapter}{\rensuji{\@arabic\c@chapter}}
437 \renewcommand{\thesection}{\thechapter・\rensuji{\@arabic\c@section}}
438 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
439 \renewcommand{\thesubsubsection}{%
440 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
441 \renewcommand{\theparagraph}{%
442 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
443 \renewcommand{\thesubparagraph}{%
444 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
445 \newcommand{\@chapapp}{\prechaptername}
446 \newcommand{\@chappos}{\postchaptername}
448 \if@openright \cleardoublepage \else \clearpage \fi
449 \thispagestyle{empty}%
450 \if@twocolumn\onecolumn\@tempswatrue\else\@tempswafalse\fi
452 \secdef\@part\@spart}
454 \ifnum \c@secnumdepth >-2\relax
455 \refstepcounter{part}%
456 \addcontentsline{toc}{part}{%
457 \prepartname\thepart\postpartname\hspace{1em}#1}%
459 \addcontentsline{toc}{part}{#1}%
463 \interlinepenalty\@M\normalfont
464 \ifnum \c@secnumdepth >-2\relax
465 \huge\bfseries\prepartname\thepart\postpartname
468 \Huge\bfseries#2\par}%
472 \interlinepenalty\@M\normalfont
473 \Huge\bfseries#1\par}%
475 \def\@endpart{\vfil\newpage
477 \if@openright %% added (2016/12/18)
478 \null\thispagestyle{empty}\newpage
479 \fi %% added (2016/12/18)
481 \if@tempswa\twocolumn\fi}
482 \newcommand{\chapter}{%
483 \if@openright\cleardoublepage\else\clearpage\fi
484 \thispagestyle{jpl@in}%
487 \secdef\@chapter\@schapter}
488 \def\@chapter[#1]#2{%
489 \ifnum \c@secnumdepth >\m@ne
490 \refstepcounter{chapter}%
491 \typeout{\@chapapp\space\thechapter\space\@chappos}%
492 \addcontentsline{toc}{chapter}%
493 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
495 \addcontentsline{toc}{chapter}{#1}%
498 \addtocontents{lof}{\protect\addvspace{10\p@}}%
499 \addtocontents{lot}{\protect\addvspace{10\p@}}%
500 \@makechapterhead{#2}\@afterheading}
501 \def\@makechapterhead#1{\hbox{}%
505 \normalfont\huge\bfseries
507 \ifnum \c@secnumdepth >\m@ne
508 \setlength\@tempdima{\linewidth}%
509 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1\zw}%
510 \addtolength\@tempdima{-\wd\z@}%
512 \vtop{\hsize\@tempdima#1}%
515 \fi}\nobreak\vskip3\Cvs}
517 \@makeschapterhead{#1}\@afterheading
519 \def\@makeschapterhead#1{\hbox{}%
523 \normalfont\huge\bfseries
525 \setlength\@tempdima{\linewidth}%
526 \vtop{\hsize\@tempdima#1}}\vskip3\Cvs}
527 \newcommand{\section}{\@startsection{section}{1}{\z@}%
528 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
529 {.5\Cvs \@plus.3\Cvs}%
530 {\normalfont\Large\bfseries}}
531 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
532 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
533 {.5\Cvs \@plus.3\Cvs}%
534 {\normalfont\large\bfseries}}
535 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
536 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
537 {.5\Cvs \@plus.3\Cvs}%
538 {\normalfont\normalsize\bfseries}}
539 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
540 {3.25ex \@plus 1ex \@minus .2ex}%
542 {\normalfont\normalsize\bfseries}}
543 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
544 {3.25ex \@plus 1ex \@minus .2ex}%
546 {\normalfont\normalsize\bfseries}}
547 \newcommand{\appendix}{\par
548 \setcounter{chapter}{0}%
549 \setcounter{section}{0}%
550 \renewcommand{\@chapapp}{\appendixname}%
551 \renewcommand{\@chappos}\space%
552 \renewcommand{\thechapter}{\rensuji{\@Alph\c@chapter}}}
554 \setlength\leftmargini {2em}
556 \setlength\leftmargini {2.5em}
558 \setlength\leftmarginii {2.2em}
559 \setlength\leftmarginiii {1.87em}
560 \setlength\leftmarginiv {1.7em}
562 \setlength\leftmarginv {.5em}
563 \setlength\leftmarginvi{.5em}
565 \setlength\leftmarginv {1em}
566 \setlength\leftmarginvi{1em}
568 \setlength \labelsep {.5em}
569 \setlength \labelwidth{\leftmargini}
570 \addtolength\labelwidth{-\labelsep}
571 \@beginparpenalty -\@lowpenalty
572 \@endparpenalty -\@lowpenalty
573 \@itempenalty -\@lowpenalty
574 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
575 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
576 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
577 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
578 \newcommand{\labelenumi}{\theenumi}
579 \newcommand{\labelenumii}{\theenumii}
580 \newcommand{\labelenumiii}{\theenumiii}
581 \newcommand{\labelenumiv}{\theenumiv}
582 \renewcommand{\p@enumii}{\theenumi}
583 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
584 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
585 \renewenvironment{enumerate}
586 {\ifnum \@enumdepth >\thr@@\@toodeep\else
587 \advance\@enumdepth\@ne
588 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
589 \expandafter \list \csname label\@enumctr\endcsname{%
590 \ifnum\ltjgetparameter{direction}=3
591 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
593 \parskip\z@ \itemsep\z@ \parsep\z@
594 \labelwidth1\zw \labelsep.3\zw
595 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
596 \else\leftmargin\leftskip\fi
597 \advance\leftmargin 1\zw
599 \usecounter{\@enumctr}%
600 \def\makelabel##1{\hss\llap{##1}}}%
602 \newcommand{\labelitemi}{\textbullet}
603 \newcommand{\labelitemii}{%
604 \ifnum\ltjgetparameter{direction}=3
607 {\normalfont\bfseries\textendash}
610 \newcommand{\labelitemiii}{\textasteriskcentered}
611 \newcommand{\labelitemiv}{\textperiodcentered}
612 \renewenvironment{itemize}
613 {\ifnum \@itemdepth >\thr@@\@toodeep\else
614 \advance\@itemdepth\@ne
615 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
616 \expandafter \list \csname \@itemitem\endcsname{%
617 \ifnum\ltjgetparameter{direction}=3
618 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
620 \parskip\z@ \itemsep\z@ \parsep\z@
621 \labelwidth1\zw \labelsep.3\zw
622 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
623 \else\leftmargin\leftskip\fi
624 \advance\leftmargin 1\zw
626 \def\makelabel##1{\hss\llap{##1}}}%
628 \newenvironment{description}
629 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
630 \ifnum\ltjgetparameter{direction}=3
631 \leftmargin\leftskip \advance\leftmargin3\Cwd
632 \rightmargin\rightskip
633 \labelsep=1\zw \itemsep\z@
634 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
636 \let\makelabel\descriptionlabel}}{\endlist}
637 \newcommand{\descriptionlabel}[1]{%
638 \hspace\labelsep\normalfont\bfseries #1}
639 \newenvironment{verse}
641 \list{}{\itemsep\z@ \itemindent -1.5em%
642 \listparindent\itemindent
643 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
644 \item\relax}{\endlist}
645 \newenvironment{quotation}
646 {\list{}{\listparindent 1.5em%
647 \itemindent\listparindent
648 \rightmargin\leftmargin
649 \parsep\z@ \@plus\p@}%
650 \item\relax}{\endlist}
651 \newenvironment{quote}
652 {\list{}{\rightmargin\leftmargin}%
653 \item\relax}{\endlist}
654 \newcounter{figure}[chapter]
655 \renewcommand{\thefigure}{%
656 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@figure}}
660 \def\fnum@figure{\figurename\thefigure}
661 \newenvironment{figure}
664 \newenvironment{figure*}
667 \newcounter{table}[chapter]
668 \renewcommand{\thetable}{%
669 \ifnum\c@chapter>\z@\thechapter{}・\fi\rensuji{\@arabic\c@table}}
673 \def\fnum@table{\tablename\thetable}
674 \newenvironment{table}
677 \newenvironment{table*}
680 \newlength\abovecaptionskip
681 \newlength\belowcaptionskip
682 \setlength\abovecaptionskip{10\p@}
683 \setlength\belowcaptionskip{0\p@}
684 \long\def\@makecaption#1#2{%
685 \vskip\abovecaptionskip
686 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
687 \else\sbox\@tempboxa{#1: #2}%
689 \ifdim \wd\@tempboxa >\hsize
690 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
691 \else #1: #2\relax\par\fi
693 \global \@minipagefalse
694 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
696 \vskip\belowcaptionskip}
697 \setlength\arraycolsep{5\p@}
698 \setlength\tabcolsep{6\p@}
699 \setlength\arrayrulewidth{.4\p@}
700 \setlength\doublerulesep{2\p@}
701 \setlength\tabbingsep{\labelsep}
702 \skip\@mpfootins = \skip\footins
703 \setlength\fboxsep{3\p@}
704 \setlength\fboxrule{.4\p@}
705 \@addtoreset{equation}{chapter}
706 \renewcommand{\theequation}{%
707 \ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
708 \if@compatibility\else
709 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
710 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
711 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
713 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
717 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
718 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
721 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
722 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
723 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
724 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
725 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
726 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
727 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
728 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
729 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
730 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
731 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
732 \setcounter{tocdepth}{2}
733 \newcommand{\@pnumwidth}{1.55em}
734 \newcommand{\@tocrmarg}{2.55em}
735 \newcommand{\@dotsep}{4.5}
736 \newdimen\toclineskip
737 \setlength\toclineskip{2\p@}
739 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
740 \def\@dottedtocline#1#2#3#4#5{%
741 \ifnum #1>\c@tocdepth \else
742 \vskip\toclineskip \@plus.2\p@
743 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
744 \parindent #2\relax\@afterindenttrue
748 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
750 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
752 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
755 \def\addcontentsline#1#2#3{%
756 \protected@write\@auxout
757 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
758 \@temptokena{\rensuji{\thepage}}}%
759 {\string\@writefile{#1}%
760 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
762 \newcommand{\tableofcontents}{%
763 \if@twocolumn\@restonecoltrue\onecolumn
764 \else\@restonecolfalse\fi
765 \chapter*{\contentsname
766 \@mkboth{\contentsname}{\contentsname}%
768 \if@restonecol\twocolumn\fi
770 \newcommand*{\l@part}[2]{%
771 \ifnum \c@tocdepth >-2\relax
772 \addpenalty{-\@highpenalty}%
773 \addvspace{2.25em \@plus\p@}%
775 \parindent\z@\rightskip\@pnumwidth
776 \parfillskip-\@pnumwidth
777 {\leavevmode\large\bfseries
778 \setlength\@lnumwidth{4\zw}%
780 \hb@xt@\@pnumwidth{\hss#2}}\par
783 \everypar{\global\@nobreakfalse\everypar{}}%
786 \newcommand*{\l@chapter}[2]{%
787 \ifnum \c@tocdepth >\m@ne
788 \addpenalty{-\@highpenalty}%
789 \addvspace{1.0em \@plus\p@}%
791 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
793 \setlength\@lnumwidth{4\zw}%
794 \advance\leftskip\@lnumwidth \hskip-\leftskip
795 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
796 \penalty\@highpenalty
799 \newcommand*{\l@section}{\@dottedtocline{1}{1\zw}{4\zw}}
800 \newcommand*{\l@subsection} {\@dottedtocline{2}{2\zw}{6\zw}}
801 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{3\zw}{8\zw}}
802 \newcommand*{\l@paragraph} {\@dottedtocline{4}{4\zw}{9\zw}}
803 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{5\zw}{10\zw}}
804 \newcommand{\listoffigures}{%
805 \if@twocolumn\@restonecoltrue\onecolumn
806 \else\@restonecolfalse\fi
807 \chapter*{\listfigurename}%
808 \@mkboth{\listfigurename}{\listfigurename}%
810 \if@restonecol\twocolumn\fi
812 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
813 \newcommand{\listoftables}{%
814 \if@twocolumn\@restonecoltrue\onecolumn
815 \else\@restonecolfalse\fi
816 \chapter*{\listtablename}%
817 \@mkboth{\listtablename}{\listtablename}%
819 \if@restonecol\twocolumn\fi
821 \let\l@table\l@figure
823 \setlength\bibindent{1.5em}
824 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
825 \newenvironment{thebibliography}[1]
826 {\chapter*{\bibname}\@mkboth{\bibname}{\bibname}%
827 \list{\@biblabel{\@arabic\c@enumiv}}%
828 {\settowidth\labelwidth{\@biblabel{#1}}%
829 \leftmargin\labelwidth
830 \advance\leftmargin\labelsep
834 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
837 \@clubpenalty\clubpenalty
841 {\@latex@warning{Empty `thebibliography' environment}}%
843 \let\@openbib@code\@empty
844 \newenvironment{theindex}
845 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
846 \twocolumn[\@makeschapterhead{\indexname}]%
847 \@mkboth{\indexname}{\indexname}%
848 \thispagestyle{jpl@in}\parindent\z@
849 \parskip\z@ \@plus .3\p@\relax
850 \columnseprule\z@ \columnsep 35\p@
852 {\if@restonecol\onecolumn\else\clearpage\fi}
853 \newcommand{\@idxitem}{\par\hangindent 40\p@}
854 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
855 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
856 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
857 \renewcommand{\footnoterule}{%
859 \hrule\@width.4\columnwidth
861 \@addtoreset{footnote}{chapter}
862 \newcommand\@makefntext[1]{\parindent 1\zw
863 \noindent\hb@xt@ 2\zw{\hss\@makefnmark}#1}
867 \newcount\heisei \heisei\year \advance\heisei-1988\relax
869 \ifnum\ltjgetparameter{direction}=3
875 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
885 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
890 \newcommand{\prepartname}{第}
891 \newcommand{\postpartname}{部}
892 \newcommand{\prechaptername}{第}
893 \newcommand{\postchaptername}{章}
894 \newcommand{\contentsname}{目 次}
895 \newcommand{\listfigurename}{図 目 次}
896 \newcommand{\listtablename}{表 目 次}
897 \newcommand{\bibname}{関連図書}
898 \newcommand{\indexname}{索 引}
899 \newcommand{\figurename}{図}
900 \newcommand{\tablename}{表}
901 \newcommand{\appendixname}{付 録}
902 \newcommand{\abstractname}{概 要}
904 \pagenumbering{arabic}
916 %% End of file `ltjtreport.cls'.