texlive[43331] Master/texmf-dist: jsclasses (23feb17)

commits+karl at tug.org commits+karl at tug.org
Fri Feb 24 23:17:33 CET 2017


Revision: 43331
          http://tug.org/svn/texlive?view=revision&revision=43331
Author:   karl
Date:     2017-02-24 23:17:33 +0100 (Fri, 24 Feb 2017)
Log Message:
-----------
jsclasses (23feb17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/platex/jsclasses/README.md
    trunk/Master/texmf-dist/doc/platex/jsclasses/jsclasses.pdf
    trunk/Master/texmf-dist/doc/platex/jsclasses/jslogo.pdf
    trunk/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx
    trunk/Master/texmf-dist/source/platex/jsclasses/jsclasses.ins
    trunk/Master/texmf-dist/source/platex/jsclasses/jslogo.dtx
    trunk/Master/texmf-dist/tex/platex/jsclasses/jsarticle.cls
    trunk/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls
    trunk/Master/texmf-dist/tex/platex/jsclasses/jslogo.sty
    trunk/Master/texmf-dist/tex/platex/jsclasses/jspf.cls
    trunk/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/platex/jsclasses/jsreport.cls

Modified: trunk/Master/texmf-dist/doc/platex/jsclasses/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/platex/jsclasses/README.md	2017-02-24 22:17:16 UTC (rev 43330)
+++ trunk/Master/texmf-dist/doc/platex/jsclasses/README.md	2017-02-24 22:17:33 UTC (rev 43331)
@@ -19,7 +19,7 @@
 
 ## Release Date
 
-2017-01-13
+2017-02-24
 
 Haruhiko Okumura,
 Japanese TeX Development Community

Modified: trunk/Master/texmf-dist/doc/platex/jsclasses/jsclasses.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/platex/jsclasses/jslogo.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx
===================================================================
--- trunk/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx	2017-02-24 22:17:16 UTC (rev 43330)
+++ trunk/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx	2017-02-24 22:17:33 UTC (rev 43331)
@@ -19,7 +19,7 @@
 %
 %  Copyright 1993 1994 1995 1996 1997 1998 1999
 %  The LaTeX3 Project and any individual authors listed elsewhere
-%  in this file. 
+%  in this file.
 %
 %  Copyright 1995-1999 ASCII Corporation.
 %  Copyright 1999-2016 Haruhiko Okumura
@@ -30,15 +30,16 @@
 % \iffalse
 %
 %    \begin{macrocode}
-%<article|book|jspf|kiyou>\NeedsTeXFormat{pLaTeX2e}
+\NeedsTeXFormat{pLaTeX2e}
 %<article>\ProvidesClass{jsarticle}
 %<book>\ProvidesClass{jsbook}
+%<report>\ProvidesClass{jsreport}
 %<jspf>\ProvidesClass{jspf}
 %<kiyou>\ProvidesClass{kiyou}
 %<*driver>
 \ProvidesFile{jsclasses.dtx}
 %</driver>
-  [2017/01/13 okumura, texjporg]
+  [2017/02/24 okumura, texjporg]
 %<*driver>
 \documentclass{jsarticle}
 \usepackage{doc}
@@ -80,10 +81,16 @@
 % [2009-02-22] $BEDCfBv<$;a$K$h$k(Bup\LaTeX $BBP1~%Q%C%A$r<h$j9~$_$^$7$?!#(B
 %
 % $B$3$3$G$O<!$N%I%-%e%a%s%H%/%i%9!J%9%?%$%k%U%!%$%k!K$r:n$j$^$9!#(B
+%
+% [2017-02-13] forum:2121$B$N5DO@$r5!$K!$(Bjsreport$B%/%i%9$r?7 at _$7$^$7$?!#(B
+% $B=>Mh$N(Bjsbook$B$N(B |report| $B%*%W%7%g%s$HHf$Y$k$H!$(B|abstract| $B4D6-$N;H$$J}(B
+% $B$*$h$S5sF0$,%"%9%-!<$N(Bjreport$B$K6a$E$-$^$7$?!#(B
+%
 % \begin{quote}
 %   \begin{tabular}{lll}
 %     $\langle$\textsf{article}$\rangle$ & \texttt{jsarticle.cls}  & $BO at J8!&%l%]!<%HMQ(B \\
 %     $\langle$\textsf{book}$\rangle$    & \texttt{jsbook.cls}     & $B=q at RMQ(B \\
+%     $\langle$\textsf{report}$\rangle$  & \texttt{jsreport.cls}   & $B%l%]!<%HMQ(B \\
 %     $\langle$\textsf{jspf}$\rangle$    & \texttt{jspf.cls}       & $BK?3X2q;oMQ(B \\
 %     $\langle$\textsf{kiyou}$\rangle$   & \texttt{kiyou.cls}      & $BK?5*MWMQ(B
 %   \end{tabular}
@@ -124,6 +131,7 @@
 %    \begin{macrocode}
 %<article>\def\jsc at clsname{jsarticle}
 %<book>\def\jsc at clsname{jsbook}
+%<report>\def\jsc at clsname{jsreport}
 %<jspf>\def\jsc at clsname{jspf}
 %<kiyou>\def\jsc at clsname{kiyou}
 %    \end{macrocode}
@@ -173,14 +181,23 @@
 %
 % \begin{macro}{\if at openright}
 %
-% |\chapter|$B!$(B|\part| $B$r4q?t%Z!<%85/$3$7$K$9$k$+$I$&$+$G$9!#(B
-% $B=q at R$G$O??$,I8=`$G$9!#(B
+% |\chapter|$B!$(B|\part| $B$r1&%Z!<%85/$3$7$K$9$k$+$I$&$+$G$9!#(B
+% $B2#AH$N=q at R$G$O??$,I8=`$G!$MW$9$k$KJR5/$3$7!$4q?t%Z!<%85/$3$7$K$J$j$^$9!#(B
 %
 %    \begin{macrocode}
-%<book>\newif\if at openright
+%<book|report>\newif\if at openright
 %    \end{macrocode}
 % \end{macro}
 %
+% \begin{macro}{\if at openleft}
+%
+% [2017-02-24] |\chapter|$B!$(B|\part| $B$r:8%Z!<%85/$3$7$K$9$k$+$I$&$+$G$9!#(B
+%
+%    \begin{macrocode}
+%<book|report>\newif\if at openleft
+%    \end{macrocode}
+% \end{macro}
+%
 % \begin{macro}{\if at mainmatter}
 %
 % $B??$J$iK\J8!$56$J$iA0IU$1!&8eIU$1$G$9!#(B
@@ -417,12 +434,20 @@
 %
 % \paragraph{$B1&:85/$3$7(B}
 %
-% $B=q at R$G$O>O$ODL>o$O4q?t%Z!<%85/$3$7$K$J$j$^$9$,!$(B
+% $B=q at R$G$O>O$ODL>o$O4q?t%Z!<%85/$3$7$K$J$j$^$9$,!$2#AH$G$O$3$l$r(B
+% \texttt{openright} $B$HI=$9$3$H$K$7$F$"$j$^$9!#(B
 % \texttt{openany} $B$G6v?t%Z!<%8$+$i$G$b;O$^$k$h$&$K$J$j$^$9!#(B
 %
+% [2017-02-24] \texttt{openright} $B$O2#AH$G$O4q?t%Z!<%85/$3$7!$=DAH$G$O(B
+% $B6v?t%Z!<%85/$3$7$rI=$7$^$9!#$d$d$3$7$$$G$9$,!$$3$l$O(B\LaTeX $B$NI8=`%/%i%9$,(B
+% $B@>2$$N2#AH;v>p$7$+9MN8$;$:$K!$4q?t%Z!<%85/$3$7$H1&5/$3$7$r0l=o$K$7$F$7$^$C(B
+% $B$?$;$$$G$9!#=DAH$G$N4q?t%Z!<%85/$3$7$H2#AH$G$N6v?t%Z!<%85/$3$7$bI=8=$7$?$$(B
+% $B$N$G!$(Bjsclasses$B$G$O?7$?$K(B \texttt{openleft} $B$bDI2C$7$^$7$?!#(B
+%
 %    \begin{macrocode}
-%<book>\DeclareOption{openright}{\@openrighttrue}
-%<book>\DeclareOption{openany}{\@openrightfalse}
+%<book|report>\DeclareOption{openright}{\@openrighttrue\@openleftfalse}
+%<book|report>\DeclareOption{openleft}{\@openlefttrue\@openrightfalse}
+%<book|report>\DeclareOption{openany}{\@openrightfalse\@openleftfalse}
 %    \end{macrocode}
 %
 % \paragraph{eqnarray$B4D6-$H?t<0$N0LCV(B}
@@ -582,10 +607,13 @@
 \DeclareOption{english}{\@englishtrue}
 %    \end{macrocode}
 %
-% \paragraph{jsreport$BAjEv(B}
+% \paragraph{jsbook$B$r(Bjsreport$B$b$I$-$K(B}
 %
 % $B%*%W%7%g%s(B \texttt{report} $B$r?7 at _$7$^$7$?!#(B
 %
+% [2017-02-13] $B=>Mh$O!V(Bjsreport$BAjEv!W$r(Bjsbook$B$N(B \texttt{report} $B%*%W%7%g%s$GDs6!$7$F(B
+% $B$$$^$7$?$,!$?7$7$/(Bjsreport$B%/%i%9$b:n$j$^$7$?!#$I$A$i$G$b$*9%$-$JJ}$r;H$C$F$/$@$5$$!#(B
+%
 %    \begin{macrocode}
 %<*book>
 \newif\if at report
@@ -615,6 +643,7 @@
 %    \begin{macrocode}
 %<article>\ExecuteOptions{a4paper,oneside,onecolumn,notitlepage,final}
 %<book>\ExecuteOptions{a4paper,twoside,onecolumn,titlepage,openright,final}
+%<report>\ExecuteOptions{a4paper,oneside,onecolumn,titlepage,openany,final}
 %<jspf>\ExecuteOptions{a4paper,twoside,twocolumn,notitlepage,fleqn,final}
 %<kiyou>\ExecuteOptions{a4paper,twoside,twocolumn,notitlepage,final}
 \ProcessOptions
@@ -727,7 +756,7 @@
 % $B4p=`$H$J$k9TAw$j$r%]%$%s%HC10L$GI=$7$?$b$N$G$9!#(B
 %
 %    \begin{macrocode}
-%<article|book>\if at slide\def\n at baseline{13}\else\def\n at baseline{16}\fi
+%<article|book|report>\if at slide\def\n at baseline{13}\else\def\n at baseline{16}\fi
 %<jspf>\def\n at baseline{14.554375}
 %<kiyou>\def\n at baseline{14.897}
 %    \end{macrocode}
@@ -1953,6 +1982,12 @@
   \setlength\footskip{0pt}
 \fi
 %</book>
+%<*report>
+\setlength\footskip{0.03367\paperheight}
+\ifdim\footskip<\baselineskip
+  \setlength\footskip{\baselineskip}
+\fi
+%</report>
 %    \end{macrocode}
 % \end{macro}
 %
@@ -1988,6 +2023,10 @@
   \addtolength\headsep{10\jsc at mpt}%% added (2016-10-08)
 \fi
 %</book>
+%<*report>
+\setlength\headsep{\footskip}
+\addtolength\headsep{-\topskip}
+%</report>
 %<*jspf>
 \setlength\headsep{9\jsc at mmm}
 \addtolength\headsep{-\topskip}
@@ -2069,6 +2108,12 @@
   \fi
 \fi
 %</book>
+%<*report>
+\setlength\fullwidth{0.76\paperwidth}
+\if at twocolumn \@tempdima=2zw \else \@tempdima=1zw \fi
+\divide\fullwidth\@tempdima \multiply\fullwidth\@tempdima
+\setlength\textwidth{\fullwidth}
+%</report>
 %<*jspf>
 \setlength\fullwidth{50zw}
 \addtolength\fullwidth{8\jsc at mmm}
@@ -2111,7 +2156,7 @@
 % $B$J$N$G!$$5$i$K=$@5$7$^$7$?!J(B2016-08-17$B$G$N=$@5O3$l!K!#(B
 %
 %    \begin{macrocode}
-%<*article|book>
+%<*article|book|report>
 \if at slide
   \setlength{\textheight}{0.95\paperheight}
 \else
@@ -2123,7 +2168,7 @@
 \addtolength{\textheight}{-\topskip}
 \divide\textheight\baselineskip
 \multiply\textheight\baselineskip
-%</article|book>
+%</article|book|report>
 %<jspf>\setlength{\textheight}{51\baselineskip}
 %<kiyou>\setlength{\textheight}{47\baselineskip}
 \addtolength{\textheight}{\topskip}
@@ -2444,6 +2489,78 @@
 % \end{macro}
 % \end{macro}
 %
+% \section{$B2~%Z!<%8!JF|K\8l(B\TeX{}$B3+H/%3%_%e%K%F%#HG$N$_!K(B}\label{sec:cleardoublepage}
+%
+% \begin{macro}{\pltx at cleartorightpage}
+% \begin{macro}{\pltx at cleartoleftpage}
+% \begin{macro}{\pltx at cleartooddpage}
+% \begin{macro}{\pltx at cleartoevenpage}
+% [2017-02-24] $B%3%_%e%K%F%#HG(B\pLaTeX $B$NI8=`%/%i%9(B2017/02/15$B$K9g$o$;$F!$(B
+% $BF1$8L?Na$rDI2C$7$^$7$?!#(B
+% \begin{enumerate}
+%   \item|\pltx at cleartorightpage|$B!'1&%Z!<%8$K$J$k$^$G%Z!<%8$r7+$kL?Na(B
+%   \item|\pltx at cleartoleftpage|$B!':8%Z!<%8$K$J$k$^$G%Z!<%8$r7+$kL?Na(B
+%   \item|\pltx at cleartooddpage|$B!'4q?t%Z!<%8$K$J$k$^$G%Z!<%8$r7+$kL?Na(B
+%   \item|\pltx at cleartoevenpage|$B!'6v?t%Z!<%8$K$J$k$^$G%Z!<%8$r7+$kL?Na(B
+% \end{enumerate}
+% $B$H$J$C$F$$$^$9!#(B
+%    \begin{macrocode}
+%<*article|book|report>
+\def\pltx at cleartorightpage{\clearpage\if at twoside
+  \ifodd\c at page
+    \iftdir
+      \hbox{}\thispagestyle{empty}\newpage
+      \if at twocolumn\hbox{}\newpage\fi
+    \fi
+  \else
+    \ifydir
+      \hbox{}\thispagestyle{empty}\newpage
+      \if at twocolumn\hbox{}\newpage\fi
+    \fi
+  \fi\fi}
+\def\pltx at cleartoleftpage{\clearpage\if at twoside
+  \ifodd\c at page
+    \ifydir
+      \hbox{}\thispagestyle{empty}\newpage
+      \if at twocolumn\hbox{}\newpage\fi
+    \fi
+  \else
+    \iftdir
+      \hbox{}\thispagestyle{empty}\newpage
+      \if at twocolumn\hbox{}\newpage\fi
+    \fi
+  \fi\fi}
+\def\pltx at cleartooddpage{\clearpage\if at twoside
+  \ifodd\c at page\else
+    \hbox{}\thispagestyle{empty}\newpage
+    \if at twocolumn\hbox{}\newpage\fi
+  \fi\fi}
+\def\pltx at cleartoevenpage{\clearpage\if at twoside
+  \ifodd\c at page
+    \hbox{}\thispagestyle{empty}\newpage
+    \if at twocolumn\hbox{}\newpage\fi
+  \fi\fi}
+%</article|book|report>
+%    \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\cleardoublepage}
+% [2017-02-24] $B%3%_%e%K%F%#HG(B\pLaTeX $B$NI8=`%/%i%9(B2017/02/15$B$K9g$o$;$F!$(B
+% report$B$H(Bbook$B%/%i%9$N>l9g$K(B|\cleardoublepage|$B$r:FDj5A$7$^$9!#(B
+%    \begin{macrocode}
+%<*book|report>
+\if at openleft
+  \let\cleardoublepage\pltx at cleartoleftpage
+\else\if at openright
+  \let\cleardoublepage\pltx at cleartorightpage
+\fi\fi
+%</book|report>
+%    \end{macrocode}
+% \end{macro}
+%
 % \section{$B%Z!<%8%9%?%$%k(B}\label{sec:pagestyle}
 %
 % $B%Z!<%8%9%?%$%k$H$7$F!$(B\LaTeXe $B!J2$J8HG!K$NI8=`%/%i%9(B
@@ -2586,12 +2703,12 @@
 %</article|kiyou>
 %    \end{macrocode}
 %
-% $B<!$O(B book $B$N>l9g$G$9!#(B
+% $B<!$O(B book $B$*$h$S(B report $B$N>l9g$G$9!#(B
 % [2011-05-10] $B$7$C$]0&9%2H$5$s(B [qa:6370] $B$N%Q%C%A$r<h$j9~$^$;$F$$$?$@$-$^$7$?(B
 % $B!JKL8+$5$s(B [qa:55896] $B$N$4;XE&$"$j$,$H$&$4$6$$$^$9!K!#(B
 %
 %    \begin{macrocode}
-%<*book>
+%<*book|report>
 \newif\if at omit@number
 \def\ps at headings{%
   \let\@oddfoot\@empty
@@ -2606,17 +2723,17 @@
   \let\@mkboth\markboth
   \def\chaptermark##1{\markboth{%
     \ifnum \c at secnumdepth >\m at ne
-      \if at mainmatter
+%<book>      \if at mainmatter
         \if at omit@number\else
           \@chapapp\thechapter\@chappos\hskip1zw
         \fi
-      \fi
+%<book>      \fi
     \fi
     ##1}{}}%
   \def\sectionmark##1{\markright{%
     \ifnum \c at secnumdepth >\z@ \thesection \hskip1zw\fi
     ##1}}}%
-%</book>
+%</book|report>
 %    \end{macrocode}
 %
 % $B:G8e$O3X2q;o$N>l9g$G$9!#(B
@@ -2650,9 +2767,9 @@
   \def\@oddhead{%
     \hbox to \fullwidth{\rightmark\hfil\thepage}\hss}%
   \let\@mkboth\@gobbletwo
-%<book>  \let\chaptermark\@gobble
+%<book|report>  \let\chaptermark\@gobble
   \let\sectionmark\@gobble
-%<!book>  \let\subsectionmark\@gobble
+%<!book&!report>  \let\subsectionmark\@gobble
 }
 %    \end{macrocode}
 % \end{macro}
@@ -2734,7 +2851,7 @@
 % \texttt{nomag(*)} $B$N>l9g$K%9%1!<%k$7$J$/$J$j!$%l%$%"%&%H$,JQ$o$C$F$7$^$$$^$9!#(B
 %
 %    \begin{macrocode}
-%<*article|book|kiyou>
+%<*article|book|report|kiyou>
 \if at titlepage
   \newcommand{\maketitle}{%
     \begin{titlepage}%
@@ -2842,10 +2959,10 @@
       {\large \@date}%
     \end{center}%
     \par\vskip 1.5em
-%<article|kiyou>    \ifvoid\@abstractbox\else\centerline{\box\@abstractbox}\vskip1.5em\fi
+%<article|report|kiyou>    \ifvoid\@abstractbox\else\centerline{\box\@abstractbox}\vskip1.5em\fi
   }
 \fi
-%</article|book|kiyou>
+%</article|book|report|kiyou>
 %<*jspf>
 \newcommand{\maketitle}{\par
   \begingroup
@@ -3117,8 +3234,8 @@
 % $BHV9f$rIU$1$k$+$r7h$a$k%+%&%s%?$G$9!#(B
 %
 %    \begin{macrocode}
-%<!book>\setcounter{secnumdepth}{3}
-%<book>\setcounter{secnumdepth}{2}
+%<!book&!report>\setcounter{secnumdepth}{3}
+%<book|report>\setcounter{secnumdepth}{2}
 %    \end{macrocode}
 % \end{macro}
 %
@@ -3136,9 +3253,9 @@
 %
 %    \begin{macrocode}
 \newcounter{part}
-%<book>\newcounter{chapter}
-%<book>\newcounter{section}[chapter]
-%<!book>\newcounter{section}
+%<book|report>\newcounter{chapter}
+%<book|report>\newcounter{section}[chapter]
+%<!book&!report>\newcounter{section}
 \newcounter{subsection}[section]
 \newcounter{subsubsection}[subsection]
 \newcounter{paragraph}[subsubsection]
@@ -3176,14 +3293,14 @@
 %
 %    \begin{macrocode}
 \renewcommand{\thepart}{\@Roman\c at part}
-%<!book>% \renewcommand{\thesection}{\@arabic\c at section}
-%<!book>\renewcommand{\thesection}{\presectionname\@arabic\c at section\postsectionname}
-%<!book>\renewcommand{\thesubsection}{\@arabic\c at section.\@arabic\c at subsection}
-%<*book>
+%<!book&!report>% \renewcommand{\thesection}{\@arabic\c at section}
+%<!book&!report>\renewcommand{\thesection}{\presectionname\@arabic\c at section\postsectionname}
+%<!book&!report>\renewcommand{\thesubsection}{\@arabic\c at section.\@arabic\c at subsection}
+%<*book|report>
 \renewcommand{\thechapter}{\@arabic\c at chapter}
 \renewcommand{\thesection}{\thechapter.\@arabic\c at section}
 \renewcommand{\thesubsection}{\thesection.\@arabic\c at subsection}
-%</book>
+%</book|report>
 \renewcommand{\thesubsubsection}{%
    \thesubsection.\@arabic\c at subsubsection}
 \renewcommand{\theparagraph}{%
@@ -3212,8 +3329,8 @@
 % [2003-03-02] |\@secapp| $B$O30$7$^$7$?!#(B
 %
 %    \begin{macrocode}
-%<book>\newcommand{\@chapapp}{\prechaptername}
-%<book>\newcommand{\@chappos}{\postchaptername}
+%<book|report>\newcommand{\@chapapp}{\prechaptername}
+%<book|report>\newcommand{\@chappos}{\postchaptername}
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
@@ -3230,11 +3347,13 @@
 %    \begin{macrocode}
 %<*book>
 \newcommand\frontmatter{%
-  \if at openright
+  \if at openleft
     \cleardoublepage
+  \else\if at openright
+    \cleardoublepage
   \else
     \clearpage
-  \fi
+  \fi\fi
   \@mainmatterfalse
   \pagenumbering{roman}}
 %    \end{macrocode}
@@ -3246,11 +3365,13 @@
 %
 %    \begin{macrocode}
 \newcommand\mainmatter{%
-% \if at openright
+% \if at openleft
+%   \cleardoublepage
+% \else\if at openright
     \cleardoublepage
 % \else
 %   \clearpage
-% \fi
+% \fi\fi
   \@mainmattertrue
   \pagenumbering{arabic}}
 %    \end{macrocode}
@@ -3262,11 +3383,13 @@
 %
 %    \begin{macrocode}
 \newcommand\backmatter{%
-  \if at openright
+  \if at openleft
     \cleardoublepage
+  \else\if at openright
+    \cleardoublepage
   \else
     \clearpage
-  \fi
+  \fi\fi
   \@mainmatterfalse}
 %</book>
 %    \end{macrocode}
@@ -3298,10 +3421,10 @@
 %   \def\CMDB    #1{....}     % \chapter*{...} $B$NDj5A(B
 %\end{verbatim}
 %
-% $B$^$:(B |book| $B%/%i%90J30$G$9!#(B
+% $B$^$:(B |book| $B$H(B |report| $B$N%/%i%90J30$G$9!#(B
 %
 %    \begin{macrocode}
-%<*!book>
+%<*!book&!report>
 \newcommand\part{%
   \if at noskipsec \leavevmode \fi
   \par
@@ -3308,19 +3431,21 @@
   \addvspace{4ex}%
   \if at english \@afterindentfalse \else \@afterindenttrue \fi
   \secdef\@part\@spart}
-%</!book>
+%</!book&!report>
 %    \end{macrocode}
 %
-% |book| $B%9%?%$%k$N>l9g$O!$>/$7J#;($G$9!#(B
+% |book| $B$*$h$S(B |report| $B%/%i%9$N>l9g$O!$>/$7J#;($G$9!#(B
 %
 %    \begin{macrocode}
-%<*book>
+%<*book|report>
 \newcommand\part{%
-  \if at openright
+  \if at openleft
     \cleardoublepage
+  \else\if at openright
+    \cleardoublepage
   \else
     \clearpage
-  \fi
+  \fi\fi
   \thispagestyle{empty}% $B2$J8MQI8=`%9%?%$%k$G$O(B plain
   \if at twocolumn
     \onecolumn
@@ -3330,7 +3455,7 @@
   \fi
   \null\vfil
   \secdef\@part\@spart}
-%</book>
+%</book|report>
 %    \end{macrocode}
 % \end{macro}
 %
@@ -3339,11 +3464,11 @@
 % $BIt$N8+=P$7$r=PNO$7$^$9!#(B
 % |\bfseries| $B$r(B |\headfont| $B$KJQ$($^$7$?!#(B
 %
-% |book| $B%/%i%90J30$G$O(B |secnumdepth| $B$,(B $-1$ $B$h$jBg$-$$$H$-(B
+% |book| $B$*$h$S(B |report| $B%/%i%90J30$G$O(B |secnumdepth| $B$,(B $-1$ $B$h$jBg$-$$$H$-(B
 % $BItHV9f$rIU$1$^$9!#(B
 %
 %    \begin{macrocode}
-%<*!book>
+%<*!book&!report>
 \def\@part[#1]#2{%
   \ifnum \c at secnumdepth >\m at ne
     \refstepcounter{part}%
@@ -3366,13 +3491,13 @@
   \nobreak
   \vskip 3ex
   \@afterheading}
-%</!book>
+%</!book&!report>
 %    \end{macrocode}
 %
-% |book| $B%/%i%9$G$O(B |secnumdepth| $B$,(B $-2$ $B$h$jBg$-$$$H$-ItHV9f$rIU$1$^$9!#(B
+% |book| $B$*$h$S(B |report| $B%/%i%9$G$O(B |secnumdepth| $B$,(B $-2$ $B$h$jBg$-$$$H$-ItHV9f$rIU$1$^$9!#(B
 %
 %    \begin{macrocode}
-%<*book>
+%<*book|report>
 \def\@part[#1]#2{%
   \ifnum \c at secnumdepth >-2\relax
     \refstepcounter{part}%
@@ -3391,7 +3516,7 @@
     \fi
     \Huge \headfont #2\par}%
   \@endpart}
-%</book>
+%</book|report>
 %    \end{macrocode}
 % \end{macro}
 %
@@ -3400,7 +3525,7 @@
 % $BHV9f$rIU$1$J$$It$G$9!#(B
 %
 %    \begin{macrocode}
-%<*!book>
+%<*!book&!report>
 \def\@spart#1{{%
     \parindent \z@ \raggedright
     \interlinepenalty \@M
@@ -3409,8 +3534,8 @@
   \nobreak
   \vskip 3ex
   \@afterheading}
-%</!book>
-%<*book>
+%</!book&!report>
+%<*book|report>
 \def\@spart#1{{%
     \centering
     \interlinepenalty \@M
@@ -3417,7 +3542,7 @@
     \normalfont
     \Huge \headfont #1\par}%
   \@endpart}
-%</book>
+%</book|report>
 %    \end{macrocode}
 % \end{macro}
 %
@@ -3433,19 +3558,19 @@
 % $B$G=$@5$5$l$F$$$^$9!#(B
 %
 %    \begin{macrocode}
-%<*book>
+%<*book|report>
 \def\@endpart{\vfil\newpage
   \if at twoside
-   \if at openright %% added (2016/12/13)
-    \null
-    \thispagestyle{empty}%
-    \newpage
-   \fi %% added (2016/12/13)
+   \if at openleft %% added (2017/02/24)
+    \null\thispagestyle{empty}\newpage
+   \else\if at openright %% added (2016/12/13)
+    \null\thispagestyle{empty}\newpage
+   \fi\fi %% added (2016/12/13, 2017/02/24)
   \fi
   \if at restonecol
     \twocolumn
   \fi}
-%</book>
+%</book|report>
 %    \end{macrocode}
 % \end{macro}
 %
@@ -3459,9 +3584,10 @@
 %    $B>O8+=P$7$N>e$K?^$dI=$,Mh$J$$$h$&$K$7$^$9!#(B
 %
 %    \begin{macrocode}
-%<*book>
+%<*book|report>
 \newcommand{\chapter}{%
-  \if at openright\cleardoublepage\else\clearpage\fi
+  \if at openleft\cleardoublepage\else
+  \if at openright\cleardoublepage\else\clearpage\fi\fi
   \plainifnotempty % $B85(B: \thispagestyle{plain}
   \global\@topnum\z@
   \if at english \@afterindentfalse \else \@afterindenttrue \fi
@@ -3479,7 +3605,7 @@
 %    \begin{macrocode}
 \def\@chapter[#1]#2{%
   \ifnum \c at secnumdepth >\m at ne
-    \if at mainmatter
+%<book>    \if at mainmatter
       \refstepcounter{chapter}%
       \typeout{\@chapapp\thechapter\@chappos}%
       \addcontentsline{toc}{chapter}%
@@ -3487,7 +3613,7 @@
         % {\if at english\thechapter\else\@chapapp\thechapter\@chappos\fi}%
         {\@chapapp\thechapter\@chappos}%
         #1}%
-    \else\addcontentsline{toc}{chapter}{#1}\fi
+%<book>    \else\addcontentsline{toc}{chapter}{#1}\fi
   \else
     \addcontentsline{toc}{chapter}{#1}%
   \fi
@@ -3513,11 +3639,11 @@
   \vspace*{2\Cvs}% $B2$J8$O(B50pt
   {\parindent \z@ \raggedright \normalfont
     \ifnum \c at secnumdepth >\m at ne
-      \if at mainmatter
+%<book>      \if at mainmatter
         \huge\headfont \@chapapp\thechapter\@chappos
         \par\nobreak
         \vskip \Cvs % $B2$J8$O(B20pt
-      \fi
+%<book>      \fi
     \fi
     \interlinepenalty\@M
     \Huge \headfont #1\par\nobreak
@@ -3553,7 +3679,7 @@
     \interlinepenalty\@M
     \Huge \headfont #1\par\nobreak
     \vskip 3\Cvs}} % $B2$J8$O(B40pt
-%</book>
+%</book|report>
 %    \end{macrocode}
 % \end{macro}
 %
@@ -3982,7 +4108,7 @@
     \rightmargin=0pt
     \leftmargin=5zw}\item[]}{\end{list}\vspace{\baselineskip}}
 %</book>
-%<*article|kiyou>
+%<*article|report|kiyou>
 \newbox\@abstractbox
 \if at titlepage
   \newenvironment{abstract}{%
@@ -4031,7 +4157,7 @@
       \endlist
     \fi}
 \fi
-%</article|kiyou>
+%</article|report|kiyou>
 %<*jspf>
 \newbox\@abstractbox
 \newenvironment{abstract}{%
@@ -4139,9 +4265,17 @@
 %
 % $B%?%$%H%k$rFHN)$N%Z!<%8$K=PNO$9$k$N$K;H$o$l$^$9!#(B
 %
+% [2017-02-24] $B%3%_%e%K%F%#HG(B\pLaTeX $B$NI8=`%/%i%9(B2017/02/15$B$K9g$o$;$F!$(B
+% book$B%/%i%9$G%?%$%H%k$rI,$:4q?t%Z!<%8$KAw$k$h$&$K$7$^$7$?!#$H$$$C$F$b!$(B
+% $B2#AH%/%i%9$7$+$"$j$^$;$s$G$7$?$N$G!$=>Mh$N5sF0$O2?$bJQ$o$C$F$$$^$;$s!#(B
+% $B$^$?!$(Bbook$B0J30$N>l9g$N%Z!<%8HV9f$N%j%;%C%H$b%3%_%e%K%F%#HG(B\pLaTeX $B$N(B
+% $BI8=`%/%i%9(B2017/02/15$B$K9g$o$;$^$7$?$,!$$3$A$i$bJRLL0u:~$"$k$$$O(B
+% $BFHN)$N%?%$%H%k%Z!<%8$r:n$i$J$$%/%i%9$P$+$j$G$7$?$N$G!$=>Mh$N5sF0$O(B
+% $B2?$bJQ$o$i$:$K:Q$_$^$7$?!#(B
+%
 %    \begin{macrocode}
 \newenvironment{titlepage}{%
-%<book>    \cleardoublepage
+%<book>    \pltx at cleartooddpage %% 2017-02-24
     \if at twocolumn
       \@restonecoltrue\onecolumn
     \else
@@ -4148,7 +4282,7 @@
       \@restonecolfalse\newpage
     \fi
     \thispagestyle{empty}%
-    \setcounter{page}\@ne
+    \ifodd\c at page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017-02-24
   }%
   {\if at restonecol\twocolumn \else \newpage \fi
     \if at twoside\else
@@ -4164,7 +4298,7 @@
 % $BK\J8$HIUO?$rJ,N%$9$k%3%^%s%I$G$9!#(B
 %
 %    \begin{macrocode}
-%<*!book>
+%<*!book&!report>
 \newcommand{\appendix}{\par
   \setcounter{section}{0}%
   \setcounter{subsection}{0}%
@@ -4173,8 +4307,8 @@
 % \gdef\thesection{\@Alph\c at section}% [2003-03-02]
   \gdef\thesection{\presectionname\@Alph\c at section\postsectionname}%
   \gdef\thesubsection{\@Alph\c at section.\@arabic\c at subsection}}
-%</!book>
-%<*book>
+%</!book&!report>
+%<*book|report>
 \newcommand{\appendix}{\par
   \setcounter{chapter}{0}%
   \setcounter{section}{0}%
@@ -4181,7 +4315,7 @@
   \gdef\@chapapp{\appendixname}%
   \gdef\@chappos{}%
   \gdef\thechapter{\@Alph\c at chapter}}
-%</book>
+%</book|report>
 %    \end{macrocode}
 % \end{macro}
 %
@@ -4273,12 +4407,12 @@
 % $B?t<0HV9f$r=PNO$9$k%3%^%s%I$G$9!#(B
 %
 %    \begin{macrocode}
-%<!book>\renewcommand \theequation {\@arabic\c at equation}
-%<*book>
+%<!book&!report>\renewcommand \theequation {\@arabic\c at equation}
+%<*book|report>
 \@addtoreset{equation}{chapter}
 \renewcommand\theequation
   {\ifnum \c at chapter>\z@ \thechapter.\fi \@arabic\c at equation}
-%</book>
+%</book|report>
 %    \end{macrocode}
 % \end{macro}
 %
@@ -4342,15 +4476,15 @@
 % $B?^HV9f$r=PNO$9$k%3%^%s%I$G$9!#(B
 %
 %    \begin{macrocode}
-%<*!book>
+%<*!book&!report>
 \newcounter{figure}
 \renewcommand \thefigure {\@arabic\c at figure}
-%</!book>
-%<*book>
+%</!book&!report>
+%<*book|report>
 \newcounter{figure}[chapter]
 \renewcommand \thefigure
      {\ifnum \c at chapter>\z@ \thechapter.\fi \@arabic\c at figure}
-%</book>
+%</book|report>
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
@@ -4401,15 +4535,15 @@
 % $B$3$3$G$O%*%j%8%J%k$N$^$^$K$7$F$$$^$9!#(B
 %
 %    \begin{macrocode}
-%<*!book>
+%<*!book&!report>
 \newcounter{table}
 \renewcommand\thetable{\@arabic\c at table}
-%</!book>
-%<*book>
+%</!book&!report>
+%<*book|report>
 \newcounter{table}[chapter]
 \renewcommand \thetable
      {\ifnum \c at chapter>\z@ \thechapter.\fi \@arabic\c at table}
-%</book>
+%</book|report>
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
@@ -4660,8 +4794,8 @@
 \newcommand\@pnumwidth{1.55em}
 \newcommand\@tocrmarg{2.55em}
 \newcommand\@dotsep{4.5}
-%<!book>\setcounter{tocdepth}{2}
-%<book>\setcounter{tocdepth}{1}
+%<!book&!report>\setcounter{tocdepth}{2}
+%<book|report>\setcounter{tocdepth}{1}
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
@@ -4681,7 +4815,7 @@
 %    \begin{macrocode}
 \newdimen\jsc at tocl@width
 \newcommand{\tableofcontents}{%
-%<*book>
+%<*book|report>
   \settowidth\jsc at tocl@width{\headfont\prechaptername\postchaptername}%
   \settowidth\@tempdima{\headfont\appendixname}%
   \ifdim\jsc at tocl@width<\@tempdima \setlength\jsc at tocl@width{\@tempdima}\fi
@@ -4693,8 +4827,8 @@
   \fi
   \chapter*{\contentsname}%
   \@mkboth{\contentsname}{}%
-%</book>
-%<*!book>
+%</book|report>
+%<*!book&!report>
   \settowidth\jsc at tocl@width{\headfont\presectionname\postsectionname}%
   \settowidth\@tempdima{\headfont\appendixname}%
   \ifdim\jsc at tocl@width<\@tempdima\relax\setlength\jsc at tocl@width{\@tempdima}\fi
@@ -4701,9 +4835,9 @@
   \ifdim\jsc at tocl@width<2zw \divide\jsc at tocl@width by 2 \advance\jsc at tocl@width 1zw\fi
   \section*{\contentsname}%
   \@mkboth{\contentsname}{\contentsname}%
-%</!book>
+%</!book&!report>
   \@starttoc{toc}%
-%<book>  \if at restonecol\twocolumn\fi
+%<book|report>  \if at restonecol\twocolumn\fi
 }
 %    \end{macrocode}
 % \end{macro}\end{macro}
@@ -4715,8 +4849,8 @@
 %    \begin{macrocode}
 \newcommand*{\l at part}[2]{%
   \ifnum \c at tocdepth >-2\relax
-%<!book>    \addpenalty\@secpenalty
-%<book>    \addpenalty{-\@highpenalty}%
+%<!book&!report>    \addpenalty\@secpenalty
+%<book|report>    \addpenalty{-\@highpenalty}%
     \addvspace{2.25em \@plus\jsc at mpt}%
     \begingroup
       \parindent \z@
@@ -4729,8 +4863,8 @@
         \setlength\@lnumwidth{4zw}%
         #1\hfil \hb at xt@\@pnumwidth{\hss #2}}\par
       \nobreak
-%<book>    \global\@nobreaktrue
-%<book>    \everypar{\global\@nobreakfalse\everypar{}}%
+%<book|report>    \global\@nobreaktrue
+%<book|report>    \everypar{\global\@nobreakfalse\everypar{}}%
     \endgroup
   \fi}
 %    \end{macrocode}
@@ -4744,7 +4878,7 @@
 % $B7h$a$k$h$&$K$7$F$_$^$7$?!#(B(by ts)
 %
 %    \begin{macrocode}
-%<*book>
+%<*book|report>
 \newcommand*{\l at chapter}[2]{%
   \ifnum \c at tocdepth >\m at ne
     \addpenalty{-\@highpenalty}%
@@ -4763,7 +4897,7 @@
       \penalty\@highpenalty
     \endgroup
   \fi}
-%</book>
+%</book|report>
 %    \end{macrocode}
 % \end{macro}
 %
@@ -4772,7 +4906,7 @@
 % $B at a$NL\<!$G$9!#(B
 %
 %    \begin{macrocode}
-%<*!book>
+%<*!book&!report>
 \newcommand*{\l at section}[2]{%
   \ifnum \c at tocdepth >\z@
     \addpenalty{\@secpenalty}%
@@ -4789,13 +4923,13 @@
       #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
     \endgroup
   \fi}
-%</!book>
+%</!book&!report>
 %    \end{macrocode}
 %
 % $B%$%s%G%s%H$HI}$O$=$l$>$l(B1.5em$B!$(B2.3em$B$G$7$?$,!$(B
 % 1zw$B!$(B3.683zw$B$KJQ$($^$7$?!#(B
 %    \begin{macrocode}
-%<book> % \newcommand*{\l at section}{\@dottedtocline{1}{1zw}{3.683zw}}
+%<book|report> % \newcommand*{\l at section}{\@dottedtocline{1}{1zw}{3.683zw}}
 %    \end{macrocode}
 %
 % [2013-12-30] $B>e$N%$%s%G%s%H$O(B |\jsc at tocl@width| $B$+$i7h$a$k$h$&$K(B
@@ -4815,7 +4949,7 @@
 % $B$7$F$_$^$7$?!#(B(by ts)
 %
 %    \begin{macrocode}
-%<*!book>
+%<*!book&!report>
 % \newcommand*{\l at subsection}   {\@dottedtocline{2}{1.5em}{2.3em}}
 % \newcommand*{\l at subsubsection}{\@dottedtocline{3}{3.8em}{3.2em}}
 % \newcommand*{\l at paragraph}    {\@dottedtocline{4}{7.0em}{4.1em}}
@@ -4838,8 +4972,8 @@
 \newcommand*{\l at subparagraph}{%
           \@tempdima\jsc at tocl@width \advance\@tempdima 2zw
           \@dottedtocline{5}{\@tempdima}{6zw}}
-%</!book>
-%<*book>
+%</!book&!report>
+%<*book|report>
 % \newcommand*{\l at subsection}   {\@dottedtocline{2}{3.8em}{3.2em}}
 % \newcommand*{\l at subsubsection}{\@dottedtocline{3}{7.0em}{4.1em}}
 % \newcommand*{\l at paragraph}    {\@dottedtocline{4}{10em}{5em}}
@@ -4859,7 +4993,7 @@
 \newcommand*{\l at subparagraph}{%
           \@tempdima\jsc at tocl@width \advance\@tempdima 16.183zw
           \@dottedtocline{5}{\@tempdima}{6.5zw}}
-%</book>
+%</book|report>
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
@@ -4912,18 +5046,18 @@
 %
 %    \begin{macrocode}
 \newcommand{\listoffigures}{%
-%<*book>
+%<*book|report>
   \if at twocolumn\@restonecoltrue\onecolumn
   \else\@restonecolfalse\fi
   \chapter*{\listfigurename}%
   \@mkboth{\listfigurename}{}%
-%</book>
-%<*!book>
+%</book|report>
+%<*!book&!report>
   \section*{\listfigurename}%
   \@mkboth{\listfigurename}{\listfigurename}%
-%</!book>
+%</!book&!report>
   \@starttoc{lof}%
-%<book>  \if at restonecol\twocolumn\fi
+%<book|report>  \if at restonecol\twocolumn\fi
 }
 %    \end{macrocode}
 % \end{macro}
@@ -4943,18 +5077,18 @@
 %
 %    \begin{macrocode}
 \newcommand{\listoftables}{%
-%<*book>
+%<*book|report>
   \if at twocolumn\@restonecoltrue\onecolumn
   \else\@restonecolfalse\fi
   \chapter*{\listtablename}%
   \@mkboth{\listtablename}{}%
-%</book>
-%<*!book>
+%</book|report>
+%<*!book&!report>
   \section*{\listtablename}%
   \@mkboth{\listtablename}{\listtablename}%
-%</!book>
+%</!book&!report>
   \@starttoc{lot}%
-%<book>  \if at restonecol\twocolumn\fi
+%<book|report>  \if at restonecol\twocolumn\fi
 }
 %    \end{macrocode}
 % \end{macro}
@@ -4995,8 +5129,8 @@
   \subsubsection*{\refname}\@mkboth{\refname}{\refname}%
   \vspace{0.5\baselineskip}
 %</kiyou>
-%<book>  \chapter*{\bibname}\@mkboth{\bibname}{}%
-%<book>  \addcontentsline{toc}{chapter}{\bibname}%
+%<book|report>  \chapter*{\bibname}\@mkboth{\bibname}{}%
+%<book|report>  \addcontentsline{toc}{chapter}{\bibname}%
    \list{\@biblabel{\@arabic\c at enumiv}}%
         {\settowidth\labelwidth{\@biblabel{#1}}%
          \leftmargin\labelwidth
@@ -5104,28 +5238,28 @@
     \fi
     \columnseprule.4pt \columnsep 2zw
     \ifx\multicols\@undefined
-%<book>      \twocolumn[\@makeschapterhead{\indexname}%
-%<book>      \addcontentsline{toc}{chapter}{\indexname}]%
-%<!book>      \def\presectionname{}\def\postsectionname{}%
-%<!book>      \twocolumn[\section*{\indexname}]%
+%<book|report>      \twocolumn[\@makeschapterhead{\indexname}%
+%<book|report>      \addcontentsline{toc}{chapter}{\indexname}]%
+%<!book&!report>      \def\presectionname{}\def\postsectionname{}%
+%<!book&!report>      \twocolumn[\section*{\indexname}]%
     \else
       \ifdim\textwidth<\fullwidth
         \setlength{\evensidemargin}{\oddsidemargin}
         \setlength{\textwidth}{\fullwidth}
         \setlength{\linewidth}{\fullwidth}
-%<book>        \begin{multicols}{3}[\chapter*{\indexname}%
-%<book>        \addcontentsline{toc}{chapter}{\indexname}]%
-%<!book>        \def\presectionname{}\def\postsectionname{}%
-%<!book>        \begin{multicols}{3}[\section*{\indexname}]%
+%<book|report>        \begin{multicols}{3}[\chapter*{\indexname}%
+%<book|report>        \addcontentsline{toc}{chapter}{\indexname}]%
+%<!book&!report>        \def\presectionname{}\def\postsectionname{}%
+%<!book&!report>        \begin{multicols}{3}[\section*{\indexname}]%
       \else
-%<book>        \begin{multicols}{2}[\chapter*{\indexname}%
-%<book>        \addcontentsline{toc}{chapter}{\indexname}]%
-%<!book>        \def\presectionname{}\def\postsectionname{}%
-%<!book>        \begin{multicols}{2}[\section*{\indexname}]%
+%<book|report>        \begin{multicols}{2}[\chapter*{\indexname}%
+%<book|report>        \addcontentsline{toc}{chapter}{\indexname}]%
+%<!book&!report>        \def\presectionname{}\def\postsectionname{}%
+%<!book&!report>        \begin{multicols}{2}[\section*{\indexname}]%
       \fi
     \fi
-%<book>    \@mkboth{\indexname}{}%
-%<!book>    \@mkboth{\indexname}{\indexname}%
+%<book|report>    \@mkboth{\indexname}{}%
+%<!book&!report>    \@mkboth{\indexname}{\indexname}%
     \plainifnotempty % \thispagestyle{plain}
     \parindent\z@
     \parskip\z@ \@plus .3\jsc at mpt\relax
@@ -5276,7 +5410,7 @@
 % $B5SCmHV9f$O>O$4$H$K%j%;%C%H$5$l$^$9!#(B
 %
 %    \begin{macrocode}
-%<book>\@addtoreset{footnote}{chapter}
+%<book|report>\@addtoreset{footnote}{chapter}
 %    \end{macrocode}
 % \end{macro}
 %
@@ -5380,6 +5514,10 @@
 % [2016-12-01] $B$9$0>e$NJQ99$G(B |\@tempa| $B$r;H$C$F$$$?$N$,$h$/$J$+$C$?(B
 % $B$N$G!$%W%l%U%#%C%/%9$rIU$1$F(B |\jsc at tempa| $B$K$7$^$7$?(B(forum:2085)$B!#(B
 %
+% [2017-02-13] |\jsc at tempa| $B$O<B$O%F%s%]%i%j$G$O$J$/!V$3$N=hM}@lMQ$N(B
+% $B%f%K!<%/@)8fDV!W$G$"$kI,MW$,$"$j$^$9!#4V0c$C$FJL$N2U=j$G;H$&4m81 at -$,(B
+% $B9b$$$N$G!$@lMQ$NL?Na(B |\jsc at ig@temp| $B$KCV$-49$($^$7$?(B(Issue \#54)$B!#(B
+%
 %    \begin{macrocode}
 \def\@inhibitglue{%
   \futurelet\@let at token\@@inhibitglue}
@@ -5402,8 +5540,8 @@
 \def\@@inhibitglue{%
   \expandafter\expandafter\expandafter\jsc at inhibitglue\expandafter\meaning\expandafter\@let at token\KANJI at CHARACTER\relax\jsc at end}
 \expandafter\def\expandafter\jsc at inhibitglue\expandafter#\expandafter1\KANJI at CHARACTER#2#3\jsc at end{%
-  \def\jsc at tempa{#1}%
-  \ifx\jsc at tempa\@empty
+  \def\jsc at ig@temp{#1}%
+  \ifx\jsc at ig@temp\@empty
     \ifnum\the\inhibitxspcode`#2=2\relax
       \inhibitglue
     \fi
@@ -5614,8 +5752,8 @@
 %    \begin{macrocode}
 \newcommand{\prepartname}{\if at english Part~\else $BBh(B\fi}
 \newcommand{\postpartname}{\if at english\else $BIt(B\fi}
-%<book>\newcommand{\prechaptername}{\if at english Chapter~\else $BBh(B\fi}
-%<book>\newcommand{\postchaptername}{\if at english\else $B>O(B\fi}
+%<book|report>\newcommand{\prechaptername}{\if at english Chapter~\else $BBh(B\fi}
+%<book|report>\newcommand{\postchaptername}{\if at english\else $B>O(B\fi}
 \newcommand{\presectionname}{}%  $BBh(B
 \newcommand{\postsectionname}{}% $B at a(B
 %    \end{macrocode}
@@ -5716,8 +5854,9 @@
 % $B%Z!<%8 at _Dj$N=i4|2=$G$9!#(B
 %
 %    \begin{macrocode}
-%<article|kiyou>\if at slide \pagestyle{empty} \else \pagestyle{plain} \fi
+%<article>\if at slide \pagestyle{empty} \else \pagestyle{plain} \fi
 %<book>\if at report \pagestyle{plain} \else \pagestyle{headings} \fi
+%<report|kiyou>\pagestyle{plain}
 %<jspf>\pagestyle{headings}
 \pagenumbering{arabic}
 \if at twocolumn
@@ -5741,12 +5880,13 @@
 %
 % [2016-11-29] $B%3%_%e%K%F%#HG(Bp\LaTeX $B$G?7 at _$5$l$?%F%9%HMQ%Q%C%1!<%8(B
 % $B!J(B\texttt{exppl2e}$B%Q%C%1!<%8!K$,J8=q%/%i%9$h$j at h$KFI$_9~$^$l$F$$$?(B
-% $B>l9g$O!$(Bjsclasses$B$b%F%9%HHG$H$7$FF0:n$7$^$9!#$3$N=hCV$O(Bjsarticle$B$H(B
-% jsbook$B$K$N$_9T$$!$(Bjspf$B$H(Bkiyou$B$O=|30$7$F$*$-$^$9!#(Bexppl2e$B%Q%C%1!<%8(B
-% $B$,FI$_$3$^$l$F$$$J$$>l9g$ODL>oHG$H$7$FF0:n$7$^$9$N$G!$$3$3$G=*N;$7$^$9!#(B
+% $B>l9g$O!$(Bjsclasses$B$b%F%9%HHG$H$7$FF0:n$7$^$9!#$3$N=hCV$O(B
+% jsarticle$B!$(Bjsbook$B!$(Bjsreport$B$K$N$_9T$$!$(Bjspf$B$H(Bkiyou$B$O=|30$7$F$*$-$^$9!#(B
+% exppl2e$B%Q%C%1!<%8$,FI$_$3$^$l$F$$$J$$>l9g$ODL>oHG$H$7$FF0:n$7$^$9$N$G!$(B
+% $B$3$3$G=*N;$7$^$9!#(B
 %
 %    \begin{macrocode}
-%<*article|book>
+%<*article|book|report>
 \@ifpackageloaded{exppl2e}{\jsc at needsp@tchtrue}{\jsc at needsp@tchfalse}
 \ifjsc at needsp@tch\else
   \expandafter\endinput
@@ -5765,7 +5905,7 @@
     \unskip \reserved at e {\reserved at f#1}\nobreak \hfil \break \hskip \z@
     \ignorespaces
   \fi}
-%</article|book>
+%</article|book|report>
 %    \end{macrocode}
 % \end{macro}
 %

Modified: trunk/Master/texmf-dist/source/platex/jsclasses/jsclasses.ins
===================================================================
--- trunk/Master/texmf-dist/source/platex/jsclasses/jsclasses.ins	2017-02-24 22:17:16 UTC (rev 43330)
+++ trunk/Master/texmf-dist/source/platex/jsclasses/jsclasses.ins	2017-02-24 22:17:33 UTC (rev 43331)
@@ -3,5 +3,6 @@
 \keepsilent
 \generateFile{jsarticle.cls}{f}{\from{jsclasses.dtx}{article}}
 \generateFile{jsbook.cls}{f}{\from{jsclasses.dtx}{book}}
+\generateFile{jsreport.cls}{f}{\from{jsclasses.dtx}{report}}
 \generateFile{jspf.cls}{f}{\from{jsclasses.dtx}{jspf}}
 \generateFile{kiyou.cls}{f}{\from{jsclasses.dtx}{kiyou}}

Modified: trunk/Master/texmf-dist/source/platex/jsclasses/jslogo.dtx
===================================================================
--- trunk/Master/texmf-dist/source/platex/jsclasses/jslogo.dtx	2017-02-24 22:17:16 UTC (rev 43330)
+++ trunk/Master/texmf-dist/source/platex/jsclasses/jslogo.dtx	2017-02-24 22:17:33 UTC (rev 43331)
@@ -4,7 +4,7 @@
 %  LaTeX $B4XO"$N%m%4!J(BpLaTeX2$B&E?7%I%-%e%a%s%H%/%i%9IUO?!K(B
 %
 %  Copyright 1999-2016 Haruhiko Okumura
-%  Copyright 2016 Japanese TeX Development Community
+%  Copyright 2016-2017 Japanese TeX Development Community
 %
 % \fi
 %
@@ -16,7 +16,7 @@
 %<*driver>
 \ProvidesFile{jslogo.dtx}
 %</driver>
-  [2016/07/14 okumura, texjporg]
+  [2017/02/24 okumura, texjporg]
 %<*driver>
 \documentclass{jsarticle}
 \usepackage{doc}
@@ -374,6 +374,35 @@
 % \end{macro}
 %
 %
+% \section{PDF$BJ8;zNsCf$G%m%4$,;H$o$l$?>l9g$X$NBP:v(B}
+%
+% $B0J>e$G%m%4$NDj5A$O=*$o$j$G$9$,!$(B|hyperref|$B$rFI$_9~$s$@>uBV$G(B |jslogo| $B$NL?Na$r(B
+% PDF$BJ8;zNs$H$7$F2r<a$5$l$k2U=j!JNc(B |\section| $B$J$I!K$G;H$&$H7Y9p$,=P$F$7$^$$$^$9!#(B
+%\begin{verbatim}
+%  Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
+%  (hyperref)                \kern -0.50003pt
+%  (hyperref)                removed on input line 5.
+%\end{verbatim}
+% $B$=$3$G!$$3$N7Y9p$,=P$J$$$h$&$KBP:v$7$^$9(B(Issue \#51)$B!#(B
+%
+% $B$^$:!$(B|\pdfstringdefPreHook| $B$r!J$J$1$l$P!KMQ0U$7$^$9!#(B
+%    \begin{macrocode}
+\providecommand*\pdfstringdefPreHook{}
+%    \end{macrocode}
+%
+% $B$=$7$F!$7Y9p$,=P$F$7$^$&%m%4$KBP$9$k(BPDF$BJ8;zNsCf$G$NDj5A$rDI2C$7$^$9!#(B
+%    \begin{macrocode}
+\g at addto@macro\pdfstringdefPreHook{%
+  \def\pTeX{p\TeX}%
+  \def\AmS{AMS}%
+  \def\SliTeX{Sli\TeX}%
+  \def\BibTeX{Bib\TeX}%
+}
+%    \end{macrocode}
+%
+% |hyperref| $BFI9~;~$K(B |\pdfstringdefPreHook| $B$,Dj5A:Q$J$i$=$l$O$=$N$^$^J];}$5$l!$(B
+% $B7Y9p$,=P$J$/$J$j$^$9!#(B
+%
 % $B0J>e$G$9!#(B
 %
 % \Finale

Modified: trunk/Master/texmf-dist/tex/platex/jsclasses/jsarticle.cls
===================================================================
--- trunk/Master/texmf-dist/tex/platex/jsclasses/jsarticle.cls	2017-02-24 22:17:16 UTC (rev 43330)
+++ trunk/Master/texmf-dist/tex/platex/jsclasses/jsarticle.cls	2017-02-24 22:17:33 UTC (rev 43331)
@@ -22,7 +22,7 @@
 %% in the same archive or directory.)
 \NeedsTeXFormat{pLaTeX2e}
 \ProvidesClass{jsarticle}
-  [2017/01/13 okumura, texjporg]
+  [2017/02/24 okumura, texjporg]
 \def\jsc at clsname{jsarticle}
 \newif\ifjsc at needsp@tch
 \jsc at needsp@tchfalse
@@ -904,6 +904,40 @@
 \setlength\@dblfptop{0\jsc at mpt \@plus 1fil}
 \setlength\@dblfpsep{8\jsc at mpt \@plus 2fil}
 \setlength\@dblfpbot{0\jsc at mpt \@plus 1fil}
+\def\pltx at cleartorightpage{\clearpage\if at twoside
+  \ifodd\c at page
+    \iftdir
+      \hbox{}\thispagestyle{empty}\newpage
+      \if at twocolumn\hbox{}\newpage\fi
+    \fi
+  \else
+    \ifydir
+      \hbox{}\thispagestyle{empty}\newpage
+      \if at twocolumn\hbox{}\newpage\fi
+    \fi
+  \fi\fi}
+\def\pltx at cleartoleftpage{\clearpage\if at twoside
+  \ifodd\c at page
+    \ifydir
+      \hbox{}\thispagestyle{empty}\newpage
+      \if at twocolumn\hbox{}\newpage\fi
+    \fi
+  \else
+    \iftdir
+      \hbox{}\thispagestyle{empty}\newpage
+      \if at twocolumn\hbox{}\newpage\fi
+    \fi
+  \fi\fi}
+\def\pltx at cleartooddpage{\clearpage\if at twoside
+  \ifodd\c at page\else
+    \hbox{}\thispagestyle{empty}\newpage
+    \if at twocolumn\hbox{}\newpage\fi
+  \fi\fi}
+\def\pltx at cleartoevenpage{\clearpage\if at twoside
+  \ifodd\c at page
+    \hbox{}\thispagestyle{empty}\newpage
+    \if at twocolumn\hbox{}\newpage\fi
+  \fi\fi}
 \def\ps at plainfoot{%
   \let\@mkboth\@gobbletwo
   \let\@oddhead\@empty
@@ -1431,7 +1465,7 @@
       \@restonecolfalse\newpage
     \fi
     \thispagestyle{empty}%
-    \setcounter{page}\@ne
+    \ifodd\c at page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017-02-24
   }%
   {\if at restonecol\twocolumn \else \newpage \fi
     \if at twoside\else
@@ -1721,8 +1755,8 @@
 \def\@@inhibitglue{%
   \expandafter\expandafter\expandafter\jsc at inhibitglue\expandafter\meaning\expandafter\@let at token\KANJI at CHARACTER\relax\jsc at end}
 \expandafter\def\expandafter\jsc at inhibitglue\expandafter#\expandafter1\KANJI at CHARACTER#2#3\jsc at end{%
-  \def\jsc at tempa{#1}%
-  \ifx\jsc at tempa\@empty
+  \def\jsc at ig@temp{#1}%
+  \ifx\jsc at ig@temp\@empty
     \ifnum\the\inhibitxspcode`#2=2\relax
       \inhibitglue
     \fi

Modified: trunk/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls	2017-02-24 22:17:16 UTC (rev 43330)
+++ trunk/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls	2017-02-24 22:17:33 UTC (rev 43331)
@@ -22,7 +22,7 @@
 %% in the same archive or directory.)
 \NeedsTeXFormat{pLaTeX2e}
 \ProvidesClass{jsbook}
-  [2017/01/13 okumura, texjporg]
+  [2017/02/24 okumura, texjporg]
 \def\jsc at clsname{jsbook}
 \newif\ifjsc at needsp@tch
 \jsc at needsp@tchfalse
@@ -29,6 +29,7 @@
 \newif\if at restonecol
 \newif\if at titlepage
 \newif\if at openright
+\newif\if at openleft
 \newif\if at mainmatter \@mainmattertrue
 \newif\if at enablejfam \@enablejfamtrue
 \DeclareOption{a3paper}{%
@@ -135,8 +136,9 @@
 \DeclareOption{twocolumn}{\@twocolumntrue}
 \DeclareOption{titlepage}{\@titlepagetrue}
 \DeclareOption{notitlepage}{\@titlepagefalse}
-\DeclareOption{openright}{\@openrighttrue}
-\DeclareOption{openany}{\@openrightfalse}
+\DeclareOption{openright}{\@openrighttrue\@openleftfalse}
+\DeclareOption{openleft}{\@openlefttrue\@openrightfalse}
+\DeclareOption{openany}{\@openrightfalse\@openleftfalse}
 \def\eqnarray{%
    \stepcounter{equation}%
    \def\@currentlabel{\p at equation\theequation}%
@@ -915,6 +917,45 @@
 \setlength\@dblfptop{0\jsc at mpt \@plus 1fil}
 \setlength\@dblfpsep{8\jsc at mpt \@plus 2fil}
 \setlength\@dblfpbot{0\jsc at mpt \@plus 1fil}
+\def\pltx at cleartorightpage{\clearpage\if at twoside
+  \ifodd\c at page
+    \iftdir
+      \hbox{}\thispagestyle{empty}\newpage
+      \if at twocolumn\hbox{}\newpage\fi
+    \fi
+  \else
+    \ifydir
+      \hbox{}\thispagestyle{empty}\newpage
+      \if at twocolumn\hbox{}\newpage\fi
+    \fi
+  \fi\fi}
+\def\pltx at cleartoleftpage{\clearpage\if at twoside
+  \ifodd\c at page
+    \ifydir
+      \hbox{}\thispagestyle{empty}\newpage
+      \if at twocolumn\hbox{}\newpage\fi
+    \fi
+  \else
+    \iftdir
+      \hbox{}\thispagestyle{empty}\newpage
+      \if at twocolumn\hbox{}\newpage\fi
+    \fi
+  \fi\fi}
+\def\pltx at cleartooddpage{\clearpage\if at twoside
+  \ifodd\c at page\else
+    \hbox{}\thispagestyle{empty}\newpage
+    \if at twocolumn\hbox{}\newpage\fi
+  \fi\fi}
+\def\pltx at cleartoevenpage{\clearpage\if at twoside
+  \ifodd\c at page
+    \hbox{}\thispagestyle{empty}\newpage
+    \if at twocolumn\hbox{}\newpage\fi
+  \fi\fi}
+\if at openleft
+  \let\cleardoublepage\pltx at cleartoleftpage
+\else\if at openright
+  \let\cleardoublepage\pltx at cleartorightpage
+\fi\fi
 \def\ps at plainfoot{%
   \let\@mkboth\@gobbletwo
   \let\@oddhead\@empty
@@ -1199,11 +1240,13 @@
 \newcommand{\@chapapp}{\prechaptername}
 \newcommand{\@chappos}{\postchaptername}
 \newcommand\frontmatter{%
-  \if at openright
+  \if at openleft
     \cleardoublepage
+  \else\if at openright
+    \cleardoublepage
   \else
     \clearpage
-  \fi
+  \fi\fi
   \@mainmatterfalse
   \pagenumbering{roman}}
 \newcommand\mainmatter{%
@@ -1211,18 +1254,22 @@
   \@mainmattertrue
   \pagenumbering{arabic}}
 \newcommand\backmatter{%
-  \if at openright
+  \if at openleft
     \cleardoublepage
+  \else\if at openright
+    \cleardoublepage
   \else
     \clearpage
-  \fi
+  \fi\fi
   \@mainmatterfalse}
 \newcommand\part{%
-  \if at openright
+  \if at openleft
     \cleardoublepage
+  \else\if at openright
+    \cleardoublepage
   \else
     \clearpage
-  \fi
+  \fi\fi
   \thispagestyle{empty}% $B2$J8MQI8=`%9%?%$%k$G$O(B plain
   \if at twocolumn
     \onecolumn
@@ -1258,17 +1305,18 @@
   \@endpart}
 \def\@endpart{\vfil\newpage
   \if at twoside
-   \if at openright %% added (2016/12/13)
-    \null
-    \thispagestyle{empty}%
-    \newpage
-   \fi %% added (2016/12/13)
+   \if at openleft %% added (2017/02/24)
+    \null\thispagestyle{empty}\newpage
+   \else\if at openright %% added (2016/12/13)
+    \null\thispagestyle{empty}\newpage
+   \fi\fi %% added (2016/12/13, 2017/02/24)
   \fi
   \if at restonecol
     \twocolumn
   \fi}
 \newcommand{\chapter}{%
-  \if at openright\cleardoublepage\else\clearpage\fi
+  \if at openleft\cleardoublepage\else
+  \if at openright\cleardoublepage\else\clearpage\fi\fi
   \plainifnotempty % $B85(B: \thispagestyle{plain}
   \global\@topnum\z@
   \if at english \@afterindentfalse \else \@afterindenttrue \fi
@@ -1482,7 +1530,7 @@
 \def\@opargbegintheorem#1#2#3{\trivlist\labelsep=1zw
       \item[\hskip \labelsep{\headfont #1\ #2$B!J(B#3$B!K(B}]}
 \newenvironment{titlepage}{%
-    \cleardoublepage
+    \pltx at cleartooddpage %% 2017-02-24
     \if at twocolumn
       \@restonecoltrue\onecolumn
     \else
@@ -1489,7 +1537,7 @@
       \@restonecolfalse\newpage
     \fi
     \thispagestyle{empty}%
-    \setcounter{page}\@ne
+    \ifodd\c at page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017-02-24
   }%
   {\if at restonecol\twocolumn \else \newpage \fi
     \if at twoside\else
@@ -1803,8 +1851,8 @@
 \def\@@inhibitglue{%
   \expandafter\expandafter\expandafter\jsc at inhibitglue\expandafter\meaning\expandafter\@let at token\KANJI at CHARACTER\relax\jsc at end}
 \expandafter\def\expandafter\jsc at inhibitglue\expandafter#\expandafter1\KANJI at CHARACTER#2#3\jsc at end{%
-  \def\jsc at tempa{#1}%
-  \ifx\jsc at tempa\@empty
+  \def\jsc at ig@temp{#1}%
+  \ifx\jsc at ig@temp\@empty
     \ifnum\the\inhibitxspcode`#2=2\relax
       \inhibitglue
     \fi

Modified: trunk/Master/texmf-dist/tex/platex/jsclasses/jslogo.sty
===================================================================
--- trunk/Master/texmf-dist/tex/platex/jsclasses/jslogo.sty	2017-02-24 22:17:16 UTC (rev 43330)
+++ trunk/Master/texmf-dist/tex/platex/jsclasses/jslogo.sty	2017-02-24 22:17:33 UTC (rev 43331)
@@ -22,7 +22,7 @@
 %% in the same archive or directory.)
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{jslogo}
-  [2016/07/14 okumura, texjporg]
+  [2017/02/24 okumura, texjporg]
 \def\jslg at small#1{\hbox{$\m at th$%
   \csname S@\f at size\endcsname
   \fontsize\sf at size\z@
@@ -211,6 +211,13 @@
   \ifx\f at family\cmr\kern-.08em\else\kern-.15em\fi\TeX}
 \DeclareRobustCommand{\SliTeX}{%
   S\kern-.06emL\kern-.18em\jslg at uppersmall{I}\kern -.03em\TeX}
+\providecommand*\pdfstringdefPreHook{}
+\g at addto@macro\pdfstringdefPreHook{%
+  \def\pTeX{p\TeX}%
+  \def\AmS{AMS}%
+  \def\SliTeX{Sli\TeX}%
+  \def\BibTeX{Bib\TeX}%
+}
 \endinput
 %%
 %% End of file `jslogo.sty'.

Modified: trunk/Master/texmf-dist/tex/platex/jsclasses/jspf.cls
===================================================================
--- trunk/Master/texmf-dist/tex/platex/jsclasses/jspf.cls	2017-02-24 22:17:16 UTC (rev 43330)
+++ trunk/Master/texmf-dist/tex/platex/jsclasses/jspf.cls	2017-02-24 22:17:33 UTC (rev 43331)
@@ -22,7 +22,7 @@
 %% in the same archive or directory.)
 \NeedsTeXFormat{pLaTeX2e}
 \ProvidesClass{jspf}
-  [2017/01/13 okumura, texjporg]
+  [2017/02/24 okumura, texjporg]
 \def\jsc at clsname{jspf}
 \newif\ifjsc at needsp@tch
 \jsc at needsp@tchfalse
@@ -1297,7 +1297,7 @@
       \@restonecolfalse\newpage
     \fi
     \thispagestyle{empty}%
-    \setcounter{page}\@ne
+    \ifodd\c at page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017-02-24
   }%
   {\if at restonecol\twocolumn \else \newpage \fi
     \if at twoside\else
@@ -1597,8 +1597,8 @@
 \def\@@inhibitglue{%
   \expandafter\expandafter\expandafter\jsc at inhibitglue\expandafter\meaning\expandafter\@let at token\KANJI at CHARACTER\relax\jsc at end}
 \expandafter\def\expandafter\jsc at inhibitglue\expandafter#\expandafter1\KANJI at CHARACTER#2#3\jsc at end{%
-  \def\jsc at tempa{#1}%
-  \ifx\jsc at tempa\@empty
+  \def\jsc at ig@temp{#1}%
+  \ifx\jsc at ig@temp\@empty
     \ifnum\the\inhibitxspcode`#2=2\relax
       \inhibitglue
     \fi

Added: trunk/Master/texmf-dist/tex/platex/jsclasses/jsreport.cls
===================================================================
--- trunk/Master/texmf-dist/tex/platex/jsclasses/jsreport.cls	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/platex/jsclasses/jsreport.cls	2017-02-24 22:17:33 UTC (rev 43331)
@@ -0,0 +1,2017 @@
+%%
+%% This is file `jsreport.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% jsclasses.dtx  (with options: `report')
+%% 
+%% IMPORTANT NOTICE:
+%% 
+%% For the copyright see the source file.
+%% 
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from jsreport.cls.
+%% 
+%% For distribution of the original source see the terms
+%% for copying and modification in the file jsclasses.dtx.
+%% 
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+\NeedsTeXFormat{pLaTeX2e}
+\ProvidesClass{jsreport}
+  [2017/02/24 okumura, texjporg]
+\def\jsc at clsname{jsreport}
+\newif\ifjsc at needsp@tch
+\jsc at needsp@tchfalse
+\newif\if at restonecol
+\newif\if at titlepage
+\newif\if at openright
+\newif\if at openleft
+\newif\if at enablejfam \@enablejfamtrue
+\DeclareOption{a3paper}{%
+  \setlength\paperheight {420mm}%
+  \setlength\paperwidth  {297mm}}
+\DeclareOption{a4paper}{%
+  \setlength\paperheight {297mm}%
+  \setlength\paperwidth  {210mm}}
+\DeclareOption{a5paper}{%
+  \setlength\paperheight {210mm}%
+  \setlength\paperwidth  {148mm}}
+\DeclareOption{a6paper}{%
+  \setlength\paperheight {148mm}%
+  \setlength\paperwidth  {105mm}}
+\DeclareOption{b4paper}{%
+  \setlength\paperheight {364mm}%
+  \setlength\paperwidth  {257mm}}
+\DeclareOption{b5paper}{%
+  \setlength\paperheight {257mm}%
+  \setlength\paperwidth  {182mm}}
+\DeclareOption{b6paper}{%
+  \setlength\paperheight {182mm}%
+  \setlength\paperwidth  {128mm}}
+\DeclareOption{a4j}{%
+  \setlength\paperheight {297mm}%
+  \setlength\paperwidth  {210mm}}
+\DeclareOption{a5j}{%
+  \setlength\paperheight {210mm}%
+  \setlength\paperwidth  {148mm}}
+\DeclareOption{b4j}{%
+  \setlength\paperheight {364mm}%
+  \setlength\paperwidth  {257mm}}
+\DeclareOption{b5j}{%
+  \setlength\paperheight {257mm}%
+  \setlength\paperwidth  {182mm}}
+\DeclareOption{a4var}{%
+  \setlength\paperheight {283mm}%
+  \setlength\paperwidth  {210mm}}
+\DeclareOption{b5var}{%
+  \setlength\paperheight {230mm}%
+  \setlength\paperwidth  {182mm}}
+\DeclareOption{letterpaper}{%
+  \setlength\paperheight {11in}%
+  \setlength\paperwidth  {8.5in}}
+\DeclareOption{legalpaper}{%
+  \setlength\paperheight {14in}%
+  \setlength\paperwidth  {8.5in}}
+\DeclareOption{executivepaper}{%
+  \setlength\paperheight {10.5in}%
+  \setlength\paperwidth  {7.25in}}
+\newif\if at landscape
+\@landscapefalse
+\DeclareOption{landscape}{\@landscapetrue}
+\newif\if at slide
+\@slidefalse
+\newcommand{\@ptsize}{0}
+\newif\ifjsc at mag\jsc at magtrue
+\newif\ifjsc at mag@xreal\jsc at mag@xrealfalse
+\def\jsc at magscale{1}
+\DeclareOption{8pt}{\def\jsc at magscale{0.833}\renewcommand{\@ptsize}{-2}}
+\DeclareOption{9pt}{\def\jsc at magscale{0.913}\renewcommand{\@ptsize}{-1}}
+\DeclareOption{10pt}{\def\jsc at magscale{1}\renewcommand{\@ptsize}{0}}
+\DeclareOption{11pt}{\def\jsc at magscale{1.095}\renewcommand{\@ptsize}{1}}
+\DeclareOption{12pt}{\def\jsc at magscale{1.200}\renewcommand{\@ptsize}{2}}
+\DeclareOption{14pt}{\def\jsc at magscale{1.440}\renewcommand{\@ptsize}{4}}
+\DeclareOption{17pt}{\def\jsc at magscale{1.728}\renewcommand{\@ptsize}{7}}
+\DeclareOption{20pt}{\def\jsc at magscale{2}\renewcommand{\@ptsize}{10}}
+\DeclareOption{21pt}{\def\jsc at magscale{2.074}\renewcommand{\@ptsize}{11}}
+\DeclareOption{25pt}{\def\jsc at magscale{2.488}\renewcommand{\@ptsize}{15}}
+\DeclareOption{30pt}{\def\jsc at magscale{2.986}\renewcommand{\@ptsize}{20}}
+\DeclareOption{36pt}{\def\jsc at magscale{3.583}\renewcommand{\@ptsize}{26}}
+\DeclareOption{43pt}{\def\jsc at magscale{4.300}\renewcommand{\@ptsize}{33}}
+\DeclareOption{12Q}{\def\jsc at magscale{0.923}\renewcommand{\@ptsize}{1200}}
+\DeclareOption{14Q}{\def\jsc at magscale{1.077}\renewcommand{\@ptsize}{1400}}
+\DeclareOption{10ptj}{\def\jsc at magscale{1.085}\renewcommand{\@ptsize}{1001}}
+\DeclareOption{10.5ptj}{\def\jsc at magscale{1.139}\renewcommand{\@ptsize}{1051}}
+\DeclareOption{11ptj}{\def\jsc at magscale{1.194}\renewcommand{\@ptsize}{1101}}
+\DeclareOption{12ptj}{\def\jsc at magscale{1.302}\renewcommand{\@ptsize}{1201}}
+\DeclareOption{usemag}{\jsc at magtrue\jsc at mag@xrealfalse}
+\DeclareOption{nomag}{\jsc at magfalse\jsc at mag@xrealfalse}
+\DeclareOption{nomag*}{\jsc at magfalse\jsc at mag@xrealtrue}
+\hour\time \divide\hour by 60\relax
+\@tempcnta\hour \multiply\@tempcnta 60\relax
+\minute\time \advance\minute-\@tempcnta
+\DeclareOption{tombow}{%
+  \tombowtrue \tombowdatetrue
+  \setlength{\@tombowwidth}{.1\p@}%
+  \@bannertoken{%
+     \jobname\space(\number\year-\two at digits\month-\two at digits\day
+     \space\two at digits\hour:\two at digits\minute)}%
+  \maketombowbox}
+\DeclareOption{tombo}{%
+  \tombowtrue \tombowdatefalse
+  \setlength{\@tombowwidth}{.1\p@}%
+  \maketombowbox}
+\DeclareOption{mentuke}{%
+  \tombowtrue \tombowdatefalse
+  \setlength{\@tombowwidth}{\z@}%
+  \maketombowbox}
+\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
+\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
+\DeclareOption{vartwoside}{\@twosidetrue \@mparswitchfalse}
+\DeclareOption{onecolumn}{\@twocolumnfalse}
+\DeclareOption{twocolumn}{\@twocolumntrue}
+\DeclareOption{titlepage}{\@titlepagetrue}
+\DeclareOption{notitlepage}{\@titlepagefalse}
+\DeclareOption{openright}{\@openrighttrue\@openleftfalse}
+\DeclareOption{openleft}{\@openlefttrue\@openrightfalse}
+\DeclareOption{openany}{\@openrightfalse\@openleftfalse}
+\def\eqnarray{%
+   \stepcounter{equation}%
+   \def\@currentlabel{\p at equation\theequation}%
+   \global\@eqnswtrue
+   \m at th
+   \global\@eqcnt\z@
+   \tabskip\@centering
+   \let\\\@eqncr
+   $$\everycr{}\halign to\displaywidth\bgroup
+       \hskip\@centering$\displaystyle\tabskip\z at skip{##}$\@eqnsel
+      &\global\@eqcnt\@ne \hfil$\displaystyle{{}##{}}$\hfil
+      &\global\@eqcnt\tw@ $\displaystyle{##}$\hfil\tabskip\@centering
+      &\global\@eqcnt\thr@@ \hb at xt@\z@\bgroup\hss##\egroup
+         \tabskip\z at skip
+      \cr}
+\DeclareOption{leqno}{\input{leqno.clo}}
+\DeclareOption{fleqn}{\input{fleqn.clo}%
+  \def\eqnarray{%
+    \stepcounter{equation}%
+    \def\@currentlabel{\p at equation\theequation}%
+    \global\@eqnswtrue\m at th
+    \global\@eqcnt\z@
+    \tabskip\mathindent
+    \let\\=\@eqncr
+    \setlength\abovedisplayskip{\topsep}%
+    \ifvmode
+      \addtolength\abovedisplayskip{\partopsep}%
+    \fi
+    \addtolength\abovedisplayskip{\parskip}%
+    \setlength\belowdisplayskip{\abovedisplayskip}%
+    \setlength\belowdisplayshortskip{\abovedisplayskip}%
+    \setlength\abovedisplayshortskip{\abovedisplayskip}%
+    $$\everycr{}\halign to\linewidth% $$
+    \bgroup
+      \hskip\@centering$\displaystyle\tabskip\z at skip{##}$\@eqnsel
+      &\global\@eqcnt\@ne \hfil$\displaystyle{{}##{}}$\hfil
+      &\global\@eqcnt\tw@
+        $\displaystyle{##}$\hfil \tabskip\@centering
+      &\global\@eqcnt\thr@@ \hb at xt@\z@\bgroup\hss##\egroup
+    \tabskip\z at skip\cr
+    }}
+\DeclareOption{disablejfam}{\@enablejfamfalse}
+\DeclareOption{draft}{\setlength\overfullrule{5pt}}
+\DeclareOption{final}{\setlength\overfullrule{0pt}}
+\newif\ifwinjis
+\winjisfalse
+\newif\ifmingoth
+\mingothfalse
+\newif\ifjisfont
+\jisfontfalse
+\newif\if at jsc@uplatex
+\@jsc at uplatexfalse
+\newif\if at jsc@autodetect
+\@jsc at autodetectfalse
+\DeclareOption{mingoth}{\mingothtrue}
+\DeclareOption{winjis}{\winjistrue}
+\DeclareOption{jis}{\jisfonttrue}
+\DeclareOption{uplatex}{\@jsc at uplatextrue\winjisfalse}
+\DeclareOption{autodetect-engine}{\@jsc at autodetecttrue}
+\def\jsc at JYn{\if at jsc@uplatex JY2\else JY1\fi}
+\def\jsc at JTn{\if at jsc@uplatex JT2\else JT1\fi}
+\def\jsc at pfx@{\if at jsc@uplatex u\else \fi}
+\newif\ifpapersize
+\papersizefalse
+\DeclareOption{papersize}{\papersizetrue}
+\newif\if at english
+\@englishfalse
+\DeclareOption{english}{\@englishtrue}
+\newif\if at jslogo \@jslogotrue
+\DeclareOption{jslogo}{\@jslogotrue}
+\DeclareOption{nojslogo}{\@jslogofalse}
+\ExecuteOptions{a4paper,oneside,onecolumn,titlepage,openany,final}
+\ProcessOptions
+\if at slide
+  \def\maybeblue{\@ifundefined{ver at color.sty}{}{\color{blue}}}
+\fi
+\if at landscape
+  \setlength\@tempdima  {\paperheight}
+  \setlength\paperheight{\paperwidth}
+  \setlength\paperwidth {\@tempdima}
+\fi
+\ifnum \ifx\ucs\@undefined\z@\else\ucs"3000 \fi ="3000
+  \if at jsc@autodetect
+    \ClassInfo\jsc at clsname{Autodetected engine: upLaTeX}
+    \@jsc at uplatextrue
+    \g at addto@macro\@classoptionslist{,uplatex}
+  \fi
+  \if at jsc@uplatex\else
+    \ClassError\jsc at clsname
+      {You are running upLaTeX.\MessageBreak
+       Please use pLaTeX instead, or add 'uplatex' to\MessageBreak
+       the class option list}
+      {\@ehc}
+    \@jsc at uplatextrue
+  \fi
+\else
+  \if at jsc@uplatex
+    \ClassError\jsc at clsname
+      {You are running pLaTeX.\MessageBreak
+       Please use upLaTeX instead, or remove 'uplatex' from\MessageBreak
+       the class option list}
+      {\@ehc}
+    \@jsc at uplatexfalse
+  \fi
+  \if at jsc@autodetect
+    \ClassInfo\jsc at clsname{Autodetected engine: pLaTeX}
+    \@jsc at uplatexfalse
+  \fi
+\fi
+\iftombow
+  \newdimen\stockwidth \newdimen\stockheight
+  \setlength{\stockwidth}{\paperwidth}
+  \setlength{\stockheight}{\paperheight}
+  \advance \stockwidth 2in
+  \advance \stockheight 2in
+\fi
+\ifpapersize
+  \iftombow
+    \AtBeginDvi{\special{papersize=\the\stockwidth,\the\stockheight}}
+  \else
+    \AtBeginDvi{\special{papersize=\the\paperwidth,\the\paperheight}}
+  \fi
+\fi
+\if at slide\def\n at baseline{13}\else\def\n at baseline{16}\fi
+\newdimen\jsc at mpt
+\newdimen\jsc at mmm
+\def\inv at mag{1}
+\ifjsc at mag
+  \jsc at mpt=1\p@
+  \jsc at mmm=1mm
+  \ifnum\@ptsize=-2
+    \mag 833
+    \def\inv at mag{1.20048}
+    \def\n at baseline{15}%
+  \fi
+  \ifnum\@ptsize=-1
+    \mag 913 % formerly 900
+    \def\inv at mag{1.09529}
+    \def\n at baseline{15}%
+  \fi
+  \ifnum\@ptsize=1
+    \mag 1095 % formerly 1100
+    \def\inv at mag{0.913242}
+  \fi
+  \ifnum\@ptsize=2
+    \mag 1200
+    \def\inv at mag{0.833333}
+  \fi
+  \ifnum\@ptsize=4
+    \mag 1440
+    \def\inv at mag{0.694444}
+  \fi
+  \ifnum\@ptsize=7
+    \mag 1728
+    \def\inv at mag{0.578704}
+  \fi
+  \ifnum\@ptsize=10
+    \mag 2000
+    \def\inv at mag{0.5}
+  \fi
+  \ifnum\@ptsize=11
+    \mag 2074
+    \def\inv at mag{0.48216}
+  \fi
+  \ifnum\@ptsize=15
+    \mag 2488
+    \def\inv at mag{0.401929}
+  \fi
+  \ifnum\@ptsize=20
+    \mag 2986
+    \def\inv at mag{0.334896}
+  \fi
+  \ifnum\@ptsize=26
+    \mag 3583
+    \def\inv at mag{0.279096}
+  \fi
+  \ifnum\@ptsize=33
+    \mag 4300
+    \def\inv at mag{0.232558}
+  \fi
+  \ifnum\@ptsize=1200
+    \mag 923
+    \def\inv at mag{1.0834236}
+  \fi
+  \ifnum\@ptsize=1400
+    \mag 1077
+    \def\inv at mag{0.928505}
+  \fi
+  \ifnum\@ptsize=1001
+    \mag 1085
+    \def\inv at mag{0.921659}
+  \fi
+  \ifnum\@ptsize=1051
+    \mag 1139
+    \def\inv at mag{0.877963}
+  \fi
+  \ifnum\@ptsize=1101
+    \mag 1194
+    \def\inv at mag{0.837521}
+  \fi
+  \ifnum\@ptsize=1201
+    \mag 1302
+    \def\inv at mag{0.768049}
+  \fi
+\else
+  \jsc at mpt=\jsc at magscale\p@
+  \jsc at mmm=\jsc at magscale mm
+  \def\inv at mag{1}
+  \ifnum\@ptsize=-2
+    \def\n at baseline{15}%
+  \fi
+  \ifnum\@ptsize=-1
+    \def\n at baseline{15}%
+  \fi
+\fi
+\ifjsc at mag@xreal
+  \RequirePackage{type1cm}
+  \mathchardef\jsc at csta=259
+  \def\jsc at invscale#1#2{%
+    \begingroup \@tempdima=#1\relax \@tempdimb#2\p@\relax
+      \@tempcnta\@tempdima \multiply\@tempcnta\@cclvi
+      \divide\@tempcnta\@tempdimb \multiply\@tempcnta\@cclvi
+      \@tempcntb\p@ \divide\@tempcntb\@tempdimb
+      \advance\@tempcnta-\@tempcntb \advance\@tempcnta-\tw@
+      \@tempdimb\@tempcnta\@ne
+      \advance\@tempcnta\@tempcntb \advance\@tempcnta\@tempcntb
+      \advance\@tempcnta\jsc at csta \@tempdimc\@tempcnta\@ne
+      \@whiledim\@tempdimb<\@tempdimc\do{%
+        \@tempcntb\@tempdimb \advance\@tempcntb\@tempdimc
+        \advance\@tempcntb\@ne \divide\@tempcntb\tw@
+        \ifdim #2\@tempcntb>\@tempdima
+          \advance\@tempcntb\m at ne \@tempdimc=\@tempcntb\@ne
+        \else \@tempdimb=\@tempcntb\@ne \fi}%
+      \xdef\jsc at gtmpa{\the\@tempdimb}%
+    \endgroup #1=\jsc at gtmpa\relax}
+  \expandafter\let\csname OT1/cmr/m/n/10\endcsname\relax
+  \expandafter\let\csname OMX/cmex/m/n/10\endcsname\relax
+  \let\jsc at get@external at font\get at external@font
+  \def\get at external@font{%
+    \jsc at preadjust@extract at font
+    \jsc at get@external at font}
+  \def\jsc at fstrunc#1{%
+    \edef\jsc at tmpa{\strip at pt#1}%
+    \expandafter\jsc at fstrunc@a\jsc at tmpa.****\@nil}
+  \def\jsc at fstrunc@a#1.#2#3#4#5#6\@nil{%
+    \if#5*\else
+      \edef\jsc at tmpa{#1%
+      \ifnum#2#3>\z@ .#2\ifnum#3>\z@ #3\fi\fi}%
+    \fi}
+  \def\jsc at preadjust@extract at font{%
+    \let\jsc at req@size\f at size
+    \dimen@\f at size\p@ \jsc at invscale\dimen@\jsc at magscale
+    \advance\dimen at .005pt\relax \jsc at fstrunc\dimen@
+    \let\jsc at ref@size\jsc at tmpa
+    \let\f at size\jsc at ref@size}
+  \def\execute at size@function#1{%
+    \let\jsc at cref@size\f at size
+    \let\f at size\jsc at req@size
+    \csname s at fct@#1\endcsname}
+  \let\jsc at DeclareErrorFont\DeclareErrorFont
+  \def\DeclareErrorFont#1#2#3#4#5{%
+    \@tempdimc#5\p@ \@tempdimc\jsc at magscale\@tempdimc
+    \edef\jsc at tmpa{{#1}{#2}{#3}{#4}{\strip at pt\@tempdimc}}
+    \expandafter\jsc at DeclareErrorFont\jsc at tmpa}
+  \def\gen at sfcnt{%
+    \edef\mandatory at arg{\mandatory at arg\jsc at cref@size}%
+    \empty at sfcnt}
+  \def\genb at sfcnt{%
+    \edef\mandatory at arg{%
+      \mandatory at arg\expandafter\genb at x\jsc at cref@size..\@@}%
+    \empty at sfcnt}
+  \DeclareErrorFont{OT1}{cmr}{m}{n}{10}
+\fi
+\def\jsc at smallskip{\vspace\jsc at smallskipamount}
+\newskip\jsc at smallskipamount
+\jsc at smallskipamount=3\jsc at mpt plus 1\jsc at mpt minus 1\jsc at mpt
+\setlength\paperwidth{\inv at mag\paperwidth}%
+\setlength\paperheight{\inv at mag\paperheight}%
+\iftombow
+  \setlength\stockwidth{\inv at mag\stockwidth}%
+  \setlength\stockheight{\inv at mag\stockheight}%
+\fi
+\ifwinjis
+  \DeclareFontShape{JY1}{mc}{m}{n}{<-> s * [0.961] winjis}{}
+  \DeclareFontShape{JY1}{gt}{m}{n}{<-> s * [0.961] winjisg}{}
+  \DeclareFontShape{JT1}{mc}{m}{n}{<-> s * [0.961] winjis-v}{}
+  \DeclareFontShape{JT1}{gt}{m}{n}{<-> s * [0.961] winjisg-v}{}
+\else
+  \ifmingoth
+    \DeclareFontShape{\jsc at JYn}{mc}{m}{n}{<-> s * [0.961] \jsc at pfx@ min10}{}
+    \DeclareFontShape{\jsc at JYn}{gt}{m}{n}{<-> s * [0.961] \jsc at pfx@ goth10}{}
+    \DeclareFontShape{\jsc at JTn}{mc}{m}{n}{<-> s * [0.961] \jsc at pfx@ tmin10}{}
+    \DeclareFontShape{\jsc at JTn}{gt}{m}{n}{<-> s * [0.961] \jsc at pfx@ tgoth10}{}
+  \else
+    \ifjisfont
+      \DeclareFontShape{\jsc at JYn}{mc}{m}{n}{<-> s * [0.961] \jsc at pfx@ jis}{}
+      \DeclareFontShape{\jsc at JYn}{gt}{m}{n}{<-> s * [0.961] \jsc at pfx@ jisg}{}
+      \DeclareFontShape{\jsc at JTn}{mc}{m}{n}{<-> s * [0.961] \jsc at pfx@ tmin10}{}
+      \DeclareFontShape{\jsc at JTn}{gt}{m}{n}{<-> s * [0.961] \jsc at pfx@ tgoth10}{}
+    \else
+      \if at jsc@uplatex
+        \DeclareFontShape{JY2}{mc}{m}{n}{<-> s * [0.924690] upjisr-h}{}
+        \DeclareFontShape{JY2}{gt}{m}{n}{<-> s * [0.924690] upjisg-h}{}
+        \DeclareFontShape{JT2}{mc}{m}{n}{<-> s * [0.924690] upjisr-v}{}
+        \DeclareFontShape{JT2}{gt}{m}{n}{<-> s * [0.924690] upjisg-v}{}
+      \else
+        \DeclareFontShape{\jsc at JYn}{mc}{m}{n}{<-> s * [0.961] \jsc at pfx@ jis}{}
+        \DeclareFontShape{\jsc at JYn}{gt}{m}{n}{<-> s * [0.961] \jsc at pfx@ jisg}{}
+        \DeclareFontShape{\jsc at JTn}{mc}{m}{n}{<-> s * [0.961] \jsc at pfx@ tmin10}{}
+        \DeclareFontShape{\jsc at JTn}{gt}{m}{n}{<-> s * [0.961] \jsc at pfx@ tgoth10}{}
+      \fi
+    \fi
+  \fi
+\fi
+\DeclareFontShape{\jsc at JYn}{mc}{m}{it}{<->ssub*mc/m/n}{}
+\DeclareFontShape{\jsc at JYn}{mc}{m}{sl}{<->ssub*mc/m/n}{}
+\DeclareFontShape{\jsc at JYn}{mc}{m}{sc}{<->ssub*mc/m/n}{}
+\DeclareFontShape{\jsc at JYn}{gt}{m}{it}{<->ssub*gt/m/n}{}
+\DeclareFontShape{\jsc at JYn}{gt}{m}{sl}{<->ssub*gt/m/n}{}
+\DeclareFontShape{\jsc at JYn}{mc}{bx}{it}{<->ssub*gt/m/n}{}
+\DeclareFontShape{\jsc at JYn}{mc}{bx}{sl}{<->ssub*gt/m/n}{}
+\DeclareFontShape{\jsc at JTn}{mc}{m}{it}{<->ssub*mc/m/n}{}
+\DeclareFontShape{\jsc at JTn}{mc}{m}{sl}{<->ssub*mc/m/n}{}
+\DeclareFontShape{\jsc at JTn}{mc}{m}{sc}{<->ssub*mc/m/n}{}
+\DeclareFontShape{\jsc at JTn}{gt}{m}{it}{<->ssub*gt/m/n}{}
+\DeclareFontShape{\jsc at JTn}{gt}{m}{sl}{<->ssub*gt/m/n}{}
+\DeclareFontShape{\jsc at JTn}{mc}{bx}{it}{<->ssub*gt/m/n}{}
+\DeclareFontShape{\jsc at JTn}{mc}{bx}{sl}{<->ssub*gt/m/n}{}
+\DeclareRobustCommand\rmfamily
+        {\not at math@alphabet\rmfamily\mathrm
+         \romanfamily\rmdefault\kanjifamily\mcdefault\selectfont}
+\DeclareRobustCommand\sffamily
+        {\not at math@alphabet\sffamily\mathsf
+         \romanfamily\sfdefault\kanjifamily\gtdefault\selectfont}
+\DeclareRobustCommand\ttfamily
+        {\not at math@alphabet\ttfamily\mathtt
+         \romanfamily\ttdefault\kanjifamily\gtdefault\selectfont}
+\DeclareRobustCommand\textmc[1]{%
+    \relax\ifmmode \expandafter\nfss at text \fi{\mcfamily #1}}
+\DeclareRobustCommand\textgt[1]{%
+    \relax\ifmmode \expandafter\nfss at text \fi{\gtfamily #1}}
+\def\reDeclareMathAlphabet#1#2#3{%
+  \edef\@tempa{\expandafter\@gobble\string#2}%
+  \edef\@tempb{\expandafter\@gobble\string#3}%
+  \edef\@tempc{\string @\expandafter\@gobbletwo\string#2}%
+  \ifx\@tempc\@tempa%
+    \edef\@tempa{\expandafter\@gobbletwo\string#2}%
+    \edef\@tempb{\expandafter\@gobbletwo\string#3}%
+  \fi
+  \begingroup
+    \let\protect\noexpand
+    \def\@tempaa{\relax}%
+    \expandafter\ifx\csname RDMAorg@\@tempa\endcsname\relax
+      \edef\@tempaa{\expandafter\def\expandafter\noexpand%
+        \csname RDMAorg@\@tempa\endcsname{%
+          \expandafter\noexpand\csname\@tempa\endcsname}}%
+    \fi
+    \def\@tempbb{\relax}%
+    \expandafter\ifx\csname RDMAorg@\@tempb\endcsname\relax
+      \edef\@tempbb{\expandafter\def\expandafter\noexpand%
+        \csname RDMAorg@\@tempb\endcsname{%
+          \expandafter\noexpand\csname\@tempb\endcsname}}%
+    \fi
+    \edef\@tempc{\@tempaa\@tempbb}%
+  \expandafter\endgroup\@tempc%
+  \edef#1{\noexpand\protect\expandafter\noexpand\csname%
+    \expandafter\@gobble\string#1\space\space\endcsname}%
+  \expandafter\edef\csname\expandafter\@gobble\string#1\space\space\endcsname%
+    {\noexpand\DualLang at mathalph@bet%
+      {\expandafter\noexpand\csname RDMAorg@\@tempa\endcsname}%
+      {\expandafter\noexpand\csname RDMAorg@\@tempb\endcsname}%
+  }%
+}
+\@onlypreamble\reDeclareMathAlphabet
+\def\DualLang at mathalph@bet#1#2{%
+  \relax\ifmmode
+    \ifx\math at bgroup\bgroup%     2e normal style     (\mathrm{...})
+      \bgroup\let\DualLang at Mfontsw\DLMfontsw at standard
+    \else
+      \ifx\math at bgroup\relax%    2e two letter style (\rm->\mathrm)
+        \let\DualLang at Mfontsw\DLMfontsw at oldstyle
+      \else
+        \ifx\math at bgroup\@empty% 2.09 oldlfont style ({\mathrm ...})
+          \let\DualLang at Mfontsw\DLMfontsw at oldlfont
+        \else%                   panic! assume 2e normal style
+          \bgroup\let\DualLang at Mfontsw\DLMfontsw at standard
+        \fi
+      \fi
+    \fi
+  \else
+    \let\DualLang at Mfontsw\@firstoftwo
+  \fi
+  \DualLang at Mfontsw{#1}{#2}%
+}
+\def\DLMfontsw at standard#1#2#3{#1{#2{#3}}\egroup}
+\def\DLMfontsw at oldstyle#1#2{#1\relax\@fontswitch\relax{#2}}
+\def\DLMfontsw at oldlfont#1#2{#1\relax#2\relax}
+\if at enablejfam
+  \DeclareSymbolFont{mincho}{\jsc at JYn}{mc}{m}{n}
+  \DeclareSymbolFontAlphabet{\mathmc}{mincho}
+  \SetSymbolFont{mincho}{bold}{\jsc at JYn}{gt}{m}{n}
+  \jfam\symmincho
+  \DeclareMathAlphabet{\mathgt}{\jsc at JYn}{gt}{m}{n}
+  \AtBeginDocument{%
+    \reDeclareMathAlphabet{\mathrm}{\@mathrm}{\@mathmc}
+    \reDeclareMathAlphabet{\mathbf}{\@mathbf}{\@mathgt}}
+\fi
+\prebreakpenalty\jis"2147=10000      % 5000   $B!G(B
+\postbreakpenalty\jis"2148=10000     % 5000   $B!H(B
+\prebreakpenalty\jis"2149=10000      % 5000   $B!I(B
+\inhibitxspcode`$B!*(B=1
+\inhibitxspcode`$B")(B=2
+\xspcode`+=3
+\xspcode`\%=3
+\xspcode`^^80=3
+\xspcode`^^81=3
+\xspcode`^^82=3
+\xspcode`^^83=3
+\xspcode`^^84=3
+\xspcode`^^85=3
+\xspcode`^^86=3
+\xspcode`^^87=3
+\xspcode`^^88=3
+\xspcode`^^89=3
+\xspcode`^^8a=3
+\xspcode`^^8b=3
+\xspcode`^^8c=3
+\xspcode`^^8d=3
+\xspcode`^^8e=3
+\xspcode`^^8f=3
+\xspcode`^^90=3
+\xspcode`^^91=3
+\xspcode`^^92=3
+\xspcode`^^93=3
+\xspcode`^^94=3
+\xspcode`^^95=3
+\xspcode`^^96=3
+\xspcode`^^97=3
+\xspcode`^^98=3
+\xspcode`^^99=3
+\xspcode`^^9a=3
+\xspcode`^^9b=3
+\xspcode`^^9c=3
+\xspcode`^^9d=3
+\xspcode`^^9e=3
+\xspcode`^^9f=3
+\xspcode`^^a0=3
+\xspcode`^^a1=3
+\xspcode`^^a2=3
+\xspcode`^^a3=3
+\xspcode`^^a4=3
+\xspcode`^^a5=3
+\xspcode`^^a6=3
+\xspcode`^^a7=3
+\xspcode`^^a8=3
+\xspcode`^^a9=3
+\xspcode`^^aa=3
+\xspcode`^^ab=3
+\xspcode`^^ac=3
+\xspcode`^^ad=3
+\xspcode`^^ae=3
+\xspcode`^^af=3
+\xspcode`^^b0=3
+\xspcode`^^b1=3
+\xspcode`^^b2=3
+\xspcode`^^b3=3
+\xspcode`^^b4=3
+\xspcode`^^b5=3
+\xspcode`^^b6=3
+\xspcode`^^b7=3
+\xspcode`^^b8=3
+\xspcode`^^b9=3
+\xspcode`^^ba=3
+\xspcode`^^bb=3
+\xspcode`^^bc=3
+\xspcode`^^bd=3
+\xspcode`^^be=3
+\xspcode`^^bf=3
+\xspcode`^^c0=3
+\xspcode`^^c1=3
+\xspcode`^^c2=3
+\xspcode`^^c3=3
+\xspcode`^^c4=3
+\xspcode`^^c5=3
+\xspcode`^^c6=3
+\xspcode`^^c7=3
+\xspcode`^^c8=3
+\xspcode`^^c9=3
+\xspcode`^^ca=3
+\xspcode`^^cb=3
+\xspcode`^^cc=3
+\xspcode`^^cd=3
+\xspcode`^^ce=3
+\xspcode`^^cf=3
+\xspcode`^^d0=3
+\xspcode`^^d1=3
+\xspcode`^^d2=3
+\xspcode`^^d3=3
+\xspcode`^^d4=3
+\xspcode`^^d5=3
+\xspcode`^^d6=3
+\xspcode`^^d7=3
+\xspcode`^^d8=3
+\xspcode`^^d9=3
+\xspcode`^^da=3
+\xspcode`^^db=3
+\xspcode`^^dc=3
+\xspcode`^^dd=3
+\xspcode`^^de=3
+\xspcode`^^df=3
+\xspcode`^^e0=3
+\xspcode`^^e1=3
+\xspcode`^^e2=3
+\xspcode`^^e3=3
+\xspcode`^^e4=3
+\xspcode`^^e5=3
+\xspcode`^^e6=3
+\xspcode`^^e7=3
+\xspcode`^^e8=3
+\xspcode`^^e9=3
+\xspcode`^^ea=3
+\xspcode`^^eb=3
+\xspcode`^^ec=3
+\xspcode`^^ed=3
+\xspcode`^^ee=3
+\xspcode`^^ef=3
+\xspcode`^^f0=3
+\xspcode`^^f1=3
+\xspcode`^^f2=3
+\xspcode`^^f3=3
+\xspcode`^^f4=3
+\xspcode`^^f5=3
+\xspcode`^^f6=3
+\xspcode`^^f7=3
+\xspcode`^^f8=3
+\xspcode`^^f9=3
+\xspcode`^^fa=3
+\xspcode`^^fb=3
+\xspcode`^^fc=3
+\xspcode`^^fd=3
+\xspcode`^^fe=3
+\xspcode`^^ff=3
+\def\@{\spacefactor3000{}}
+\def\@setfontsize#1#2#3{%
+  \ifx\protect\@typeset at protect
+    \let\@currsize#1%
+  \fi
+  \fontsize{#2}{#3}\selectfont
+  \ifdim\parindent>\z@
+    \if at english
+      \parindent=1em
+    \else
+      \parindent=1zw
+    \fi
+  \fi
+  \kanjiskip=0zw plus .1zw minus .01zw
+  \ifdim\xkanjiskip>\z@
+    \if at slide \xkanjiskip=0.1em \else
+      \xkanjiskip=0.25em plus 0.15em minus 0.06em
+    \fi
+  \fi}
+\def\jsc at setfontsize#1#2#3{%
+  \@setfontsize#1{#2\jsc at mpt}{#3\jsc at mpt}}
+\emergencystretch 3zw
+\newif\ifnarrowbaselines
+\if at english
+  \narrowbaselinestrue
+\fi
+\def\narrowbaselines{%
+  \narrowbaselinestrue
+  \skip0=\abovedisplayskip
+  \skip2=\abovedisplayshortskip
+  \skip4=\belowdisplayskip
+  \skip6=\belowdisplayshortskip
+  \@currsize\selectfont
+  \abovedisplayskip=\skip0
+  \abovedisplayshortskip=\skip2
+  \belowdisplayskip=\skip4
+  \belowdisplayshortskip=\skip6\relax}
+\def\widebaselines{\narrowbaselinesfalse\@currsize\selectfont}
+\renewcommand{\normalsize}{%
+  \ifnarrowbaselines
+    \jsc at setfontsize\normalsize\@xpt\@xiipt
+  \else
+    \jsc at setfontsize\normalsize\@xpt{\n at baseline}%
+  \fi
+  \abovedisplayskip 11\jsc at mpt \@plus3\jsc at mpt \@minus4\jsc at mpt
+  \abovedisplayshortskip \z@ \@plus3\jsc at mpt
+  \belowdisplayskip 9\jsc at mpt \@plus3\jsc at mpt \@minus4\jsc at mpt
+  \belowdisplayshortskip \belowdisplayskip
+  \let\@listi\@listI}
+\normalsize
+\setbox0\hbox{\char\euc"A1A1}%
+\setlength\Cht{\ht0}
+\setlength\Cdp{\dp0}
+\setlength\Cwd{\wd0}
+\setlength\Cvs{\baselineskip}
+\setlength\Chs{\wd0}
+\newcommand{\small}{%
+  \ifnarrowbaselines
+    \jsc at setfontsize\small\@ixpt{11}%
+  \else
+    \jsc at setfontsize\small\@ixpt{13}%
+  \fi
+  \abovedisplayskip 9\jsc at mpt \@plus3\jsc at mpt \@minus4\jsc at mpt
+  \abovedisplayshortskip  \z@ \@plus3\jsc at mpt
+  \belowdisplayskip \abovedisplayskip
+  \belowdisplayshortskip \belowdisplayskip
+  \def\@listi{\leftmargin\leftmargini
+              \topsep \z@
+              \parsep \z@
+              \itemsep \parsep}}
+\newcommand{\footnotesize}{%
+  \ifnarrowbaselines
+    \jsc at setfontsize\footnotesize\@viiipt{9.5}%
+  \else
+    \jsc at setfontsize\footnotesize\@viiipt{11}%
+  \fi
+  \abovedisplayskip 6\jsc at mpt \@plus2\jsc at mpt \@minus3\jsc at mpt
+  \abovedisplayshortskip  \z@ \@plus2\jsc at mpt
+  \belowdisplayskip \abovedisplayskip
+  \belowdisplayshortskip \belowdisplayskip
+  \def\@listi{\leftmargin\leftmargini
+              \topsep \z@
+              \parsep \z@
+              \itemsep \parsep}}
+\newcommand{\scriptsize}{\jsc at setfontsize\scriptsize\@viipt\@viiipt}
+\newcommand{\tiny}{\jsc at setfontsize\tiny\@vpt\@vipt}
+\if at twocolumn
+  \newcommand{\large}{\jsc at setfontsize\large\@xiipt{\n at baseline}}
+\else
+  \newcommand{\large}{\jsc at setfontsize\large\@xiipt{17}}
+\fi
+\newcommand{\Large}{\jsc at setfontsize\Large\@xivpt{21}}
+\newcommand{\LARGE}{\jsc at setfontsize\LARGE\@xviipt{25}}
+\newcommand{\huge}{\jsc at setfontsize\huge\@xxpt{28}}
+\newcommand{\Huge}{\jsc at setfontsize\Huge\@xxvpt{33}}
+\newcommand{\HUGE}{\jsc at setfontsize\HUGE{30}{40}}
+\everydisplay=\expandafter{\the\everydisplay \narrowbaselines}
+\newcommand{\headfont}{\gtfamily\sffamily}
+\setlength\columnsep{2zw}
+\setlength\columnseprule{0\jsc at mpt}
+\setlength\lineskip{1\jsc at mpt}
+\setlength\normallineskip{1\jsc at mpt}
+\setlength\lineskiplimit{1\jsc at mpt}
+\setlength\normallineskiplimit{1\jsc at mpt}
+\renewcommand{\baselinestretch}{}
+\setlength\parskip{0\jsc at mpt}
+\if at slide
+  \setlength\parindent{0zw}
+\else
+  \setlength\parindent{1zw}
+\fi
+\@lowpenalty   51
+\@medpenalty  151
+\@highpenalty 301
+\setlength\topskip{1.38zw}%% from 10\jsc at mpt (2016-08-17)
+\if at slide
+  \setlength\headheight{0\jsc at mpt}
+\else
+  \setlength\headheight{20\jsc at mpt}%% from 2\topskip (2016-08-17); from \topskip (2003-06-26)
+\fi
+\setlength\footskip{0.03367\paperheight}
+\ifdim\footskip<\baselineskip
+  \setlength\footskip{\baselineskip}
+\fi
+\setlength\headsep{\footskip}
+\addtolength\headsep{-\topskip}
+\setlength\maxdepth{.5\topskip}
+\newdimen\fullwidth
+\setlength\fullwidth{0.76\paperwidth}
+\if at twocolumn \@tempdima=2zw \else \@tempdima=1zw \fi
+\divide\fullwidth\@tempdima \multiply\fullwidth\@tempdima
+\setlength\textwidth{\fullwidth}
+\if at slide
+  \setlength{\textheight}{0.95\paperheight}
+\else
+  \setlength{\textheight}{0.83\paperheight}
+\fi
+\addtolength{\textheight}{-10\jsc at mpt}%% from -\topskip (2016-10-08); from -\headheight (2003-06-26)
+\addtolength{\textheight}{-\headsep}
+\addtolength{\textheight}{-\footskip}
+\addtolength{\textheight}{-\topskip}
+\divide\textheight\baselineskip
+\multiply\textheight\baselineskip
+\addtolength{\textheight}{\topskip}
+\addtolength{\textheight}{0.1\jsc at mpt}
+\def\flushbottom{%
+  \def\@textbottom{\vskip \z@ \@plus.1\jsc at mpt}%
+  \let\@texttop\relax}
+\setlength\marginparsep{\columnsep}
+\setlength\marginparpush{\baselineskip}
+\setlength{\oddsidemargin}{\paperwidth}
+\addtolength{\oddsidemargin}{-\fullwidth}
+\setlength{\oddsidemargin}{.5\oddsidemargin}
+\iftombow
+  \addtolength{\oddsidemargin}{-1in}
+\else
+  \addtolength{\oddsidemargin}{-\inv at mag in}
+\fi
+\setlength{\evensidemargin}{\oddsidemargin}
+\if at mparswitch
+  \addtolength{\evensidemargin}{\fullwidth}
+  \addtolength{\evensidemargin}{-\textwidth}
+\fi
+\setlength\marginparwidth{\paperwidth}
+\addtolength\marginparwidth{-\oddsidemargin}
+\addtolength\marginparwidth{-\inv at mag in}
+\addtolength\marginparwidth{-\textwidth}
+\addtolength\marginparwidth{-10\jsc at mmm}
+\addtolength\marginparwidth{-\marginparsep}
+\@tempdima=1zw
+\divide\marginparwidth\@tempdima
+\multiply\marginparwidth\@tempdima
+\setlength\topmargin{\paperheight}
+\addtolength\topmargin{-\textheight}
+\if at slide
+  \addtolength\topmargin{-\headheight}
+\else
+  \addtolength\topmargin{-10\jsc at mpt}%% from -\topskip (2016-10-08); from -\headheight (2003-06-26)
+\fi
+\addtolength\topmargin{-\headsep}
+\addtolength\topmargin{-\footskip}
+\setlength\topmargin{0.5\topmargin}
+\iftombow
+  \addtolength\topmargin{-1in}
+\else
+  \addtolength\topmargin{-\inv at mag in}
+\fi
+{\footnotesize\global\setlength\footnotesep{\baselineskip}}
+\setlength\footnotesep{0.7\footnotesep}
+\setlength{\skip\footins}{16\jsc at mpt \@plus 5\jsc at mpt \@minus 2\jsc at mpt}
+\setcounter{topnumber}{9}
+\renewcommand{\topfraction}{.85}
+\setcounter{bottomnumber}{9}
+\renewcommand{\bottomfraction}{.8}
+\setcounter{totalnumber}{20}
+\renewcommand{\textfraction}{.1}
+\renewcommand{\floatpagefraction}{.8}
+\setcounter{dbltopnumber}{9}
+\renewcommand{\dbltopfraction}{.8}
+\renewcommand{\dblfloatpagefraction}{.8}
+\setlength\floatsep    {12\jsc at mpt \@plus 2\jsc at mpt \@minus 2\jsc at mpt}
+\setlength\textfloatsep{20\jsc at mpt \@plus 2\jsc at mpt \@minus 4\jsc at mpt}
+\setlength\intextsep   {12\jsc at mpt \@plus 2\jsc at mpt \@minus 2\jsc at mpt}
+\setlength\dblfloatsep    {12\jsc at mpt \@plus 2\jsc at mpt \@minus 2\jsc at mpt}
+\setlength\dbltextfloatsep{20\jsc at mpt \@plus 2\jsc at mpt \@minus 4\jsc at mpt}
+\setlength\@fptop{0\jsc at mpt \@plus 1fil}
+\setlength\@fpsep{8\jsc at mpt \@plus 2fil}
+\setlength\@fpbot{0\jsc at mpt \@plus 1fil}
+\setlength\@dblfptop{0\jsc at mpt \@plus 1fil}
+\setlength\@dblfpsep{8\jsc at mpt \@plus 2fil}
+\setlength\@dblfpbot{0\jsc at mpt \@plus 1fil}
+\def\pltx at cleartorightpage{\clearpage\if at twoside
+  \ifodd\c at page
+    \iftdir
+      \hbox{}\thispagestyle{empty}\newpage
+      \if at twocolumn\hbox{}\newpage\fi
+    \fi
+  \else
+    \ifydir
+      \hbox{}\thispagestyle{empty}\newpage
+      \if at twocolumn\hbox{}\newpage\fi
+    \fi
+  \fi\fi}
+\def\pltx at cleartoleftpage{\clearpage\if at twoside
+  \ifodd\c at page
+    \ifydir
+      \hbox{}\thispagestyle{empty}\newpage
+      \if at twocolumn\hbox{}\newpage\fi
+    \fi
+  \else
+    \iftdir
+      \hbox{}\thispagestyle{empty}\newpage
+      \if at twocolumn\hbox{}\newpage\fi
+    \fi
+  \fi\fi}
+\def\pltx at cleartooddpage{\clearpage\if at twoside
+  \ifodd\c at page\else
+    \hbox{}\thispagestyle{empty}\newpage
+    \if at twocolumn\hbox{}\newpage\fi
+  \fi\fi}
+\def\pltx at cleartoevenpage{\clearpage\if at twoside
+  \ifodd\c at page
+    \hbox{}\thispagestyle{empty}\newpage
+    \if at twocolumn\hbox{}\newpage\fi
+  \fi\fi}
+\if at openleft
+  \let\cleardoublepage\pltx at cleartoleftpage
+\else\if at openright
+  \let\cleardoublepage\pltx at cleartorightpage
+\fi\fi
+\def\ps at plainfoot{%
+  \let\@mkboth\@gobbletwo
+  \let\@oddhead\@empty
+  \def\@oddfoot{\normalfont\hfil\thepage\hfil}%
+  \let\@evenhead\@empty
+  \let\@evenfoot\@oddfoot}
+\def\ps at plainhead{%
+  \let\@mkboth\@gobbletwo
+  \let\@oddfoot\@empty
+  \let\@evenfoot\@empty
+  \def\@evenhead{%
+    \if at mparswitch \hss \fi
+    \hbox to \fullwidth{\textbf{\thepage}\hfil}%
+    \if at mparswitch\else \hss \fi}%
+  \def\@oddhead{%
+    \hbox to \fullwidth{\hfil\textbf{\thepage}}\hss}}
+\let\ps at plain\ps at plainfoot
+\newif\if at omit@number
+\def\ps at headings{%
+  \let\@oddfoot\@empty
+  \let\@evenfoot\@empty
+  \def\@evenhead{%
+    \if at mparswitch \hss \fi
+    \underline{\hbox to \fullwidth{\autoxspacing
+        \textbf{\thepage}\hfil\leftmark}}%
+    \if at mparswitch\else \hss \fi}%
+  \def\@oddhead{\underline{\hbox to \fullwidth{\autoxspacing
+        {\if at twoside\rightmark\else\leftmark\fi}\hfil\textbf{\thepage}}}\hss}%
+  \let\@mkboth\markboth
+  \def\chaptermark##1{\markboth{%
+    \ifnum \c at secnumdepth >\m at ne
+        \if at omit@number\else
+          \@chapapp\thechapter\@chappos\hskip1zw
+        \fi
+    \fi
+    ##1}{}}%
+  \def\sectionmark##1{\markright{%
+    \ifnum \c at secnumdepth >\z@ \thesection \hskip1zw\fi
+    ##1}}}%
+\def\ps at myheadings{%
+  \let\@oddfoot\@empty\let\@evenfoot\@empty
+  \def\@evenhead{%
+    \if at mparswitch \hss \fi%
+    \hbox to \fullwidth{\thepage\hfil\leftmark}%
+    \if at mparswitch\else \hss \fi}%
+  \def\@oddhead{%
+    \hbox to \fullwidth{\rightmark\hfil\thepage}\hss}%
+  \let\@mkboth\@gobbletwo
+  \let\chaptermark\@gobble
+  \let\sectionmark\@gobble
+}
+\def\plainifnotempty{%
+  \ifx \@oddhead \@empty
+    \ifx \@oddfoot \@empty
+    \else
+      \thispagestyle{plainfoot}%
+    \fi
+  \else
+    \thispagestyle{plainhead}%
+  \fi}
+\if at titlepage
+  \newcommand{\maketitle}{%
+    \begin{titlepage}%
+      \let\footnotesize\small
+      \let\footnoterule\relax
+      \let\footnote\thanks
+      \null\vfil
+      \if at slide
+        {\footnotesize \@date}%
+        \begin{center}
+          \mbox{} \\[1zw]
+          \large
+          {\maybeblue\hrule height0\jsc at mpt depth2\jsc at mpt\relax}\par
+          \jsc at smallskip
+          \@title
+          \jsc at smallskip
+          {\maybeblue\hrule height0\jsc at mpt depth2\jsc at mpt\relax}\par
+          \vfill
+          {\small \@author}%
+        \end{center}
+      \else
+      \vskip 60\jsc at mpt
+      \begin{center}%
+        {\LARGE \@title \par}%
+        \vskip 3em%
+        {\large
+          \lineskip .75em
+          \begin{tabular}[t]{c}%
+            \@author
+          \end{tabular}\par}%
+        \vskip 1.5em
+        {\large \@date \par}%
+      \end{center}%
+      \fi
+      \par
+      \@thanks\vfil\null
+    \end{titlepage}%
+    \setcounter{footnote}{0}%
+    \global\let\thanks\relax
+    \global\let\maketitle\relax
+    \global\let\@thanks\@empty
+    \global\let\@author\@empty
+    \global\let\@date\@empty
+    \global\let\@title\@empty
+    \global\let\title\relax
+    \global\let\author\relax
+    \global\let\date\relax
+    \global\let\and\relax
+  }%
+\else
+  \newcommand{\maketitle}{\par
+    \begingroup
+      \renewcommand\thefootnote{\@fnsymbol\c at footnote}%
+      \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
+      \long\def\@makefntext##1{\advance\leftskip 3zw
+        \parindent 1zw\noindent
+        \llap{\@textsuperscript{\normalfont\@thefnmark}\hskip0.3zw}##1}%
+      \if at twocolumn
+        \ifnum \col at number=\@ne
+          \@maketitle
+        \else
+          \twocolumn[\@maketitle]%
+        \fi
+      \else
+        \newpage
+        \global\@topnum\z@  % Prevents figures from going at top of page.
+        \@maketitle
+      \fi
+      \plainifnotempty
+      \@thanks
+    \endgroup
+    \setcounter{footnote}{0}%
+    \global\let\thanks\relax
+    \global\let\maketitle\relax
+    \global\let\@thanks\@empty
+    \global\let\@author\@empty
+    \global\let\@date\@empty
+    \global\let\@title\@empty
+    \global\let\title\relax
+    \global\let\author\relax
+    \global\let\date\relax
+    \global\let\and\relax
+  }
+  \def\@maketitle{%
+    \newpage\null
+    \vskip 2em
+    \begin{center}%
+      \let\footnote\thanks
+      {\LARGE \@title \par}%
+      \vskip 1.5em
+      {\large
+        \lineskip .5em
+        \begin{tabular}[t]{c}%
+          \@author
+        \end{tabular}\par}%
+      \vskip 1em
+      {\large \@date}%
+    \end{center}%
+    \par\vskip 1.5em
+    \ifvoid\@abstractbox\else\centerline{\box\@abstractbox}\vskip1.5em\fi
+  }
+\fi
+\def\@startsection#1#2#3#4#5#6{%
+  \if at noskipsec \leavevmode \fi
+  \par
+  \@tempskipa #4\relax
+  \if at english \@afterindentfalse \else \@afterindenttrue \fi
+  \ifdim \@tempskipa <\z@
+    \@tempskipa -\@tempskipa \@afterindentfalse
+  \fi
+  \if at nobreak
+    \everypar{}%
+  \else
+    \addpenalty\@secpenalty
+    \ifdim \@tempskipa >\z@
+      \if at slide\else
+        \null
+        \vspace*{-\baselineskip}%
+      \fi
+      \vskip\@tempskipa
+    \fi
+  \fi
+  \noindent
+  \@ifstar
+    {\@ssect{#3}{#4}{#5}{#6}}%
+    {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
+\def\@sect#1#2#3#4#5#6[#7]#8{%
+  \ifnum #2>\c at secnumdepth
+    \let\@svsec\@empty
+  \else
+    \refstepcounter{#1}%
+    \protected at edef\@svsec{\@seccntformat{#1}\relax}%
+  \fi
+  \@tempskipa #5\relax
+  \ifdim \@tempskipa<\z@
+    \def\@svsechd{%
+      #6{\hskip #3\relax
+      \@svsec #8}%
+      \csname #1mark\endcsname{#7}%
+      \addcontentsline{toc}{#1}{%
+        \ifnum #2>\c at secnumdepth \else
+          \protect\numberline{\csname the#1\endcsname}%
+        \fi
+        #7}}% $BL\<!$K%U%k%M!<%`$r:\$;$k$J$i(B #8
+  \else
+    \begingroup
+      \interlinepenalty \@M % $B2<$+$i0\F0(B
+      #6{%
+        \@hangfrom{\hskip #3\relax\@svsec}%
+        #8\@@par}%
+    \endgroup
+    \csname #1mark\endcsname{#7}%
+    \addcontentsline{toc}{#1}{%
+      \ifnum #2>\c at secnumdepth \else
+        \protect\numberline{\csname the#1\endcsname}%
+      \fi
+      #7}% $BL\<!$K%U%k%M!<%`$r:\$;$k$J$i$3$3$O(B #8
+  \fi
+  \@xsect{#5}}
+\def\@xsect#1{%
+  \@tempskipa #1\relax
+  \ifdim \@tempskipa<\z@
+    \@nobreakfalse
+    \global\@noskipsectrue
+    \everypar{%
+      \if at noskipsec
+        \global\@noskipsecfalse
+       {\setbox\z@\lastbox}%
+        \clubpenalty\@M
+        \begingroup \@svsechd \endgroup
+        \unskip
+        \@tempskipa #1\relax
+        \hskip -\@tempskipa
+      \else
+        \clubpenalty \@clubpenalty
+        \everypar{\everyparhook}%
+      \fi\everyparhook}%
+  \else
+    \par \nobreak
+    \vskip \@tempskipa
+    \@afterheading
+  \fi
+  \if at slide
+    {\vskip\if at twocolumn-5\jsc at mpt\else-6\jsc at mpt\fi
+     \maybeblue\hrule height0\jsc at mpt depth1\jsc at mpt
+     \vskip\if at twocolumn 4\jsc at mpt\else 7\jsc at mpt\fi\relax}%
+  \fi
+  \par  % 2000-12-18
+  \ignorespaces}
+\def\@ssect#1#2#3#4#5{%
+  \@tempskipa #3\relax
+  \ifdim \@tempskipa<\z@
+    \def\@svsechd{#4{\hskip #1\relax #5}}%
+  \else
+    \begingroup
+      #4{%
+        \@hangfrom{\hskip #1}%
+          \interlinepenalty \@M #5\@@par}%
+    \endgroup
+  \fi
+  \@xsect{#3}}
+\newcommand*\chaptermark[1]{}
+\setcounter{secnumdepth}{2}
+\newcounter{part}
+\newcounter{chapter}
+\newcounter{section}[chapter]
+\newcounter{subsection}[section]
+\newcounter{subsubsection}[subsection]
+\newcounter{paragraph}[subsubsection]
+\newcounter{subparagraph}[paragraph]
+\renewcommand{\thepart}{\@Roman\c at part}
+\renewcommand{\thechapter}{\@arabic\c at chapter}
+\renewcommand{\thesection}{\thechapter.\@arabic\c at section}
+\renewcommand{\thesubsection}{\thesection.\@arabic\c at subsection}
+\renewcommand{\thesubsubsection}{%
+   \thesubsection.\@arabic\c at subsubsection}
+\renewcommand{\theparagraph}{%
+   \thesubsubsection.\@arabic\c at paragraph}
+\renewcommand{\thesubparagraph}{%
+   \theparagraph.\@arabic\c at subparagraph}
+\newcommand{\@chapapp}{\prechaptername}
+\newcommand{\@chappos}{\postchaptername}
+\newcommand\part{%
+  \if at openleft
+    \cleardoublepage
+  \else\if at openright
+    \cleardoublepage
+  \else
+    \clearpage
+  \fi\fi
+  \thispagestyle{empty}% $B2$J8MQI8=`%9%?%$%k$G$O(B plain
+  \if at twocolumn
+    \onecolumn
+    \@restonecoltrue
+  \else
+    \@restonecolfalse
+  \fi
+  \null\vfil
+  \secdef\@part\@spart}
+\def\@part[#1]#2{%
+  \ifnum \c at secnumdepth >-2\relax
+    \refstepcounter{part}%
+    \addcontentsline{toc}{part}{%
+      \prepartname\thepart\postpartname\hspace{1zw}#1}%
+  \else
+    \addcontentsline{toc}{part}{#1}%
+  \fi
+  \markboth{}{}%
+  {\centering
+    \interlinepenalty \@M
+    \normalfont
+    \ifnum \c at secnumdepth >-2\relax
+      \huge\headfont \prepartname\thepart\postpartname
+      \par\vskip20\jsc at mpt
+    \fi
+    \Huge \headfont #2\par}%
+  \@endpart}
+\def\@spart#1{{%
+    \centering
+    \interlinepenalty \@M
+    \normalfont
+    \Huge \headfont #1\par}%
+  \@endpart}
+\def\@endpart{\vfil\newpage
+  \if at twoside
+   \if at openleft %% added (2017/02/24)
+    \null\thispagestyle{empty}\newpage
+   \else\if at openright %% added (2016/12/13)
+    \null\thispagestyle{empty}\newpage
+   \fi\fi %% added (2016/12/13, 2017/02/24)
+  \fi
+  \if at restonecol
+    \twocolumn
+  \fi}
+\newcommand{\chapter}{%
+  \if at openleft\cleardoublepage\else
+  \if at openright\cleardoublepage\else\clearpage\fi\fi
+  \plainifnotempty % $B85(B: \thispagestyle{plain}
+  \global\@topnum\z@
+  \if at english \@afterindentfalse \else \@afterindenttrue \fi
+  \secdef
+    {\@omit at numberfalse\@chapter}%
+    {\@omit at numbertrue\@schapter}}
+\def\@chapter[#1]#2{%
+  \ifnum \c at secnumdepth >\m at ne
+      \refstepcounter{chapter}%
+      \typeout{\@chapapp\thechapter\@chappos}%
+      \addcontentsline{toc}{chapter}%
+        {\protect\numberline
+        % {\if at english\thechapter\else\@chapapp\thechapter\@chappos\fi}%
+        {\@chapapp\thechapter\@chappos}%
+        #1}%
+  \else
+    \addcontentsline{toc}{chapter}{#1}%
+  \fi
+  \chaptermark{#1}%
+  \addtocontents{lof}{\protect\addvspace{10\jsc at mpt}}%
+  \addtocontents{lot}{\protect\addvspace{10\jsc at mpt}}%
+  \if at twocolumn
+    \@topnewpage[\@makechapterhead{#2}]%
+  \else
+    \@makechapterhead{#2}%
+    \@afterheading
+  \fi}
+\def\@makechapterhead#1{%
+  \vspace*{2\Cvs}% $B2$J8$O(B50pt
+  {\parindent \z@ \raggedright \normalfont
+    \ifnum \c at secnumdepth >\m at ne
+        \huge\headfont \@chapapp\thechapter\@chappos
+        \par\nobreak
+        \vskip \Cvs % $B2$J8$O(B20pt
+    \fi
+    \interlinepenalty\@M
+    \Huge \headfont #1\par\nobreak
+    \vskip 3\Cvs}} % $B2$J8$O(B40pt
+\def\@schapter#1{%
+  \chaptermark{#1}%
+  \if at twocolumn
+    \@topnewpage[\@makeschapterhead{#1}]%
+  \else
+    \@makeschapterhead{#1}\@afterheading
+  \fi}
+\def\@makeschapterhead#1{%
+  \vspace*{2\Cvs}% $B2$J8$O(B50pt
+  {\parindent \z@ \raggedright
+    \normalfont
+    \interlinepenalty\@M
+    \Huge \headfont #1\par\nobreak
+    \vskip 3\Cvs}} % $B2$J8$O(B40pt
+\if at twocolumn
+  \newcommand{\section}{%
+    \@startsection{section}{1}{\z@}%
+    {0.6\Cvs}{0.4\Cvs}%
+    {\normalfont\large\headfont\raggedright}}
+\else
+  \newcommand{\section}{%
+    \if at slide\clearpage\fi
+    \@startsection{section}{1}{\z@}%
+    {\Cvs \@plus.5\Cdp \@minus.2\Cdp}% $BA0%"%-(B
+    {.5\Cvs \@plus.3\Cdp}% $B8e%"%-(B
+    {\normalfont\Large\headfont\raggedright}}
+\fi
+\if at twocolumn
+  \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
+    {\z@}{\if at slide .4\Cvs \else \z@ \fi}%
+    {\normalfont\normalsize\headfont}}
+\else
+  \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
+    {\Cvs \@plus.5\Cdp \@minus.2\Cdp}% $BA0%"%-(B
+    {.5\Cvs \@plus.3\Cdp}% $B8e%"%-(B
+    {\normalfont\large\headfont}}
+\fi
+\if at twocolumn
+  \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
+    {\z@}{\if at slide .4\Cvs \else \z@ \fi}%
+    {\normalfont\normalsize\headfont}}
+\else
+  \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
+    {\Cvs \@plus.5\Cdp \@minus.2\Cdp}%
+    {\if at slide .5\Cvs \@plus.3\Cdp \else \z@ \fi}%
+    {\normalfont\normalsize\headfont}}
+\fi
+\newcommand{\jsParagraphMark}{$B"#(B}
+\if at twocolumn
+  \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
+    {\z@}{\if at slide .4\Cvs \else -1zw\fi}% $B2~9T$;$:(B 1zw $B$N%"%-(B
+    {\normalfont\normalsize\headfont\jsParagraphMark}}
+\else
+  \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
+    {0.5\Cvs \@plus.5\Cdp \@minus.2\Cdp}%
+    {\if at slide .5\Cvs \@plus.3\Cdp \else -1zw\fi}% $B2~9T$;$:(B 1zw $B$N%"%-(B
+    {\normalfont\normalsize\headfont\jsParagraphMark}}
+\fi
+\if at twocolumn
+  \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
+    {\z@}{\if at slide .4\Cvs \@plus.3\Cdp \else -1zw\fi}%
+    {\normalfont\normalsize\headfont}}
+\else
+  \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
+    {\z@}{\if at slide .5\Cvs \@plus.3\Cdp \else -1zw\fi}%
+    {\normalfont\normalsize\headfont}}
+\fi
+\if at slide
+  \setlength\leftmargini{1zw}
+\else
+  \if at twocolumn
+    \setlength\leftmargini{2zw}
+  \else
+    \setlength\leftmargini{3zw}
+  \fi
+\fi
+\if at slide
+  \setlength\leftmarginii {1zw}
+  \setlength\leftmarginiii{1zw}
+  \setlength\leftmarginiv {1zw}
+  \setlength\leftmarginv  {1zw}
+  \setlength\leftmarginvi {1zw}
+\else
+  \setlength\leftmarginii {2zw}
+  \setlength\leftmarginiii{2zw}
+  \setlength\leftmarginiv {2zw}
+  \setlength\leftmarginv  {1zw}
+  \setlength\leftmarginvi {1zw}
+\fi
+\setlength  \labelsep  {0.5zw} % .5em
+\setlength  \labelwidth{\leftmargini}
+\addtolength\labelwidth{-\labelsep}
+\setlength\partopsep{\z@} % {2\p@ \@plus 1\p@ \@minus 1\p@}
+\@beginparpenalty -\@lowpenalty
+\@endparpenalty   -\@lowpenalty
+\@itempenalty     -\@lowpenalty
+\def\@listi{\leftmargin\leftmargini
+  \parsep \z@
+  \topsep 0.5\baselineskip
+  \itemsep \z@ \relax}
+\let\@listI\@listi
+\@listi
+\def\@listii{\leftmargin\leftmarginii
+  \labelwidth\leftmarginii \advance\labelwidth-\labelsep
+  \topsep \z@
+  \parsep \z@
+  \itemsep\parsep}
+\def\@listiii{\leftmargin\leftmarginiii
+  \labelwidth\leftmarginiii \advance\labelwidth-\labelsep
+  \topsep \z@
+  \parsep \z@
+  \itemsep\parsep}
+\def\@listiv {\leftmargin\leftmarginiv
+              \labelwidth\leftmarginiv
+              \advance\labelwidth-\labelsep}
+\def\@listv  {\leftmargin\leftmarginv
+              \labelwidth\leftmarginv
+              \advance\labelwidth-\labelsep}
+\def\@listvi {\leftmargin\leftmarginvi
+              \labelwidth\leftmarginvi
+              \advance\labelwidth-\labelsep}
+\renewcommand{\theenumi}{\@arabic\c at enumi}
+\renewcommand{\theenumii}{\@alph\c at enumii}
+\renewcommand{\theenumiii}{\@roman\c at enumiii}
+\renewcommand{\theenumiv}{\@Alph\c at enumiv}
+\newcommand{\labelenumi}{\theenumi.}
+\newcommand{\labelenumii}{\inhibitglue$B!J(B\theenumii$B!K(B\inhibitglue}
+\newcommand{\labelenumiii}{\theenumiii.}
+\newcommand{\labelenumiv}{\theenumiv.}
+\renewcommand{\p at enumii}{\theenumi}
+\renewcommand{\p at enumiii}{\theenumi\inhibitglue$B!J(B\theenumii$B!K(B}
+\renewcommand{\p at enumiv}{\p at enumiii\theenumiii}
+\newcommand\labelitemi{\textbullet}
+\newcommand\labelitemii{\normalfont\bfseries \textendash}
+\newcommand\labelitemiii{\textasteriskcentered}
+\newcommand\labelitemiv{\textperiodcentered}
+\newenvironment{description}{%
+  \list{}{%
+    \labelwidth=\leftmargin
+    \labelsep=1zw
+    \advance \labelwidth by -\labelsep
+    \let \makelabel=\descriptionlabel}}{\endlist}
+\newcommand*\descriptionlabel[1]{\normalfont\headfont #1\hfil}
+\newbox\@abstractbox
+\if at titlepage
+  \newenvironment{abstract}{%
+    \titlepage
+    \null\vfil
+    \@beginparpenalty\@lowpenalty
+    \begin{center}%
+      \headfont \abstractname
+      \@endparpenalty\@M
+    \end{center}}%
+  {\par\vfil\null\endtitlepage}
+\else
+  \newenvironment{abstract}{%
+    \if at twocolumn
+      \ifx\maketitle\relax
+        \section*{\abstractname}%
+      \else
+        \global\setbox\@abstractbox\hbox\bgroup
+        \begin{minipage}[b]{\textwidth}
+          \small\parindent1zw
+          \begin{center}%
+            {\headfont \abstractname\vspace{-.5em}\vspace{\z@}}%
+          \end{center}%
+          \list{}{%
+            \listparindent\parindent
+            \itemindent \listparindent
+            \rightmargin \leftmargin}%
+          \item\relax
+      \fi
+    \else
+      \small
+      \begin{center}%
+        {\headfont \abstractname\vspace{-.5em}\vspace{\z@}}%
+      \end{center}%
+      \list{}{%
+        \listparindent\parindent
+        \itemindent \listparindent
+        \rightmargin \leftmargin}%
+      \item\relax
+    \fi}{\if at twocolumn
+      \ifx\maketitle\relax
+      \else
+        \endlist\end{minipage}\egroup
+      \fi
+    \else
+      \endlist
+    \fi}
+\fi
+\newenvironment{verse}{%
+  \let \\=\@centercr
+  \list{}{%
+    \itemsep \z@
+    \itemindent -2zw % $B85(B: -1.5em
+    \listparindent\itemindent
+    \rightmargin \z@
+    \advance\leftmargin 2zw}% $B85(B: 1.5em
+  \item\relax}{\endlist}
+\newenvironment{quotation}{%
+  \list{}{%
+    \listparindent\parindent
+    \itemindent\listparindent
+    \rightmargin \z@}%
+  \item\relax}{\endlist}
+\newenvironment{quote}%
+  {\list{}{\rightmargin\z@}\item\relax}{\endlist}
+\def\@begintheorem#1#2{\trivlist\labelsep=1zw
+   \item[\hskip \labelsep{\headfont #1\ #2}]}
+\def\@opargbegintheorem#1#2#3{\trivlist\labelsep=1zw
+      \item[\hskip \labelsep{\headfont #1\ #2$B!J(B#3$B!K(B}]}
+\newenvironment{titlepage}{%
+    \if at twocolumn
+      \@restonecoltrue\onecolumn
+    \else
+      \@restonecolfalse\newpage
+    \fi
+    \thispagestyle{empty}%
+    \ifodd\c at page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017-02-24
+  }%
+  {\if at restonecol\twocolumn \else \newpage \fi
+    \if at twoside\else
+      \setcounter{page}\@ne
+    \fi}
+\newcommand{\appendix}{\par
+  \setcounter{chapter}{0}%
+  \setcounter{section}{0}%
+  \gdef\@chapapp{\appendixname}%
+  \gdef\@chappos{}%
+  \gdef\thechapter{\@Alph\c at chapter}}
+\setlength\arraycolsep{5\jsc at mpt}
+\setlength\tabcolsep{6\jsc at mpt}
+\setlength\arrayrulewidth{.4\jsc at mpt}
+\setlength\doublerulesep{2\jsc at mpt}
+\setlength\tabbingsep{\labelsep}
+\skip\@mpfootins = \skip\footins
+\setlength\fboxsep{3\jsc at mpt}
+\setlength\fboxrule{.4\jsc at mpt}
+\@addtoreset{equation}{chapter}
+\renewcommand\theequation
+  {\ifnum \c at chapter>\z@ \thechapter.\fi \@arabic\c at equation}
+\newcounter{figure}[chapter]
+\renewcommand \thefigure
+     {\ifnum \c at chapter>\z@ \thechapter.\fi \@arabic\c at figure}
+\def\fps at figure{tbp}
+\def\ftype at figure{1}
+\def\ext at figure{lof}
+\def\fnum at figure{\figurename\nobreak\thefigure}
+\newenvironment{figure}%
+               {\@float{figure}}%
+               {\end at float}
+\newenvironment{figure*}%
+               {\@dblfloat{figure}}%
+               {\end at dblfloat}
+\newcounter{table}[chapter]
+\renewcommand \thetable
+     {\ifnum \c at chapter>\z@ \thechapter.\fi \@arabic\c at table}
+\def\fps at table{tbp}
+\def\ftype at table{2}
+\def\ext at table{lot}
+\def\fnum at table{\tablename\nobreak\thetable}
+\newenvironment{table}%
+               {\@float{table}}%
+               {\end at float}
+\newenvironment{table*}%
+               {\@dblfloat{table}}%
+               {\end at dblfloat}
+\newlength\abovecaptionskip
+\newlength\belowcaptionskip
+\setlength\abovecaptionskip{5\jsc at mpt} % $B85(B: 10\p@
+\setlength\belowcaptionskip{5\jsc at mpt} % $B85(B: 0\p@
+\long\def\@makecaption#1#2{{\small
+  \advance\leftskip .0628\linewidth
+  \advance\rightskip .0628\linewidth
+  \vskip\abovecaptionskip
+  \sbox\@tempboxa{#1\hskip1zw\relax #2}%
+  \ifdim \wd\@tempboxa <\hsize \centering \fi
+  #1\hskip1zw\relax #2\par
+  \vskip\belowcaptionskip}}
+\DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
+\DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
+\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
+\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
+\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
+\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
+\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
+\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
+\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
+\DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
+\DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
+\newcommand\@pnumwidth{1.55em}
+\newcommand\@tocrmarg{2.55em}
+\newcommand\@dotsep{4.5}
+\setcounter{tocdepth}{1}
+\newdimen\jsc at tocl@width
+\newcommand{\tableofcontents}{%
+  \settowidth\jsc at tocl@width{\headfont\prechaptername\postchaptername}%
+  \settowidth\@tempdima{\headfont\appendixname}%
+  \ifdim\jsc at tocl@width<\@tempdima \setlength\jsc at tocl@width{\@tempdima}\fi
+  \ifdim\jsc at tocl@width<2zw \divide\jsc at tocl@width by 2 \advance\jsc at tocl@width 1zw\fi
+  \if at twocolumn
+    \@restonecoltrue\onecolumn
+  \else
+    \@restonecolfalse
+  \fi
+  \chapter*{\contentsname}%
+  \@mkboth{\contentsname}{}%
+  \@starttoc{toc}%
+  \if at restonecol\twocolumn\fi
+}
+\newcommand*{\l at part}[2]{%
+  \ifnum \c at tocdepth >-2\relax
+    \addpenalty{-\@highpenalty}%
+    \addvspace{2.25em \@plus\jsc at mpt}%
+    \begingroup
+      \parindent \z@
+      \rightskip \@tocrmarg
+      \parfillskip -\rightskip
+      {\leavevmode
+        \large \headfont
+        \setlength\@lnumwidth{4zw}%
+        #1\hfil \hb at xt@\@pnumwidth{\hss #2}}\par
+      \nobreak
+    \global\@nobreaktrue
+    \everypar{\global\@nobreakfalse\everypar{}}%
+    \endgroup
+  \fi}
+\newcommand*{\l at chapter}[2]{%
+  \ifnum \c at tocdepth >\m at ne
+    \addpenalty{-\@highpenalty}%
+    \addvspace{1.0em \@plus\jsc at mpt}
+    \begingroup
+      \parindent\z@
+      \rightskip\@tocrmarg
+      \parfillskip-\rightskip
+      \leavevmode\headfont
+      % \if at english\setlength\@lnumwidth{5.5em}\else\setlength\@lnumwidth{4.683zw}\fi
+      \setlength\@lnumwidth{\jsc at tocl@width}\advance\@lnumwidth 2.683zw
+      \advance\leftskip\@lnumwidth \hskip-\leftskip
+      #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
+      \penalty\@highpenalty
+    \endgroup
+  \fi}
+ % \newcommand*{\l at section}{\@dottedtocline{1}{1zw}{3.683zw}}
+\newcommand*{\l at section}{%
+          \@tempdima\jsc at tocl@width \advance\@tempdima -1zw
+          \@dottedtocline{1}{\@tempdima}{3.683zw}}
+\newcommand*{\l at subsection}{%
+          \@tempdima\jsc at tocl@width \advance\@tempdima 2.683zw
+          \@dottedtocline{2}{\@tempdima}{3.5zw}}
+\newcommand*{\l at subsubsection}{%
+          \@tempdima\jsc at tocl@width \advance\@tempdima 6.183zw
+          \@dottedtocline{3}{\@tempdima}{4.5zw}}
+\newcommand*{\l at paragraph}{%
+          \@tempdima\jsc at tocl@width \advance\@tempdima 10.683zw
+          \@dottedtocline{4}{\@tempdima}{5.5zw}}
+\newcommand*{\l at subparagraph}{%
+          \@tempdima\jsc at tocl@width \advance\@tempdima 16.183zw
+          \@dottedtocline{5}{\@tempdima}{6.5zw}}
+\newdimen\@lnumwidth
+\def\numberline#1{\hb at xt@\@lnumwidth{#1\hfil}\hspace{0pt}}
+\def\@dottedtocline#1#2#3#4#5{\ifnum #1>\c at tocdepth \else
+  \vskip \z@ \@plus.2\jsc at mpt
+  {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
+    \parindent #2\relax\@afterindenttrue
+   \interlinepenalty\@M
+   \leavevmode
+   \@lnumwidth #3\relax
+   \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
+    {#4}\nobreak
+    \leaders\hbox{$\m at th \mkern \@dotsep mu\hbox{.}\mkern \@dotsep
+       mu$}\hfill \nobreak\hb at xt@\@pnumwidth{%
+         \hfil\normalfont \normalcolor #5}\par}\fi}
+\newcommand{\listoffigures}{%
+  \if at twocolumn\@restonecoltrue\onecolumn
+  \else\@restonecolfalse\fi
+  \chapter*{\listfigurename}%
+  \@mkboth{\listfigurename}{}%
+  \@starttoc{lof}%
+  \if at restonecol\twocolumn\fi
+}
+\newcommand*{\l at figure}{\@dottedtocline{1}{1zw}{3.683zw}}
+\newcommand{\listoftables}{%
+  \if at twocolumn\@restonecoltrue\onecolumn
+  \else\@restonecolfalse\fi
+  \chapter*{\listtablename}%
+  \@mkboth{\listtablename}{}%
+  \@starttoc{lot}%
+  \if at restonecol\twocolumn\fi
+}
+\let\l at table\l at figure
+\newdimen\bibindent
+\setlength\bibindent{2zw}
+\newenvironment{thebibliography}[1]{%
+  \global\let\presectionname\relax
+  \global\let\postsectionname\relax
+  \chapter*{\bibname}\@mkboth{\bibname}{}%
+  \addcontentsline{toc}{chapter}{\bibname}%
+   \list{\@biblabel{\@arabic\c at enumiv}}%
+        {\settowidth\labelwidth{\@biblabel{#1}}%
+         \leftmargin\labelwidth
+         \advance\leftmargin\labelsep
+         \@openbib at code
+         \usecounter{enumiv}%
+         \let\p at enumiv\@empty
+         \renewcommand\theenumiv{\@arabic\c at enumiv}}%
+   \sloppy
+   \clubpenalty4000
+   \@clubpenalty\clubpenalty
+   \widowpenalty4000%
+   \sfcode`\.\@m}
+  {\def\@noitemerr
+    {\@latex at warning{Empty `thebibliography' environment}}%
+   \endlist}
+\newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
+\let\@openbib at code\@empty
+\newenvironment{theindex}{% $B:w0z$r(B3$BCJAH$G=PNO$9$k4D6-(B
+    \if at twocolumn
+      \onecolumn\@restonecolfalse
+    \else
+      \clearpage\@restonecoltrue
+    \fi
+    \columnseprule.4pt \columnsep 2zw
+    \ifx\multicols\@undefined
+      \twocolumn[\@makeschapterhead{\indexname}%
+      \addcontentsline{toc}{chapter}{\indexname}]%
+    \else
+      \ifdim\textwidth<\fullwidth
+        \setlength{\evensidemargin}{\oddsidemargin}
+        \setlength{\textwidth}{\fullwidth}
+        \setlength{\linewidth}{\fullwidth}
+        \begin{multicols}{3}[\chapter*{\indexname}%
+        \addcontentsline{toc}{chapter}{\indexname}]%
+      \else
+        \begin{multicols}{2}[\chapter*{\indexname}%
+        \addcontentsline{toc}{chapter}{\indexname}]%
+      \fi
+    \fi
+    \@mkboth{\indexname}{}%
+    \plainifnotempty % \thispagestyle{plain}
+    \parindent\z@
+    \parskip\z@ \@plus .3\jsc at mpt\relax
+    \let\item\@idxitem
+    \raggedright
+    \footnotesize\narrowbaselines
+  }{
+    \ifx\multicols\@undefined
+      \if at restonecol\onecolumn\fi
+    \else
+      \end{multicols}
+    \fi
+    \clearpage
+  }
+\newcommand{\@idxitem}{\par\hangindent 4zw} % $B85(B 40pt
+\newcommand{\subitem}{\@idxitem \hspace*{2zw}} % $B85(B 20pt
+\newcommand{\subsubitem}{\@idxitem \hspace*{3zw}} % $B85(B 30pt
+\newcommand{\indexspace}{\par \vskip 10\jsc at mpt \@plus5\jsc at mpt \@minus3\jsc at mpt\relax}
+\newcommand\seename{\if at english see\else $B"*(B\fi}
+\newcommand\alsoname{\if at english see also\else $B"*(B\fi}
+\@ifl at t@r\pfmtversion{2016/09/03}
+    {\jsc at needsp@tchfalse}{\jsc at needsp@tchtrue}
+\ifjsc at needsp@tch
+  \let\footnotes at ve=\footnote
+  \def\footnote{\inhibitglue\footnotes at ve}
+  \let\footnotemarks at ve=\footnotemark
+  \def\footnotemark{\inhibitglue\footnotemarks at ve}
+\fi
+\@ifl at t@r\pfmtversion{2016/04/17}
+    {\jsc at needsp@tchfalse}{\jsc at needsp@tchtrue}
+\ifjsc at needsp@tch
+\renewcommand\@makefnmark{%
+  \ifydir \hbox{}\hbox{\@textsuperscript{\normalfont\@thefnmark}}\hbox{}%
+  \else\hbox{\yoko\@textsuperscript{\normalfont\@thefnmark}}\fi}
+\fi
+\def\thefootnote{\ifnum\c at footnote>\z@\leavevmode\lower.5ex\hbox{*}\@arabic\c at footnote\fi}
+\renewcommand{\footnoterule}{%
+  \kern-3\jsc at mpt
+  \hrule width .4\columnwidth height 0.4\jsc at mpt
+  \kern 2.6\jsc at mpt}
+\@addtoreset{footnote}{chapter}
+\long\def\@footnotetext{%
+  \insert\footins\bgroup
+    \normalfont\footnotesize
+    \interlinepenalty\interfootnotelinepenalty
+    \splittopskip\footnotesep
+    \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
+    \hsize\columnwidth \@parboxrestore
+    \protected at edef\@currentlabel{%
+       \csname p at footnote\endcsname\@thefnmark
+    }%
+    \color at begingroup
+      \@makefntext{%
+        \rule\z@\footnotesep\ignorespaces}%
+      \futurelet\next\fo at t}
+\def\fo at t{\ifcat\bgroup\noexpand\next \let\next\f@@t
+                                \else \let\next\f at t\fi \next}
+\def\f@@t{\bgroup\aftergroup\@foot\let\next}
+\def\f at t#1{#1\@foot}
+\def\@foot{\@finalstrut\strutbox\color at endgroup\egroup
+  \ifx\pltx at foot@penalty\@undefined\else
+    \ifhmode\null\fi
+    \ifnum\pltx at foot@penalty=\z@\else
+      \penalty\pltx at foot@penalty
+      \pltx at foot@penalty\z@
+    \fi
+  \fi}
+\newcommand\@makefntext[1]{%
+  \advance\leftskip 3zw
+  \parindent 1zw
+  \noindent
+  \llap{\@makefnmark\hskip0.3zw}#1}
+\def\@inhibitglue{%
+  \futurelet\@let at token\@@inhibitglue}
+\begingroup
+\let\GDEF=\gdef
+\let\CATCODE=\catcode
+\let\ENDGROUP=\endgroup
+\CATCODE`k=12
+\CATCODE`a=12
+\CATCODE`n=12
+\CATCODE`j=12
+\CATCODE`i=12
+\CATCODE`c=12
+\CATCODE`h=12
+\CATCODE`r=12
+\CATCODE`t=12
+\CATCODE`e=12
+\GDEF\KANJI at CHARACTER{kanji character }
+\ENDGROUP
+\def\@@inhibitglue{%
+  \expandafter\expandafter\expandafter\jsc at inhibitglue\expandafter\meaning\expandafter\@let at token\KANJI at CHARACTER\relax\jsc at end}
+\expandafter\def\expandafter\jsc at inhibitglue\expandafter#\expandafter1\KANJI at CHARACTER#2#3\jsc at end{%
+  \def\jsc at ig@temp{#1}%
+  \ifx\jsc at ig@temp\@empty
+    \ifnum\the\inhibitxspcode`#2=2\relax
+      \inhibitglue
+    \fi
+  \fi}
+\let\everyparhook=\@inhibitglue
+\AtBeginDocument{\everypar{\everyparhook}}
+\def\@doendpe{%
+  \@endpetrue
+  \def\par{%
+    \@restorepar\clubpenalty\@clubpenalty\everypar{\everyparhook}\par\@endpefalse}%
+  \everypar{{\setbox\z@\lastbox}\everypar{\everyparhook}\@endpefalse\everyparhook}}
+\def\@item[#1]{%
+  \if at noparitem
+    \@donoparitem
+  \else
+    \if at inlabel
+      \indent \par
+    \fi
+    \ifhmode
+      \unskip\unskip \par
+    \fi
+    \if at newlist
+      \if at nobreak
+        \@nbitem
+      \else
+        \addpenalty\@beginparpenalty
+        \addvspace\@topsep
+        \addvspace{-\parskip}%
+      \fi
+    \else
+      \addpenalty\@itempenalty
+      \addvspace\itemsep
+    \fi
+    \global\@inlabeltrue
+  \fi
+  \everypar{%
+    \@minipagefalse
+    \global\@newlistfalse
+    \if at inlabel
+      \global\@inlabelfalse
+      {\setbox\z@\lastbox
+       \ifvoid\z@
+         \kern-\itemindent
+       \fi}%
+      \box\@labels
+      \penalty\z@
+    \fi
+    \if at nobreak
+      \@nobreakfalse
+      \clubpenalty \@M
+    \else
+      \clubpenalty \@clubpenalty
+      \everypar{\everyparhook}%
+    \fi\everyparhook}%
+  \if at noitemarg
+    \@noitemargfalse
+    \if at nmbrlist
+      \refstepcounter\@listctr
+    \fi
+  \fi
+  \sbox\@tempboxa{\makelabel{#1}}%
+  \global\setbox\@labels\hbox{%
+    \unhbox\@labels
+    \hskip \itemindent
+    \hskip -\labelwidth
+    \hskip -\labelsep
+    \ifdim \wd\@tempboxa >\labelwidth
+      \box\@tempboxa
+    \else
+      \hbox to\labelwidth {\unhbox\@tempboxa}%
+    \fi
+    \hskip \labelsep}%
+  \ignorespaces}
+\def\@afterheading{%
+  \@nobreaktrue
+  \everypar{%
+    \if at nobreak
+      \@nobreakfalse
+      \clubpenalty \@M
+      \if at afterindent \else
+        {\setbox\z@\lastbox}%
+      \fi
+    \else
+      \clubpenalty \@clubpenalty
+      \everypar{\everyparhook}%
+    \fi\everyparhook}}
+\def\@gnewline #1{%
+  \ifvmode
+    \@nolnerr
+  \else
+    \unskip \reserved at e {\reserved at f#1}\nobreak \hfil \break \null
+    \inhibitglue \ignorespaces
+  \fi}
+\if at jslogo
+  \IfFileExists{jslogo.sty}{%
+    \RequirePackage{jslogo}%
+    \def\$B>.(B{\jslg at small}%
+    \def\$B>e>.(B{\jslg at uppersmall}%
+  }{%
+    \ClassWarningNoLine{\jsc at clsname}{%
+      The redefinitions of LaTeX-related logos has\MessageBreak
+      been moved to jslogo.sty since 2016, but\MessageBreak
+      jslogo.sty not found. Current release of\MessageBreak
+      'jsclasses' includes it, so please check\MessageBreak
+      the installation}%
+  }
+\fi
+\newcommand{\prepartname}{\if at english Part~\else $BBh(B\fi}
+\newcommand{\postpartname}{\if at english\else $BIt(B\fi}
+\newcommand{\prechaptername}{\if at english Chapter~\else $BBh(B\fi}
+\newcommand{\postchaptername}{\if at english\else $B>O(B\fi}
+\newcommand{\presectionname}{}%  $BBh(B
+\newcommand{\postsectionname}{}% $B at a(B
+\newcommand{\contentsname}{\if at english Contents\else $BL\<!(B\fi}
+\newcommand{\listfigurename}{\if at english List of Figures\else $B?^L\<!(B\fi}
+\newcommand{\listtablename}{\if at english List of Tables\else $BI=L\<!(B\fi}
+\newcommand{\refname}{\if at english References\else $B;29MJ88%(B\fi}
+\newcommand{\bibname}{\if at english Bibliography\else $B;29MJ88%(B\fi}
+\newcommand{\indexname}{\if at english Index\else $B:w0z(B\fi}
+\newcommand{\figurename}{\if at english Fig.~\else $B?^(B\fi}
+\newcommand{\tablename}{\if at english Table~\else $BI=(B\fi}
+\newcommand{\appendixname}{\if at english \else $BIUO?(B\fi}
+\newcommand{\abstractname}{\if at english Abstract\else $B35MW(B\fi}
+\newif\if$B@>Nq(B \$B@>Nq(Btrue
+\def\$B@>Nq(B{\$B@>Nq(Btrue}
+\def\$BOBNq(B{\$B@>Nq(Bfalse}
+\newcount\heisei \heisei\year \advance\heisei-1988\relax
+\def\today{%
+  \if at english
+    \ifcase\month\or
+      January\or February\or March\or April\or May\or June\or
+      July\or August\or September\or October\or November\or December\fi
+      \space\number\day, \number\year
+  \else
+    \if$B@>Nq(B
+      \number\year $BG/(B
+      \number\month $B7n(B
+      \number\day $BF|(B
+    \else
+      $BJ?@.(B\number\heisei $BG/(B
+      \number\month $B7n(B
+      \number\day $BF|(B
+    \fi
+  \fi}
+\hyphenation{ado-be post-script ghost-script phe-nom-e-no-log-i-cal man-u-script}
+\pagestyle{plain}
+\pagenumbering{arabic}
+\if at twocolumn
+  \twocolumn
+  \sloppy
+  \flushbottom
+\else
+  \onecolumn
+  \raggedbottom
+\fi
+\if at slide
+  \renewcommand\kanjifamilydefault{\gtdefault}
+  \renewcommand\familydefault{\sfdefault}
+  \raggedright
+  \xkanjiskip=0.1em\relax
+\fi
+\@ifpackageloaded{exppl2e}{\jsc at needsp@tchtrue}{\jsc at needsp@tchfalse}
+\ifjsc at needsp@tch\else
+  \expandafter\endinput
+\fi
+\def\@gnewline #1{%
+  \ifvmode
+    \@nolnerr
+  \else
+    \unskip \reserved at e {\reserved at f#1}\nobreak \hfil \break \hskip \z@
+    \ignorespaces
+  \fi}
+\endinput
+%%
+%% End of file `jsreport.cls'.

Modified: trunk/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls
===================================================================
--- trunk/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls	2017-02-24 22:17:16 UTC (rev 43330)
+++ trunk/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls	2017-02-24 22:17:33 UTC (rev 43331)
@@ -22,7 +22,7 @@
 %% in the same archive or directory.)
 \NeedsTeXFormat{pLaTeX2e}
 \ProvidesClass{kiyou}
-  [2017/01/13 okumura, texjporg]
+  [2017/02/24 okumura, texjporg]
 \def\jsc at clsname{kiyou}
 \newif\ifjsc at needsp@tch
 \jsc at needsp@tchfalse
@@ -1420,7 +1420,7 @@
       \@restonecolfalse\newpage
     \fi
     \thispagestyle{empty}%
-    \setcounter{page}\@ne
+    \ifodd\c at page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017-02-24
   }%
   {\if at restonecol\twocolumn \else \newpage \fi
     \if at twoside\else
@@ -1713,8 +1713,8 @@
 \def\@@inhibitglue{%
   \expandafter\expandafter\expandafter\jsc at inhibitglue\expandafter\meaning\expandafter\@let at token\KANJI at CHARACTER\relax\jsc at end}
 \expandafter\def\expandafter\jsc at inhibitglue\expandafter#\expandafter1\KANJI at CHARACTER#2#3\jsc at end{%
-  \def\jsc at tempa{#1}%
-  \ifx\jsc at tempa\@empty
+  \def\jsc at ig@temp{#1}%
+  \ifx\jsc at ig@temp\@empty
     \ifnum\the\inhibitxspcode`#2=2\relax
       \inhibitglue
     \fi
@@ -1858,7 +1858,7 @@
     \fi
   \fi}
 \hyphenation{ado-be post-script ghost-script phe-nom-e-no-log-i-cal man-u-script}
-\if at slide \pagestyle{empty} \else \pagestyle{plain} \fi
+\pagestyle{plain}
 \pagenumbering{arabic}
 \if at twocolumn
   \twocolumn



More information about the tex-live-commits mailing list