summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/platex/jsclasses/kiyou.cls')
-rw-r--r--Master/texmf-dist/tex/platex/jsclasses/kiyou.cls50
1 files changed, 42 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls b/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls
index 99d4e3d539b..cac3fb8ef4a 100644
--- a/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls
+++ b/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls
@@ -37,7 +37,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{kiyou}
- [2013/05/14 okumura]
+ [2014/02/07 okumura]
\newif\if@restonecol
\newif\if@titlepage
\newif\if@enablejfam \@enablejfamtrue
@@ -111,6 +111,10 @@
\DeclareOption{43pt}{\renewcommand{\@ptsize}{33}}
\DeclareOption{12Q}{\renewcommand{\@ptsize}{1200}}
\DeclareOption{14Q}{\renewcommand{\@ptsize}{1400}}
+\DeclareOption{10ptj}{\renewcommand{\@ptsize}{1001}}
+\DeclareOption{10.5ptj}{\renewcommand{\@ptsize}{1051}}
+\DeclareOption{11ptj}{\renewcommand{\@ptsize}{1101}}
+\DeclareOption{12ptj}{\renewcommand{\@ptsize}{1201}}
\hour\time \divide\hour by 60\relax
\@tempcnta\hour \multiply\@tempcnta 60\relax
\minute\time \advance\minute-\@tempcnta
@@ -281,6 +285,22 @@
\mag 1077
\def\inv@mag{0.928505}
\fi
+\ifnum\@ptsize=1001
+ \mag 1085
+ \def\inv@mag{0.921659}
+\fi
+\ifnum\@ptsize=1051
+ \mag 1139
+ \def\inv@mag{0.877963}
+\fi
+\ifnum\@ptsize=1101
+ \mag 1194
+ \def\inv@mag{0.837521}
+\fi
+\ifnum\@ptsize=1201
+ \mag 1302
+ \def\inv@mag{0.768049}
+\fi
\mag 977
\def\inv@mag{1.02354}
\setlength\paperwidth{\inv@mag\paperwidth}%
@@ -1336,7 +1356,12 @@
\newcommand\@tocrmarg{2.55em}
\newcommand\@dotsep{4.5}
\setcounter{tocdepth}{2}
+\newdimen\js@tocl@width
\newcommand{\tableofcontents}{%
+ \settowidth\js@tocl@width{\headfont\presectionname\postsectionname}%
+ \settowidth\@tempdima{\headfont\appendixname}%
+ \ifdim\js@tocl@width<\@tempdima\relax\setlength\js@tocl@width{\@tempdima}\fi
+ \ifdim\js@tocl@width<2zw \divide\js@tocl@width by 2 \advance\js@tocl@width 1zw\fi
\section*{\contentsname}%
\@mkboth{\contentsname}{\contentsname}%
\@starttoc{toc}%
@@ -1365,15 +1390,24 @@
\rightskip\@tocrmarg
\parfillskip-\rightskip
\leavevmode\headfont
- \setlength\@lnumwidth{4zw}% $B85(B1.5em [2003-03-02]
+ %\setlength\@lnumwidth{4zw}% $B85(B1.5em [2003-03-02]
+ \setlength\@lnumwidth{\js@tocl@width}\advance\@lnumwidth 2zw
\advance\leftskip\@lnumwidth \hskip-\leftskip
#1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
\endgroup
\fi}
-\newcommand*{\l@subsection} {\@dottedtocline{2}{1zw}{3zw}}
-\newcommand*{\l@subsubsection}{\@dottedtocline{3}{2zw}{3zw}}
-\newcommand*{\l@paragraph} {\@dottedtocline{4}{3zw}{3zw}}
-\newcommand*{\l@subparagraph} {\@dottedtocline{5}{4zw}{3zw}}
+\newcommand*{\l@subsection}{%
+ \@tempdima\js@tocl@width \advance\@tempdima -1zw
+ \@dottedtocline{2}{\@tempdima}{3zw}}
+\newcommand*{\l@subsubsection}{%
+ \@tempdima\js@tocl@width \advance\@tempdima 0zw
+ \@dottedtocline{3}{\@tempdima}{4zw}}
+\newcommand*{\l@paragraph}{%
+ \@tempdima\js@tocl@width \advance\@tempdima 1zw
+ \@dottedtocline{4}{\@tempdima}{5zw}}
+\newcommand*{\l@subparagraph}{%
+ \@tempdima\js@tocl@width \advance\@tempdima 2zw
+ \@dottedtocline{5}{\@tempdima}{6zw}}
\newdimen\@lnumwidth
\def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}\hspace{0pt}}
\def\@dottedtocline#1#2#3#4#5{\ifnum #1>\c@tocdepth \else
@@ -1766,8 +1800,8 @@
\newcommand{\bibname}{\if@english Bibliography\else $B;29MJ88%(B\fi}
\newcommand{\indexname}{\if@english Index\else $B:w0z(B\fi}
\newcommand{\figurename}{\if@english Fig.~\else $B?^(B\fi}
-\newcommand{\tablename}{\if@english Table.~\else $BI=(B\fi}
-\newcommand{\appendixname}{\if@english Appendix~\else $BIUO?(B\fi}
+\newcommand{\tablename}{\if@english Table~\else $BI=(B\fi}
+\newcommand{\appendixname}{\if@english \else $BIUO?(B\fi}
\newcommand{\abstractname}{\if@english Abstract\else $B35MW(B\fi}
\newif\if$B@>Nq(B \$B@>Nq(Btrue
\def\$B@>Nq(B{\$B@>Nq(Btrue}