diff options
Diffstat (limited to 'Master/texmf-dist/tex/platex/jsclasses/jsbook.cls')
-rw-r--r-- | Master/texmf-dist/tex/platex/jsclasses/jsbook.cls | 175 |
1 files changed, 92 insertions, 83 deletions
diff --git a/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls b/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls index da17d3ebcb5..8ac2742ccdc 100644 --- a/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls +++ b/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls @@ -1,4 +1,4 @@ -%% +%% %% This is file `jsbook.cls', %% generated with the docstrip utility. %% @@ -37,7 +37,7 @@ %% Right brace \} Tilde \~} \NeedsTeXFormat{pLaTeX2e} \ProvidesClass{jsbook} - [2010/03/14 okumura] + [2013/05/14 okumura] \newif\if@restonecol \newif\if@titlepage \newif\if@openright @@ -415,10 +415,11 @@ \reDeclareMathAlphabet{\mathrm}{\@mathrm}{\@mathmc} \reDeclareMathAlphabet{\mathbf}{\@mathbf}{\@mathgt}} \fi -\prebreakpenalty\jis"2147=10000 % 5000 ’ -\postbreakpenalty\jis"2148=10000 % 5000 “ -\prebreakpenalty\jis"2149=10000 % 5000 ” -\inhibitxspcode`〒=2 +\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 @@ -792,6 +793,7 @@ \def\@oddhead{% \hbox to \fullwidth{\hfil\textbf{\thepage}}\hss}} \if@report \let\ps@plain\ps@plainfoot \else \let\ps@plain\ps@plainhead \fi +\newif\if@omit@number \def\ps@headings{% \let\@oddfoot\@empty \let\@evenfoot\@empty @@ -806,7 +808,9 @@ \def\chaptermark##1{\markboth{% \ifnum \c@secnumdepth >\m@ne \if@mainmatter - \@chapapp\thechapter\@chappos\hskip1zw + \if@omit@number\else + \@chapapp\thechapter\@chappos\hskip1zw + \fi \fi \fi ##1}{}}% @@ -976,10 +980,10 @@ \ifnum #2>\c@secnumdepth \else \protect\numberline{\csname the#1\endcsname}% \fi - #7}}% 目次にフルネームを載せるなら #8 + #7}}% $BL\<!$K%U%k%M!<%`$r:\$;$k$J$i(B #8 \else \begingroup - \interlinepenalty \@M % 下から移動 + \interlinepenalty \@M % $B2<$+$i0\F0(B #6{% \@hangfrom{\hskip #3\relax\@svsec}% #8\@@par}% @@ -989,7 +993,7 @@ \ifnum #2>\c@secnumdepth \else \protect\numberline{\csname the#1\endcsname}% \fi - #7}% 目次にフルネームを載せるならここは #8 + #7}% $BL\<!$K%U%k%M!<%`$r:\$;$k$J$i$3$3$O(B #8 \fi \@xsect{#5}} \def\@xsect#1{% @@ -1078,7 +1082,7 @@ \else \clearpage \fi - \thispagestyle{empty}% 欧文用標準スタイルでは plain + \thispagestyle{empty}% $B2$J8MQI8=`%9%?%$%k$G$O(B plain \if@twocolumn \onecolumn \@restonecoltrue @@ -1122,10 +1126,12 @@ \fi} \newcommand{\chapter}{% \if@openright\cleardoublepage\else\clearpage\fi - \plainifnotempty % 元: \thispagestyle{plain} + \plainifnotempty % $B85(B: \thispagestyle{plain} \global\@topnum\z@ \if@english \@afterindentfalse \else \@afterindenttrue \fi - \secdef\@chapter\@schapter} + \secdef + {\@omit@numberfalse\@chapter}% + {\@omit@numbertrue\@schapter}} \def\@chapter[#1]#2{% \ifnum \c@secnumdepth >\m@ne \if@mainmatter @@ -1149,18 +1155,18 @@ \@afterheading \fi} \def\@makechapterhead#1{% - \vspace*{2\Cvs}% 欧文は50pt + \vspace*{2\Cvs}% $B2$J8$O(B50pt {\parindent \z@ \raggedright \normalfont \ifnum \c@secnumdepth >\m@ne \if@mainmatter \huge\headfont \@chapapp\thechapter\@chappos \par\nobreak - \vskip \Cvs % 欧文は20pt + \vskip \Cvs % $B2$J8$O(B20pt \fi \fi \interlinepenalty\@M \Huge \headfont #1\par\nobreak - \vskip 3\Cvs}} % 欧文は40pt + \vskip 3\Cvs}} % $B2$J8$O(B40pt \def\@schapter#1{% \chaptermark{#1}% \if@twocolumn @@ -1169,12 +1175,12 @@ \@makeschapterhead{#1}\@afterheading \fi} \def\@makeschapterhead#1{% - \vspace*{2\Cvs}% 欧文は50pt + \vspace*{2\Cvs}% $B2$J8$O(B50pt {\parindent \z@ \raggedright \normalfont \interlinepenalty\@M \Huge \headfont #1\par\nobreak - \vskip 3\Cvs}} % 欧文は40pt + \vskip 3\Cvs}} % $B2$J8$O(B40pt \if@twocolumn \newcommand{\section}{% \@startsection{section}{1}{\z@}% @@ -1184,8 +1190,8 @@ \newcommand{\section}{% \if@slide\clearpage\fi \@startsection{section}{1}{\z@}% - {\Cvs \@plus.5\Cdp \@minus.2\Cdp}% 前アキ - {.5\Cvs \@plus.3\Cdp}% 後アキ + {\Cvs \@plus.5\Cdp \@minus.2\Cdp}% $BA0%"%-(B + {.5\Cvs \@plus.3\Cdp}% $B8e%"%-(B {\normalfont\Large\headfont\raggedright}} \fi \if@twocolumn @@ -1194,8 +1200,8 @@ {\normalfont\normalsize\headfont}} \else \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}% - {\Cvs \@plus.5\Cdp \@minus.2\Cdp}% 前アキ - {.5\Cvs \@plus.3\Cdp}% 後アキ + {\Cvs \@plus.5\Cdp \@minus.2\Cdp}% $BA0%"%-(B + {.5\Cvs \@plus.3\Cdp}% $B8e%"%-(B {\normalfont\large\headfont}} \fi \if@twocolumn @@ -1210,13 +1216,13 @@ \fi \if@twocolumn \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}% - {\z@}{-1zw}% 改行せず 1zw のアキ - {\normalfont\normalsize\headfont ■}} + {\z@}{-1zw}% $B2~9T$;$:(B 1zw $B$N%"%-(B + {\normalfont\normalsize\headfont $B"#(B}} \else \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}% {0.5\Cvs \@plus.5\Cdp \@minus.2\Cdp}% - {-1zw}% 改行せず 1zw のアキ - {\normalfont\normalsize\headfont ■}} + {-1zw}% $B2~9T$;$:(B 1zw $B$N%"%-(B + {\normalfont\normalsize\headfont $B"#(B}} \fi \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}% {\z@}{-1zw}% @@ -1280,11 +1286,11 @@ \renewcommand{\theenumiii}{\@roman\c@enumiii} \renewcommand{\theenumiv}{\@Alph\c@enumiv} \newcommand{\labelenumi}{\theenumi.} -\newcommand{\labelenumii}{\inhibitglue(\theenumii)\inhibitglue} +\newcommand{\labelenumii}{\inhibitglue$B!J(B\theenumii$B!K(B\inhibitglue} \newcommand{\labelenumiii}{\theenumiii.} \newcommand{\labelenumiv}{\theenumiv.} \renewcommand{\p@enumii}{\theenumi} -\renewcommand{\p@enumiii}{\theenumi\inhibitglue(\theenumii)} +\renewcommand{\p@enumiii}{\theenumi\inhibitglue$B!J(B\theenumii$B!K(B} \renewcommand{\p@enumiv}{\p@enumiii\theenumiii} \newcommand\labelitemi{\textbullet} \newcommand\labelitemii{\normalfont\bfseries \textendash} @@ -1307,10 +1313,10 @@ \let \\=\@centercr \list{}{% \itemsep \z@ - \itemindent -2zw % 元: -1.5em + \itemindent -2zw % $B85(B: -1.5em \listparindent\itemindent \rightmargin \z@ - \advance\leftmargin 2zw}% 元: 1.5em + \advance\leftmargin 2zw}% $B85(B: 1.5em \item\relax}{\endlist} \newenvironment{quotation}{% \list{}{% @@ -1323,7 +1329,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(#3)}]} + \item[\hskip \labelsep{\headfont #1\ #2$B!J(B#3$B!K(B}]} \newenvironment{titlepage}{% \cleardoublepage \if@twocolumn @@ -1383,8 +1389,8 @@ {\end@dblfloat} \newlength\abovecaptionskip \newlength\belowcaptionskip -\setlength\abovecaptionskip{5\p@} % 元: 10\p@ -\setlength\belowcaptionskip{5\p@} % 元: 0\p@ +\setlength\abovecaptionskip{5\p@} % $B85(B: 10\p@ +\setlength\belowcaptionskip{5\p@} % $B85(B: 0\p@ \long\def\@makecaption#1#2{{\small \advance\leftskip .0628\linewidth \advance\rightskip .0628\linewidth @@ -1513,7 +1519,7 @@ \endlist} \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em} \let\@openbib@code\@empty -\newenvironment{theindex}{% 索引を3段組で出力する環境 +\newenvironment{theindex}{% $B:w0z$r(B3$BCJAH$G=PNO$9$k4D6-(B \if@twocolumn \onecolumn\@restonecolfalse \else @@ -1550,16 +1556,19 @@ \fi \clearpage } -\newcommand{\@idxitem}{\par\hangindent 4zw} % 元 40pt -\newcommand{\subitem}{\@idxitem \hspace*{2zw}} % 元 20pt -\newcommand{\subsubitem}{\@idxitem \hspace*{3zw}} % 元 30pt +\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\p@ \@plus5\p@ \@minus3\p@\relax} -\newcommand\seename{\if@english see\else →\fi} -\newcommand\alsoname{\if@english see also\else →\fi} +\newcommand\seename{\if@english see\else $B"*(B\fi} +\newcommand\alsoname{\if@english see also\else $B"*(B\fi} \let\footnotes@ve=\footnote \def\footnote{\inhibitglue\footnotes@ve} \let\footnotemarks@ve=\footnotemark \def\footnotemark{\inhibitglue\footnotemarks@ve} +\renewcommand\@makefnmark{\hbox{}\hbox{% + \ifydir \@textsuperscript{\normalfont\@thefnmark}% + \else\hbox{\yoko\@textsuperscript{\normalfont\@thefnmark}}\fi}\hbox{}} \def\thefootnote{\ifnum\c@footnote>\z@\leavevmode\lower.5ex\hbox{*}\@arabic\c@footnote\fi} \renewcommand{\footnoterule}{% \kern-3\p@ @@ -1593,16 +1602,16 @@ \def\@inhibitglue{% \futurelet\@let@token\@@inhibitglue} \def\@@inhibitglue{% - \ifx\@let@token「 + \ifx\@let@token$B!V(B \inhibitglue \else - \ifx\@let@token( + \ifx\@let@token$B!J(B \inhibitglue \else - \ifx\@let@token『 + \ifx\@let@token$B!X(B \inhibitglue \else - \ifx\@let@token[ + \ifx\@let@token$B!N(B \inhibitglue \fi \fi @@ -1697,12 +1706,12 @@ \unskip \reserved@e {\reserved@f#1}\nobreak \hfil \break \null \inhibitglue \ignorespaces \fi} -\def\小#1{\hbox{$\m@th$% +\def\$B>.(B#1{\hbox{$\m@th$% \csname S@\f@size\endcsname \fontsize\sf@size\z@ \math@fontsfalse\selectfont #1}} -\def\上小#1{{\sbox\z@ T\vbox to\ht0{\小{#1}\vss}}} +\def\$B>e>.(B#1{{\sbox\z@ T\vbox to\ht0{\$B>.(B{#1}\vss}}} \def\cmrTeX{% \ifdim \fontdimen\@ne\font >\z@ T\kern-.25em\lower.5ex\hbox{E}\kern-.125emX\@ @@ -1711,12 +1720,12 @@ \fi} \def\cmrLaTeX{% \ifdim \fontdimen\@ne\font >\z@ - L\kern-.32em\上小{A}\kern-.22em\cmrTeX + L\kern-.32em\$B>e>.(B{A}\kern-.22em\cmrTeX \else - L\kern-.36em\上小{A}\kern-.15em\cmrTeX + L\kern-.36em\$B>e>.(B{A}\kern-.15em\cmrTeX \fi} \def\sfTeX{T\kern-.1em\lower.4ex\hbox{E}\kern-.07emX\@} -\def\sfLaTeX{L\kern-.25em\上小{A}\kern-.08em\sfTeX} +\def\sfLaTeX{L\kern-.25em\$B>e>.(B{A}\kern-.08em\sfTeX} \def\ptmTeX{% \ifdim \fontdimen\@ne\font >\z@ T\kern-.12em\lower.37ex\hbox{E}\kern-.02emX\@ @@ -1725,9 +1734,9 @@ \fi} \def\ptmLaTeX{% \ifdim \fontdimen\@ne\font >\z@ - L\kern-.2em\上小{A}\kern-.1em\ptmTeX + L\kern-.2em\$B>e>.(B{A}\kern-.1em\ptmTeX \else - L\kern-.3em\上小{A}\kern-.1em\ptmTeX + L\kern-.3em\$B>e>.(B{A}\kern-.1em\ptmTeX \fi} \def\pncTeX{% \ifdim \fontdimen\@ne\font >\z@ @@ -1737,9 +1746,9 @@ \fi} \def\pncLaTeX{% \ifdim \fontdimen\@ne\font >\z@ - L\kern-.3em\上小{A}\kern-.1em\pncTeX + L\kern-.3em\$B>e>.(B{A}\kern-.1em\pncTeX \else - L\kern-.3em\上小{A}\kern-.1em\pncTeX + L\kern-.3em\$B>e>.(B{A}\kern-.1em\pncTeX \fi} \def\pplTeX{% \ifdim \fontdimen\@ne\font >\z@ @@ -1749,9 +1758,9 @@ \fi} \def\pplLaTeX{% \ifdim \fontdimen\@ne\font >\z@ - L\kern-.27em\上小{A}\kern-.12em\pplTeX + L\kern-.27em\$B>e>.(B{A}\kern-.12em\pplTeX \else - L\kern-.3em\上小{A}\kern-.15em\pplTeX + L\kern-.3em\$B>e>.(B{A}\kern-.15em\pplTeX \fi} \def\ugmTeX{% \ifdim \fontdimen\@ne\font >\z@ @@ -1761,9 +1770,9 @@ \fi} \def\ugmLaTeX{% \ifdim \fontdimen\@ne\font >\z@ - L\kern-.2em\上小{A}\kern-.13em\ugmTeX + L\kern-.2em\$B>e>.(B{A}\kern-.13em\ugmTeX \else - L\kern-.3em\上小{A}\kern-.13em\ugmTeX + L\kern-.3em\$B>e>.(B{A}\kern-.13em\ugmTeX \fi} \DeclareRobustCommand{\TeX}{% \def\@tempa{cmr}% @@ -1823,10 +1832,10 @@ \def\pLaTeX{p\LaTeX} \def\pLaTeXe{p\LaTeXe} \def\AmSTeX{\protect\AmS-\protect\TeX{}} -\DeclareRobustCommand{\BibTeX}{B\kern-.05em\小{I\kern-.025em B}% +\DeclareRobustCommand{\BibTeX}{B\kern-.05em\$B>.(B{I\kern-.025em B}% \ifx\f@family\cmr\kern-.08em\else\kern-.15em\fi\TeX} \DeclareRobustCommand{\SliTeX}{% - S\kern-.06emL\kern-.18em\上小{I}\kern -.03em\TeX} + S\kern-.06emL\kern-.18em\$B>e>.(B{I}\kern -.03em\TeX} \let\ltx@ifnextchar\@ifnextchar \def\ProvidesFile#1{% \begingroup @@ -1839,24 +1848,24 @@ \@makeother\/% \@makeother\&% \ltx@ifnextchar[{\@providesfile{#1}}{\@providesfile{#1}[]}} -\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 Appendix~\else 付録\fi} -\newif\if西暦 \西暦true -\def\西暦{\西暦true} -\def\和暦{\西暦false} +\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 Appendix~\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} \newcount\heisei \heisei\year \advance\heisei-1988\relax \def\today{% \if@english @@ -1865,14 +1874,14 @@ July\or August\or September\or October\or November\or December\fi \space\number\day, \number\year \else - \if西暦 - \number\year 年 - \number\month 月 - \number\day 日 + \if$B@>Nq(B + \number\year $BG/(B + \number\month $B7n(B + \number\day $BF|(B \else - 平成\number\heisei 年 - \number\month 月 - \number\day 日 + $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} |