diff options
author | Karl Berry <karl@freefriends.org> | 2017-10-05 00:41:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-10-05 00:41:58 +0000 |
commit | e318605d00d63a8a5f31bf3e47017593958ab837 (patch) | |
tree | 9c11a20af099533930af6062b6e8933bc2a40e67 /Master/texmf-dist/tex/platex/jsclasses/jsbook.cls | |
parent | 3096a3dc265f5bfed166d88753c04db754c8bfd0 (diff) |
jsclasses (4oct17)
git-svn-id: svn://tug.org/texlive/trunk@45473 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/platex/jsclasses/jsbook.cls')
-rw-r--r-- | Master/texmf-dist/tex/platex/jsclasses/jsbook.cls | 130 |
1 files changed, 67 insertions, 63 deletions
diff --git a/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls b/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls index e4753f85d32..4bdcec88810 100644 --- a/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls +++ b/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls @@ -20,9 +20,12 @@ %% original source files, as listed above, are part of the %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) +\ifx\epTeXinputencoding\undefined\else + \epTeXinputencoding utf8 % ^^A added (2017-10-04) +\fi \NeedsTeXFormat{pLaTeX2e} \ProvidesClass{jsbook} - [2017/09/03 jsclasses (okumura, texjporg)] + [2017/10/04 jsclasses (okumura, texjporg)] \def\jsc@clsname{jsbook} \newif\ifjsc@needsp@tch \jsc@needsp@tchfalse @@ -551,11 +554,11 @@ \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 +\prebreakpenalty\jis"2147=10000 % 5000 ’ +\postbreakpenalty\jis"2148=10000 % 5000 “ +\prebreakpenalty\jis"2149=10000 % 5000 ” +\inhibitxspcode`!=1 +\inhibitxspcode`〒=2 \xspcode`+=3 \xspcode`\%=3 \xspcode`^^80=3 @@ -742,6 +745,7 @@ \setlength\Cwd{\wd0} \setlength\Cvs{\baselineskip} \setlength\Chs{\wd0} +\setbox0=\box\voidb@x \newcommand{\small}{% \ifnarrowbaselines \jsc@setfontsize\small\@ixpt{11}% @@ -1162,10 +1166,10 @@ \ifnum #2>\c@secnumdepth \else \protect\numberline{\csname the#1\endcsname}% \fi - #7}}% $BL\<!$K%U%k%M!<%`$r:\$;$k$J$i(B #8 + #7}}% 目次にフルネームを載せるなら #8 \else \begingroup - \interlinepenalty \@M % $B2<$+$i0\F0(B + \interlinepenalty \@M % 下から移動 #6{% \@hangfrom{\hskip #3\relax\@svsec}% #8\@@par}% @@ -1175,7 +1179,7 @@ \ifnum #2>\c@secnumdepth \else \protect\numberline{\csname the#1\endcsname}% \fi - #7}% $BL\<!$K%U%k%M!<%`$r:\$;$k$J$i$3$3$O(B #8 + #7}% 目次にフルネームを載せるならここは #8 \fi \@xsect{#5}} \def\@xsect#1{% @@ -1266,7 +1270,7 @@ \else \clearpage \fi\fi - \thispagestyle{empty}% $B2$J8MQI8=`%9%?%$%k$G$O(B plain + \thispagestyle{empty}% 欧文用標準スタイルでは plain \if@twocolumn \onecolumn \@restonecoltrue @@ -1313,7 +1317,7 @@ \newcommand{\chapter}{% \if@openleft\cleardoublepage\else \if@openright\cleardoublepage\else\clearpage\fi\fi - \plainifnotempty % $B85(B: \thispagestyle{plain} + \plainifnotempty % 元: \thispagestyle{plain} \global\@topnum\z@ \if@english \@afterindentfalse \else \@afterindenttrue \fi \secdef @@ -1343,18 +1347,18 @@ \@afterheading \fi} \def\@makechapterhead#1{% - \vspace*{2\Cvs}% $B2$J8$O(B50pt + \vspace*{2\Cvs}% 欧文は50pt {\parindent \z@ \raggedright \normalfont \ifnum \c@secnumdepth >\m@ne \if@mainmatter \huge\headfont \@chapapp\thechapter\@chappos \par\nobreak - \vskip \Cvs % $B2$J8$O(B20pt + \vskip \Cvs % 欧文は20pt \fi \fi \interlinepenalty\@M \Huge \headfont #1\par\nobreak - \vskip 3\Cvs}} % $B2$J8$O(B40pt + \vskip 3\Cvs}} % 欧文は40pt \def\@schapter#1{% \chaptermark{#1}% \if@twocolumn @@ -1363,12 +1367,12 @@ \@makeschapterhead{#1}\@afterheading \fi} \def\@makeschapterhead#1{% - \vspace*{2\Cvs}% $B2$J8$O(B50pt + \vspace*{2\Cvs}% 欧文は50pt {\parindent \z@ \raggedright \normalfont \interlinepenalty\@M \Huge \headfont #1\par\nobreak - \vskip 3\Cvs}} % $B2$J8$O(B40pt + \vskip 3\Cvs}} % 欧文は40pt \if@twocolumn \newcommand{\section}{% \@startsection{section}{1}{\z@}% @@ -1378,8 +1382,8 @@ \newcommand{\section}{% \if@slide\clearpage\fi \@startsection{section}{1}{\z@}% - {\Cvs \@plus.5\Cdp \@minus.2\Cdp}% $BA0%"%-(B - {.5\Cvs \@plus.3\Cdp}% $B8e%"%-(B + {\Cvs \@plus.5\Cdp \@minus.2\Cdp}% 前アキ + {.5\Cvs \@plus.3\Cdp}% 後アキ {\normalfont\Large\headfont\raggedright}} \fi \if@twocolumn @@ -1388,8 +1392,8 @@ {\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 + {\Cvs \@plus.5\Cdp \@minus.2\Cdp}% 前アキ + {.5\Cvs \@plus.3\Cdp}% 後アキ {\normalfont\large\headfont}} \fi \if@twocolumn @@ -1402,15 +1406,15 @@ {\if@slide .5\Cvs \@plus.3\Cdp \else \z@ \fi}% {\normalfont\normalsize\headfont}} \fi -\newcommand{\jsParagraphMark}{$B"#(B} +\newcommand{\jsParagraphMark}{■} \if@twocolumn \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}% - {\z@}{\if@slide .4\Cvs \else -1zw\fi}% $B2~9T$;$:(B 1zw $B$N%"%-(B + {\z@}{\if@slide .4\Cvs \else -1zw\fi}% 改行せず 1zw のアキ {\normalfont\normalsize\headfont\jsParagraphMark}} \else \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}% {0.5\Cvs \@plus.5\Cdp \@minus.2\Cdp}% - {\if@slide .5\Cvs \@plus.3\Cdp \else -1zw\fi}% $B2~9T$;$:(B 1zw $B$N%"%-(B + {\if@slide .5\Cvs \@plus.3\Cdp \else -1zw\fi}% 改行せず 1zw のアキ {\normalfont\normalsize\headfont\jsParagraphMark}} \fi \if@twocolumn @@ -1481,11 +1485,11 @@ \renewcommand{\theenumiii}{\@roman\c@enumiii} \renewcommand{\theenumiv}{\@Alph\c@enumiv} \newcommand{\labelenumi}{\theenumi.} -\newcommand{\labelenumii}{\inhibitglue$B!J(B\theenumii$B!K(B\inhibitglue} +\newcommand{\labelenumii}{\inhibitglue(\theenumii)\inhibitglue} \newcommand{\labelenumiii}{\theenumiii.} \newcommand{\labelenumiv}{\theenumiv.} \renewcommand{\p@enumii}{\theenumi} -\renewcommand{\p@enumiii}{\theenumi\inhibitglue$B!J(B\theenumii$B!K(B} +\renewcommand{\p@enumiii}{\theenumi\inhibitglue(\theenumii)} \renewcommand{\p@enumiv}{\p@enumiii\theenumiii} \newcommand\labelitemi{\textbullet} \newcommand\labelitemii{\normalfont\bfseries \textendash} @@ -1508,10 +1512,10 @@ \let \\=\@centercr \list{}{% \itemsep \z@ - \itemindent -2zw % $B85(B: -1.5em + \itemindent -2zw % 元: -1.5em \listparindent\itemindent \rightmargin \z@ - \advance\leftmargin 2zw}% $B85(B: 1.5em + \advance\leftmargin 2zw}% 元: 1.5em \item\relax}{\endlist} \newenvironment{quotation}{% \list{}{% @@ -1524,7 +1528,7 @@ \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}]} + \item[\hskip \labelsep{\headfont #1\ #2(#3)}]} \newenvironment{titlepage}{% \pltx@cleartooddpage %% 2017-02-24 \if@twocolumn @@ -1584,8 +1588,8 @@ {\end@dblfloat} \newlength\abovecaptionskip \newlength\belowcaptionskip -\setlength\abovecaptionskip{5\jsc@mpt} % $B85(B: 10\p@ -\setlength\belowcaptionskip{5\jsc@mpt} % $B85(B: 0\p@ +\setlength\abovecaptionskip{5\jsc@mpt} % 元: 10\p@ +\setlength\belowcaptionskip{5\jsc@mpt} % 元: 0\p@ \long\def\@makecaption#1#2{{\small \advance\leftskip .0628\linewidth \advance\rightskip .0628\linewidth @@ -1731,7 +1735,7 @@ \endlist} \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em} \let\@openbib@code\@empty -\newenvironment{theindex}{% $B:w0z$r(B3$BCJAH$G=PNO$9$k4D6-(B +\newenvironment{theindex}{% 索引を3段組で出力する環境 \if@twocolumn \onecolumn\@restonecolfalse \else @@ -1768,12 +1772,12 @@ \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{\@idxitem}{\par\hangindent 4zw} % 元 40pt +\newcommand{\subitem}{\@idxitem \hspace*{2zw}} % 元 20pt +\newcommand{\subsubitem}{\@idxitem \hspace*{3zw}} % 元 30pt \newcommand{\indexspace}{\par \vskip 10\jsc@mpt \@plus5\jsc@mpt \@minus3\jsc@mpt\relax} -\newcommand\seename{\if@english see\else $B"*(B\fi} -\newcommand\alsoname{\if@english see also\else $B"*(B\fi} +\newcommand\seename{\if@english see\else →\fi} +\newcommand\alsoname{\if@english see also\else →\fi} \@ifl@t@r\pfmtversion{2016/09/03} {\jsc@needsp@tchfalse}{\jsc@needsp@tchtrue} \ifjsc@needsp@tch @@ -1949,8 +1953,8 @@ \if@jslogo \IfFileExists{jslogo.sty}{% \RequirePackage{jslogo}% - \def\$B>.(B{\jslg@small}% - \def\$B>e>.(B{\jslg@uppersmall}% + \def\小{\jslg@small}% + \def\上小{\jslg@uppersmall}% }{% \ClassWarningNoLine{\jsc@clsname}{% The redefinitions of LaTeX-related logos has\MessageBreak @@ -1960,24 +1964,24 @@ the installation}% } \fi -\newcommand{\prepartname}{\if@english Part~\else $BBh(B\fi} -\newcommand{\postpartname}{\if@english\else $BIt(B\fi} -\newcommand{\prechaptername}{\if@english Chapter~\else $BBh(B\fi} -\newcommand{\postchaptername}{\if@english\else $B>O(B\fi} -\newcommand{\presectionname}{}% $BBh(B -\newcommand{\postsectionname}{}% $B@a(B -\newcommand{\contentsname}{\if@english Contents\else $BL\<!(B\fi} -\newcommand{\listfigurename}{\if@english List of Figures\else $B?^L\<!(B\fi} -\newcommand{\listtablename}{\if@english List of Tables\else $BI=L\<!(B\fi} -\newcommand{\refname}{\if@english References\else $B;29MJ88%(B\fi} -\newcommand{\bibname}{\if@english Bibliography\else $B;29MJ88%(B\fi} -\newcommand{\indexname}{\if@english Index\else $B:w0z(B\fi} -\newcommand{\figurename}{\if@english Fig.~\else $B?^(B\fi} -\newcommand{\tablename}{\if@english Table~\else $BI=(B\fi} -\newcommand{\appendixname}{\if@english \else $BIUO?(B\fi} -\newif\if$B@>Nq(B \$B@>Nq(Btrue -\def\$B@>Nq(B{\$B@>Nq(Btrue} -\def\$BOBNq(B{\$B@>Nq(Bfalse} +\newcommand{\prepartname}{\if@english Part~\else 第\fi} +\newcommand{\postpartname}{\if@english\else 部\fi} +\newcommand{\prechaptername}{\if@english Chapter~\else 第\fi} +\newcommand{\postchaptername}{\if@english\else 章\fi} +\newcommand{\presectionname}{}% 第 +\newcommand{\postsectionname}{}% 節 +\newcommand{\contentsname}{\if@english Contents\else 目次\fi} +\newcommand{\listfigurename}{\if@english List of Figures\else 図目次\fi} +\newcommand{\listtablename}{\if@english List of Tables\else 表目次\fi} +\newcommand{\refname}{\if@english References\else 参考文献\fi} +\newcommand{\bibname}{\if@english Bibliography\else 参考文献\fi} +\newcommand{\indexname}{\if@english Index\else 索引\fi} +\newcommand{\figurename}{\if@english Fig.~\else 図\fi} +\newcommand{\tablename}{\if@english Table~\else 表\fi} +\newcommand{\appendixname}{\if@english \else 付録\fi} +\newif\if西暦 \西暦true +\def\西暦{\西暦true} +\def\和暦{\西暦false} \newcount\heisei \heisei\year \advance\heisei-1988\relax \def\today{% \if@english @@ -1986,14 +1990,14 @@ 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 + \if西暦 + \number\year 年 + \number\month 月 + \number\day 日 \else - $BJ?@.(B\number\heisei $BG/(B - \number\month $B7n(B - \number\day $BF|(B + 平成\number\heisei 年 + \number\month 月 + \number\day 日 \fi \fi} \hyphenation{ado-be post-script ghost-script phe-nom-e-no-log-i-cal man-u-script} |