2 %% This is file `ltjtarticle.cls',
3 %% generated with the docstrip utility.
5 %% The original source files were:
7 %% ltjclasses.dtx (with options: `article,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 ltjtarticle.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{ltjtarticle}
26 [2016/12/30 v1.7c-ltj-11
27 Standard LuaLaTeX-ja class]
28 \RequirePackage{luatexja}
30 \newif\if@landscape \@landscapefalse
31 \newcommand{\@ptsize}{}
35 \hour\time \divide\hour by 60\relax
36 \@tempcnta\hour \multiply\@tempcnta 60\relax
37 \minute\time \advance\minute-\@tempcnta
38 \newif\if@stysize \@stysizefalse
39 \newif\if@mathrmmc \@mathrmmcfalse
40 \DeclareOption{a4paper}{\setcounter{@paper}{1}%
41 \setlength\paperheight {297mm}%
42 \setlength\paperwidth {210mm}}
43 \DeclareOption{a5paper}{\setcounter{@paper}{2}%
44 \setlength\paperheight {210mm}
45 \setlength\paperwidth {148mm}}
46 \DeclareOption{b4paper}{\setcounter{@paper}{3}%
47 \setlength\paperheight {364mm}
48 \setlength\paperwidth {257mm}}
49 \DeclareOption{b5paper}{\setcounter{@paper}{4}%
50 \setlength\paperheight {257mm}
51 \setlength\paperwidth {182mm}}
52 \DeclareOption{a4j}{\setcounter{@paper}{1}\@stysizetrue
53 \setlength\paperheight {297mm}%
54 \setlength\paperwidth {210mm}}
55 \DeclareOption{a5j}{\setcounter{@paper}{2}\@stysizetrue
56 \setlength\paperheight {210mm}
57 \setlength\paperwidth {148mm}}
58 \DeclareOption{b4j}{\setcounter{@paper}{3}\@stysizetrue
59 \setlength\paperheight {364mm}
60 \setlength\paperwidth {257mm}}
61 \DeclareOption{b5j}{\setcounter{@paper}{4}\@stysizetrue
62 \setlength\paperheight {257mm}
63 \setlength\paperwidth {182mm}}
64 \DeclareOption{a4p}{\setcounter{@paper}{1}\@stysizetrue
65 \setlength\paperheight {297mm}%
66 \setlength\paperwidth {210mm}}
67 \DeclareOption{a5p}{\setcounter{@paper}{2}\@stysizetrue
68 \setlength\paperheight {210mm}
69 \setlength\paperwidth {148mm}}
70 \DeclareOption{b4p}{\setcounter{@paper}{3}\@stysizetrue
71 \setlength\paperheight {364mm}
72 \setlength\paperwidth {257mm}}
73 \DeclareOption{b5p}{\setcounter{@paper}{4}\@stysizetrue
74 \setlength\paperheight {257mm}
75 \setlength\paperwidth {182mm}}
77 \renewcommand{\@ptsize}{0}
79 \DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
81 \DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
82 \DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
83 \DeclareOption{landscape}{\@landscapetrue
84 \setlength\@tempdima{\paperheight}%
85 \setlength\paperheight{\paperwidth}%
86 \setlength\paperwidth{\@tempdima}}
87 \DeclareOption{tombow}{%
88 \tombowtrue \tombowdatetrue
89 \setlength{\@tombowwidth}{.1\p@}%
91 \jobname\space:\space\number\year/\number\month/\number\day
92 (\number\hour:\number\minute)}
94 \DeclareOption{tombo}{%
95 \tombowtrue \tombowdatefalse
96 \setlength{\@tombowwidth}{.1\p@}%
98 \DeclareOption{mentuke}{%
99 \tombowtrue \tombowdatefalse
100 \setlength{\@tombowwidth}{\z@}%
102 \DeclareOption{tate}{%
103 \tate\AtBeginDocument{\message{《縦組モード》}\adjustbaseline}%
105 \AtEndOfPackageFile{everyshi}{%
106 \def\@EveryShipout@Output{%
110 \@EveryShipout@AtNextHook
111 \global\setbox\luatexoutputbox=\box\luatexoutputbox
113 \gdef\@EveryShipout@AtNextHook{}%
114 \@EveryShipout@Org@Shipout\box\luatexoutputbox
116 \DeclareOption{oneside}{\@twosidefalse}
117 \DeclareOption{twoside}{\@twosidetrue}
118 \DeclareOption{onecolumn}{\@twocolumnfalse}
119 \DeclareOption{twocolumn}{\@twocolumntrue}
120 \DeclareOption{titlepage}{\@titlepagetrue}
121 \DeclareOption{notitlepage}{\@titlepagefalse}
122 \DeclareOption{leqno}{\input{leqno.clo}}
123 \DeclareOption{fleqn}{\input{fleqn.clo}}
124 \DeclareOption{openbib}{%
126 \renewcommand\@openbib@code{%
127 \advance\leftmargin\bibindent
128 \itemindent -\bibindent
129 \listparindent \itemindent
132 \renewcommand\newblock{\par}}}
136 \DeclareOption{disablejfam}{%
137 \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
138 \DeclareOption{mathrmmc}{\@mathrmmctrue}
140 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
141 \DeclareOption{final}{\setlength\overfullrule{0pt}}
142 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
143 function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
144 'ltj.jclasses_load_jfm', 1)}
145 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
146 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
147 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
148 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
149 \ltjglobalsetparameter{differentjfm=both}
150 \directlua{luatexbase.remove_from_callback('luatexja.load_jfm', 'ltj.jclasses_load_jfm')}
151 \ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,tate}
152 \ProcessOptions\relax
153 \input{ltjtsize1\@ptsize.clo}
154 \RequirePackage{lltjext}
156 \setlength\columnsep{3\Cwd}
158 \setlength\columnsep{10\p@}
160 \setlength\columnseprule{0\p@}
161 \newlength{\stockwidth}
162 \newlength{\stockheight}
163 \setlength{\stockwidth}{\paperwidth}
164 \setlength{\stockheight}{\paperheight}
166 \advance \stockwidth 2in
167 \advance \stockheight 2in
169 \ifdefined\pdfpagewidth
170 \setlength{\pdfpagewidth}{\stockwidth}
171 \setlength{\pdfpageheight}{\stockheight}
173 \setlength{\pagewidth}{\stockwidth}
174 \setlength{\pageheight}{\stockheight}
176 \setlength\lineskip{1\p@}
177 \setlength\normallineskip{1\p@}
178 \renewcommand{\baselinestretch}{}
179 \setlength\parskip{0\p@ \@plus \p@}
180 \setlength\parindent{1\Cwd}
184 \setcounter{topnumber}{2}
185 \setcounter{bottomnumber}{1}
186 \setcounter{totalnumber}{3}
187 \setcounter{dbltopnumber}{2}
188 \renewcommand{\topfraction}{.7}
189 \renewcommand{\bottomfraction}{.3}
190 \renewcommand{\textfraction}{.2}
191 \renewcommand{\floatpagefraction}{.5}
192 \renewcommand{\dbltopfraction}{.7}
193 \renewcommand{\dblfloatpagefraction}{.5}
194 \def\ps@plain{\let\@mkboth\@gobbletwo
195 \let\ps@jpl@in\ps@plain
197 \def\@oddfoot{\reset@font\hfil\thepage\hfil}%
198 \let\@evenhead\@empty
199 \let\@evenfoot\@oddfoot}
200 \let\ps@jpl@in\ps@plain
201 \def\ps@headnombre{\let\@mkboth\@gobbletwo
202 \let\ps@jpl@in\ps@headnombre
203 \def\@evenhead{\hfil\thepage}%
204 \def\@oddhead{\thepage\hfil}%
205 \let\@oddfoot\@empty\let\@evenfoot\@empty}
206 \def\ps@footnombre{\let\@mkboth\@gobbletwo
207 \let\ps@jpl@in\ps@footnombre
208 \def\@evenfoot{\hfil\thepage}%
209 \def\@oddfoot{\thepage\hfil}%
210 \let\@oddhead\@empty\let\@evenhead\@empty}
212 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
213 \let\@oddfoot\@empty\let\@evenfoot\@empty
214 \def\@evenhead{{\leftmark}\hfil\thepage}%
215 \def\@oddhead{\thepage\hfil\rightmark}%
216 \let\@mkboth\markboth
217 \def\sectionmark##1{\markboth{%
218 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
220 \def\subsectionmark##1{\markright{%
221 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
224 \else % if not twoside
225 \def\ps@headings{\let\ps@jpl@in\ps@headnombre
227 \def\@oddhead{\thepage\hfil\rightmark}%
228 \let\@mkboth\markboth
229 \def\sectionmark##1{\markright{%
230 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
235 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
236 \def\@evenhead{\hfil\leftmark}% right page
237 \def\@evenfoot{\hfil\thepage}% right page
238 \def\@oddhead{\rightmark\hfil}% left page
239 \def\@oddfoot{\thepage\hfil}% left page
240 \let\@mkboth\markboth
241 \def\sectionmark##1{\markboth{%
242 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1\zw\fi
244 \def\subsectionmark##1{\markright{%
245 \ifnum \c@secnumdepth >\@ne \thesubsection.\hskip1\zw\fi
248 \else % if one column
249 \def\ps@bothstyle{\let\ps@jpl@in\ps@footnombre
250 \def\@oddhead{\rightmark\hfil}%
251 \def\@oddfoot{\thepage\hfil}%
252 \let\@mkboth\markboth
253 \def\sectionmark##1{\markright{%
254 \ifnum \c@secnumdepth >\m@ne \thesection.\hskip1\zw\fi
258 \def\ps@myheadings{\let\ps@jpl@in\ps@plain%
259 \let\@oddfoot\@empty\let\@evenfoot\@empty
260 \def\@evenhead{{\leftmark}\hfil\thepage}%
261 \def\@oddhead{\thepage\hfil\rightmark}%
262 \let\@mkboth\@gobbletwo
263 \let\sectionmark\@gobble
264 \let\subsectionmark\@gobble
267 \newenvironment{titlepage}
269 \if@twocolumn\@restonecoltrue\onecolumn
270 \else\@restonecolfalse\newpage\fi
271 \thispagestyle{empty}%
274 {\if@restonecol\twocolumn\else\newpage\fi
277 \newenvironment{titlepage}
280 \@restonecoltrue\onecolumn
282 \@restonecolfalse\newpage
284 \thispagestyle{empty}%
285 \setcounter{page}\@ne
287 {\if@restonecol\twocolumn \else \newpage \fi
289 \setcounter{page}\@ne
293 \def\p@thanks#1{\footnotemark
294 \protected@xdef\@thanks{\@thanks
295 \protect{\noindent$\m@th^\thefootnote$~#1\protect\par}}}
297 \newcommand{\maketitle}{\begin{titlepage}%
298 \let\footnotesize\small
299 \let\footnoterule\relax
302 \vbox to\textheight\bgroup\tate\hsize\textwidth
306 {\LARGE \@title \par}%
310 \begin{tabular}[t]{c}%
314 {\large \@date \par}% % Set date in \large size.
316 \vfil{\centering\@thanks}\vfil\null
319 \setcounter{footnote}{0}%
320 \global\let\thanks\relax
321 \global\let\maketitle\relax
322 \global\let\p@thanks\relax
323 \global\let\@thanks\@empty
324 \global\let\@author\@empty
325 \global\let\@date\@empty
326 \global\let\@title\@empty
327 \global\let\title\relax
328 \global\let\author\relax
329 \global\let\date\relax
330 \global\let\and\relax
333 \newcommand{\maketitle}{\par
335 \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
336 \def\@makefnmark{\hbox{\unless\ifnum\ltjgetparameter{direction}=3 $\m@th^{\@thefnmark}$
337 \else\hbox{\yoko$\m@th^{\@thefnmark}$}\fi}}%
338 \long\def\@makefntext##1{\parindent 1\zw\noindent
339 \hb@xt@ 2\zw{\hss\@makefnmark}##1}%
341 \ifnum \col@number=\@ne \@maketitle
342 \else \twocolumn[\@maketitle]%
346 \global\@topnum\z@ % Prevents figures from going at top of page.
349 \thispagestyle{jpl@in}\@thanks
351 \setcounter{footnote}{0}%
352 \global\let\thanks\relax
353 \global\let\maketitle\relax
354 \global\let\@maketitle\relax
355 \global\let\p@thanks\relax
356 \global\let\@thanks\@empty
357 \global\let\@author\@empty
358 \global\let\@date\@empty
359 \global\let\@title\@empty
360 \global\let\title\relax
361 \global\let\author\relax
362 \global\let\date\relax
363 \global\let\and\relax
369 \let\footnote\p@thanks
370 {\LARGE \@title \par}%
374 \begin{tabular}[t]{c}%
383 \newenvironment{abstract}{%
386 \@beginparpenalty\@lowpenalty
388 {\bfseries\abstractname}%
391 {\par\vfil\null\endtitlepage}
393 \newenvironment{abstract}{%
395 \section*{\abstractname}%
399 {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
402 \fi}{\if@twocolumn\else\endquotation\fi}
404 \setcounter{secnumdepth}{3}
407 \newcounter{subsection}[section]
408 \newcounter{subsubsection}[subsection]
409 \newcounter{paragraph}[subsubsection]
410 \newcounter{subparagraph}[paragraph]
411 \renewcommand{\thepart}{\rensuji{\@Roman\c@part}}
412 \renewcommand{\thesection}{\rensuji{\@arabic\c@section}}
413 \renewcommand{\thesubsection}{\thesection・\rensuji{\@arabic\c@subsection}}
414 \renewcommand{\thesubsubsection}{%
415 \thesubsection・\rensuji{\@arabic\c@subsubsection}}
416 \renewcommand{\theparagraph}{%
417 \thesubsubsection・\rensuji{\@arabic\c@paragraph}}
418 \renewcommand{\thesubparagraph}{%
419 \theparagraph・\rensuji{\@arabic\c@subparagraph}}
421 \if@noskipsec \leavevmode \fi
424 \secdef\@part\@spart}
426 \ifnum \c@secnumdepth >\m@ne
427 \refstepcounter{part}%
428 \addcontentsline{toc}{part}{%
429 \prepartname\thepart\postpartname\hspace{1\zw}#1}%
431 \addcontentsline{toc}{part}{#1}%
434 {\parindent\z@\raggedright
435 \interlinepenalty\@M\normalfont
436 \ifnum \c@secnumdepth >\m@ne
437 \Large\bfseries\prepartname\thepart\postpartname
440 \huge\bfseries#2\par}%
441 \nobreak\vskip3ex\@afterheading}
443 \parindent\z@\raggedright
444 \interlinepenalty\@M\normalfont
445 \huge\bfseries#1\par}%
446 \nobreak\vskip3ex\@afterheading}
447 \newcommand{\section}{\@startsection{section}{1}{\z@}%
448 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
449 {.5\Cvs \@plus.3\Cvs}%
450 {\normalfont\Large\bfseries}}
451 \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
452 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
453 {.5\Cvs \@plus.3\Cvs}%
454 {\normalfont\large\bfseries}}
455 \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
456 {1.5\Cvs \@plus.5\Cvs \@minus.2\Cvs}%
457 {.5\Cvs \@plus.3\Cvs}%
458 {\normalfont\normalsize\bfseries}}
459 \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
460 {3.25ex \@plus 1ex \@minus .2ex}%
462 {\normalfont\normalsize\bfseries}}
463 \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
464 {3.25ex \@plus 1ex \@minus .2ex}%
466 {\normalfont\normalsize\bfseries}}
467 \newcommand{\appendix}{\par
468 \setcounter{section}{0}%
469 \setcounter{subsection}{0}%
470 \renewcommand{\thesection}{\rensuji{\@Alph\c@section}}}
472 \setlength\leftmargini {2em}
474 \setlength\leftmargini {2.5em}
476 \setlength\leftmarginii {2.2em}
477 \setlength\leftmarginiii {1.87em}
478 \setlength\leftmarginiv {1.7em}
480 \setlength\leftmarginv {.5em}
481 \setlength\leftmarginvi{.5em}
483 \setlength\leftmarginv {1em}
484 \setlength\leftmarginvi{1em}
486 \setlength \labelsep {.5em}
487 \setlength \labelwidth{\leftmargini}
488 \addtolength\labelwidth{-\labelsep}
489 \@beginparpenalty -\@lowpenalty
490 \@endparpenalty -\@lowpenalty
491 \@itempenalty -\@lowpenalty
492 \renewcommand{\theenumi}{\rensuji{\@arabic\c@enumi}}
493 \renewcommand{\theenumii}{\rensuji{(\@alph\c@enumii)}}
494 \renewcommand{\theenumiii}{\rensuji{\@roman\c@enumiii}}
495 \renewcommand{\theenumiv}{\rensuji{\@Alph\c@enumiv}}
496 \newcommand{\labelenumi}{\theenumi}
497 \newcommand{\labelenumii}{\theenumii}
498 \newcommand{\labelenumiii}{\theenumiii}
499 \newcommand{\labelenumiv}{\theenumiv}
500 \renewcommand{\p@enumii}{\theenumi}
501 \renewcommand{\p@enumiii}{\theenumi(\theenumii)}
502 \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
503 \renewenvironment{enumerate}
504 {\ifnum \@enumdepth >\thr@@\@toodeep\else
505 \advance\@enumdepth\@ne
506 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
507 \expandafter \list \csname label\@enumctr\endcsname{%
508 \ifnum\ltjgetparameter{direction}=3
509 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
511 \parskip\z@ \itemsep\z@ \parsep\z@
512 \labelwidth1\zw \labelsep.3\zw
513 \ifnum \@enumdepth=\@ne \leftmargin1\zw\relax
514 \else\leftmargin\leftskip\fi
515 \advance\leftmargin 1\zw
517 \usecounter{\@enumctr}%
518 \def\makelabel##1{\hss\llap{##1}}}%
520 \newcommand{\labelitemi}{\textbullet}
521 \newcommand{\labelitemii}{%
522 \ifnum\ltjgetparameter{direction}=3
525 {\normalfont\bfseries\textendash}
528 \newcommand{\labelitemiii}{\textasteriskcentered}
529 \newcommand{\labelitemiv}{\textperiodcentered}
530 \renewenvironment{itemize}
531 {\ifnum \@itemdepth >\thr@@\@toodeep\else
532 \advance\@itemdepth\@ne
533 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
534 \expandafter \list \csname \@itemitem\endcsname{%
535 \ifnum\ltjgetparameter{direction}=3
536 \ifnum \@listdepth=\@ne \topsep.5\normalbaselineskip
538 \parskip\z@ \itemsep\z@ \parsep\z@
539 \labelwidth1\zw \labelsep.3\zw
540 \ifnum \@itemdepth =\@ne \leftmargin1\zw\relax
541 \else\leftmargin\leftskip\fi
542 \advance\leftmargin 1\zw
544 \def\makelabel##1{\hss\llap{##1}}}%
546 \newenvironment{description}
547 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
548 \ifnum\ltjgetparameter{direction}=3
549 \leftmargin\leftskip \advance\leftmargin3\Cwd
550 \rightmargin\rightskip
551 \labelsep=1\zw \itemsep\z@
552 \listparindent\z@ \topskip\z@ \parskip\z@ \partopsep\z@
554 \let\makelabel\descriptionlabel}}{\endlist}
555 \newcommand{\descriptionlabel}[1]{%
556 \hspace\labelsep\normalfont\bfseries #1}
557 \newenvironment{verse}
559 \list{}{\itemsep\z@ \itemindent -1.5em%
560 \listparindent\itemindent
561 \rightmargin\leftmargin \advance\leftmargin 1.5em}%
562 \item\relax}{\endlist}
563 \newenvironment{quotation}
564 {\list{}{\listparindent 1.5em%
565 \itemindent\listparindent
566 \rightmargin\leftmargin
567 \parsep\z@ \@plus\p@}%
568 \item\relax}{\endlist}
569 \newenvironment{quote}
570 {\list{}{\rightmargin\leftmargin}%
571 \item\relax}{\endlist}
573 \renewcommand{\thefigure}{\rensuji{\@arabic\c@figure}}
577 \def\fnum@figure{\figurename\thefigure}
578 \newenvironment{figure}
581 \newenvironment{figure*}
585 \renewcommand{\thetable}{\rensuji{\@arabic\c@table}}
589 \def\fnum@table{\tablename\thetable}
590 \newenvironment{table}
593 \newenvironment{table*}
596 \newlength\abovecaptionskip
597 \newlength\belowcaptionskip
598 \setlength\abovecaptionskip{10\p@}
599 \setlength\belowcaptionskip{0\p@}
600 \long\def\@makecaption#1#2{%
601 \vskip\abovecaptionskip
602 \ifnum\ltjgetparameter{direction}=3 \sbox\@tempboxa{#1\hskip1\zw#2}%
603 \else\sbox\@tempboxa{#1: #2}%
605 \ifdim \wd\@tempboxa >\hsize
606 \ifnum\ltjgetparameter{direction}=3 #1\hskip1\zw#2\relax\par
607 \else #1: #2\relax\par\fi
609 \global \@minipagefalse
610 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
612 \vskip\belowcaptionskip}
613 \setlength\arraycolsep{5\p@}
614 \setlength\tabcolsep{6\p@}
615 \setlength\arrayrulewidth{.4\p@}
616 \setlength\doublerulesep{2\p@}
617 \setlength\tabbingsep{\labelsep}
618 \skip\@mpfootins = \skip\footins
619 \setlength\fboxsep{3\p@}
620 \setlength\fboxrule{.4\p@}
621 \renewcommand{\theequation}{\@arabic\c@equation}
622 \if@compatibility\else
623 \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
624 \DeclareSymbolFontAlphabet{\mathmc}{mincho}
625 \SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
627 \DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
631 \reDeclareMathAlphabet{\mathrm}{\mathrm}{\mathmc}
632 \reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
635 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
636 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
637 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
638 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
639 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
640 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
641 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
642 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
643 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
644 \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
645 \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
646 \setcounter{tocdepth}{3}
647 \newcommand{\@pnumwidth}{1.55em}
648 \newcommand{\@tocrmarg}{2.55em}
649 \newcommand{\@dotsep}{4.5}
650 \newdimen\toclineskip
651 \setlength\toclineskip{2\p@}
653 \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}}
654 \def\@dottedtocline#1#2#3#4#5{%
655 \ifnum #1>\c@tocdepth \else
656 \vskip\toclineskip \@plus.2\p@
657 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
658 \parindent #2\relax\@afterindenttrue
662 \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
664 \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}%
666 \hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
669 \def\addcontentsline#1#2#3{%
670 \protected@write\@auxout
671 {\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
672 \@temptokena{\rensuji{\thepage}}}%
673 {\string\@writefile{#1}%
674 {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
676 \newcommand{\tableofcontents}{%
677 \section*{\contentsname
678 \@mkboth{\contentsname}{\contentsname}%
681 \newcommand*{\l@part}[2]{%
682 \ifnum \c@tocdepth >-2\relax
683 \addpenalty{\@secpenalty}%
684 \addvspace{2.25em \@plus\p@}%
686 \parindent\z@\rightskip\@pnumwidth
687 \parfillskip-\@pnumwidth
688 {\leavevmode\large\bfseries
689 \setlength\@lnumwidth{4\zw}%
691 \hb@xt@\@pnumwidth{\hss#2}}\par
695 \everypar{\global\@nobreakfalse\everypar{}}%
699 \newcommand*{\l@section}[2]{%
700 \ifnum \c@tocdepth >\z@
701 \addpenalty{\@secpenalty}%
702 \addvspace{1.0em \@plus\p@}%
704 \parindent\z@ \rightskip\@pnumwidth \parfillskip-\rightskip
706 \setlength\@lnumwidth{1.5em}%
707 \advance\leftskip\@lnumwidth \hskip-\leftskip
708 #1\nobreak\hfil\nobreak\hb@xt@\@pnumwidth{\hss#2}\par
711 \newcommand*{\l@subsection} {\@dottedtocline{2}{1\zw}{4\zw}}
712 \newcommand*{\l@subsubsection}{\@dottedtocline{3}{2\zw}{6\zw}}
713 \newcommand*{\l@paragraph} {\@dottedtocline{4}{3\zw}{8\zw}}
714 \newcommand*{\l@subparagraph} {\@dottedtocline{5}{4\zw}{9\zw}}
715 \newcommand{\listoffigures}{%
716 \section*{\listfigurename}%
717 \@mkboth{\listfigurename}{\listfigurename}%
720 \newcommand*{\l@figure}{\@dottedtocline{1}{1\zw}{4\zw}}
721 \newcommand{\listoftables}{%
722 \section*{\listtablename}%
723 \@mkboth{\listtablename}{\listtablename}%
726 \let\l@table\l@figure
728 \setlength\bibindent{1.5em}
729 \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
730 \newenvironment{thebibliography}[1]
731 {\section*{\refname}\@mkboth{\refname}{\refname}%
732 \list{\@biblabel{\@arabic\c@enumiv}}%
733 {\settowidth\labelwidth{\@biblabel{#1}}%
734 \leftmargin\labelwidth
735 \advance\leftmargin\labelsep
739 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
742 \@clubpenalty\clubpenalty
746 {\@latex@warning{Empty `thebibliography' environment}}%
748 \let\@openbib@code\@empty
749 \newenvironment{theindex}
750 {\if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi
751 \twocolumn[\section*{\indexname}]%
752 \@mkboth{\indexname}{\indexname}%
753 \thispagestyle{jpl@in}\parindent\z@
754 \parskip\z@ \@plus .3\p@\relax
755 \columnseprule\z@ \columnsep 35\p@
757 {\if@restonecol\onecolumn\else\clearpage\fi}
758 \newcommand{\@idxitem}{\par\hangindent 40\p@}
759 \newcommand{\subitem}{\@idxitem \hspace*{20\p@}}
760 \newcommand{\subsubitem}{\@idxitem \hspace*{30\p@}}
761 \newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
762 \renewcommand{\footnoterule}{%
764 \hrule\@width.4\columnwidth
766 \newcommand\@makefntext[1]{\parindent 1\zw
767 \noindent\hb@xt@ 2\zw{\hss\@makefnmark}#1}
771 \newcount\heisei \heisei\year \advance\heisei-1988\relax
773 \ifnum\ltjgetparameter{direction}=3
779 平成\ifnum\heisei=1 元年\else\kansuji\heisei 年\fi
789 平成\ifnum\heisei=1 元年\else\number\heisei~年\fi
794 \newcommand{\prepartname}{第}
795 \newcommand{\postpartname}{部}
796 \newcommand{\contentsname}{目 次}
797 \newcommand{\listfigurename}{図 目 次}
798 \newcommand{\listtablename}{表 目 次}
799 \newcommand{\refname}{参考文献}
800 \newcommand{\indexname}{索 引}
801 \newcommand{\figurename}{図}
802 \newcommand{\tablename}{表}
803 \newcommand{\appendixname}{付 録}
804 \newcommand{\abstractname}{概 要}
806 \pagenumbering{arabic}
818 %% End of file `ltjtarticle.cls'.