Skip to content

Commit

Permalink
jclasses.dtx: use \Cjascale in class files (texjporg/jsclasses#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
aminophen committed Jan 13, 2018
1 parent b75c7dd commit d7ac4d1
Show file tree
Hide file tree
Showing 25 changed files with 53 additions and 28 deletions.
3 changes: 2 additions & 1 deletion jarticle.cls
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%% File: jclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{jarticle}
[2017/09/19 v1.7g
[2018/01/13 v1.7h
Standard pLaTeX class]
\newcounter{@paper}
\newif\if@landscape \@landscapefalse
Expand Down Expand Up @@ -123,6 +123,7 @@
\ExecuteOptions{a4paper,10pt,oneside,onecolumn,final}
\ProcessOptions\relax
\input{jsize1\@ptsize.clo}
\def\Cjascale{1}
\if@stysize
\setlength\columnsep{2\Cwd}
\else
Expand Down
2 changes: 1 addition & 1 deletion jbk10.clo
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%% File: jclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{jbk10.clo}
[2017/09/19 v1.7g
[2018/01/13 v1.7h
Standard pLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xpt{15}%
Expand Down
2 changes: 1 addition & 1 deletion jbk11.clo
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%% File: jclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{jbk11.clo}
[2017/09/19 v1.7g
[2018/01/13 v1.7h
Standard pLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xipt{15.5}%
Expand Down
2 changes: 1 addition & 1 deletion jbk12.clo
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%% File: jclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{jbk12.clo}
[2017/09/19 v1.7g
[2018/01/13 v1.7h
Standard pLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xiipt{16.5}%
Expand Down
3 changes: 2 additions & 1 deletion jbook.cls
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%% File: jclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{jbook}
[2017/09/19 v1.7g
[2018/01/13 v1.7h
Standard pLaTeX class]
\newcounter{@paper}
\newif\if@landscape \@landscapefalse
Expand Down Expand Up @@ -133,6 +133,7 @@
\ExecuteOptions{a4paper,10pt,twoside,onecolumn,final,openright}
\ProcessOptions\relax
\input{jbk1\@ptsize.clo}
\def\Cjascale{1}
\if@stysize
\setlength\columnsep{2\Cwd}
\else
Expand Down
18 changes: 17 additions & 1 deletion jclasses.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
% $B4q?t%Z!<%8$KAw$k$h$&$KJQ99(B}
% \changes{v1.7f}{2017/08/31}{$BOBJ8=qBN$N4p=`$rA43Q6uGr$+$i!V4A!W$KJQ99(B}
% \changes{v1.7g}{2017/09/19}{$BFbIt=hM}$G;H$C$?%\%C%/%9(B0$B$r6u$K$7$?(B}
% \changes{v1.7h}{2018/01/13}{$BOBJ8%9%1!<%kCM(B\cs{Cjascale}$B$rDj5A(B}
% \fi
%
% \iffalse
Expand Down Expand Up @@ -122,7 +123,7 @@
%<11pt&bk>\ProvidesFile{tbk11.clo}
%<12pt&bk>\ProvidesFile{tbk12.clo}
%</tate>
[2017/09/19 v1.7g
[2018/01/13 v1.7h
%<article|report|book> Standard pLaTeX class]
%<10pt|11pt|12pt> Standard pLaTeX file (size option)]
%<*driver>
Expand Down Expand Up @@ -755,6 +756,21 @@
% \end{macro}
% \end{macro}
%
% \begin{macro}{\Cjascale}
% $BOBJ8%9%1!<%kCM!J(B$1\,\mathrm{zw} \div \textmc{$BMW5a%5%$%:(B}$$B!K$r(B
% $BI=$9<B?tCM%^%/%m(B|\Cjascale|$B$rDj5A$7$^$9!#(B
% p\LaTeXe{}$B$NI8=`%/%i%9$G$O!"%U%)!<%^%C%H:n@.;~$KFI$_9~$^$l$?(B
% $B%U%)%s%HDj5A%U%!%$%k!J(B\file{jy1mc.fd} / \file{jy1gt.fd} /
% \file{jt1mc.fd} / \file{jt1gt.fd}$B!K$G$NOBJ8%9%1!<%kCM$,$=$N$^$^(B
% $BM-8z$G$9$N$G!"$3$l$O(B1$B$G$9!#(B
% \changes{v1.7h}{2018/01/13}{$BOBJ8%9%1!<%kCM(B\cs{Cjascale}$B$rDj5A(B}
% \begin{macrocode}
%<*article|report|book>
\def\Cjascale{1}
%</article|report|book>
% \end{macrocode}
% \end{macro}
%
%
%
% \section{$B%l%$%"%&%H(B}
Expand Down
3 changes: 2 additions & 1 deletion jreport.cls
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%% File: jclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{jreport}
[2017/09/19 v1.7g
[2018/01/13 v1.7h
Standard pLaTeX class]
\newcounter{@paper}
\newif\if@landscape \@landscapefalse
Expand Down Expand Up @@ -131,6 +131,7 @@
\ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany}
\ProcessOptions\relax
\input{jsize1\@ptsize.clo}
\def\Cjascale{1}
\if@stysize
\setlength\columnsep{2\Cwd}
\else
Expand Down
2 changes: 1 addition & 1 deletion jsize10.clo
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%% File: jclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{jsize10.clo}
[2017/09/19 v1.7g
[2018/01/13 v1.7h
Standard pLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xpt{15}%
Expand Down
2 changes: 1 addition & 1 deletion jsize11.clo
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%% File: jclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{jsize11.clo}
[2017/09/19 v1.7g
[2018/01/13 v1.7h
Standard pLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xipt{15.5}%
Expand Down
2 changes: 1 addition & 1 deletion jsize12.clo
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%% File: jclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{jsize12.clo}
[2017/09/19 v1.7g
[2018/01/13 v1.7h
Standard pLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xiipt{16.5}%
Expand Down
2 changes: 1 addition & 1 deletion jt1gt.fd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
%%
%% File: plfonts.dtx
\ProvidesFile{jt1gt.fd}
[1997/01/24 v1.3 KANJI font defines]
[2018/01/13 v1.6l KANJI font defines]
\DeclareKanjiFamily{JT1}{gt}{}
\DeclareRelationFont{JT1}{gt}{m}{}{OT1}{cmr}{bx}{}
\DeclareFontShape{JT1}{gt}{m}{n}{<5> <6> <7> <8> <9> <10> sgen*tgoth
Expand Down
2 changes: 1 addition & 1 deletion jt1mc.fd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
%%
%% File: plfonts.dtx
\ProvidesFile{jt1mc.fd}
[1997/01/24 v1.3 KANJI font defines]
[2018/01/13 v1.6l KANJI font defines]
\DeclareKanjiFamily{JT1}{mc}{}
\DeclareRelationFont{JT1}{mc}{m}{}{OT1}{cmr}{m}{}
\DeclareRelationFont{JT1}{mc}{bx}{}{OT1}{cmr}{bx}{}
Expand Down
2 changes: 1 addition & 1 deletion jy1gt.fd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
%%
%% File: plfonts.dtx
\ProvidesFile{jy1gt.fd}
[1997/01/24 v1.3 KANJI font defines]
[2018/01/13 v1.6l KANJI font defines]
\DeclareKanjiFamily{JY1}{gt}{}
\DeclareRelationFont{JY1}{gt}{m}{}{OT1}{cmr}{bx}{}
\DeclareFontShape{JY1}{gt}{m}{n}{<5> <6> <7> <8> <9> <10> sgen*goth
Expand Down
2 changes: 1 addition & 1 deletion jy1mc.fd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
%%
%% File: plfonts.dtx
\ProvidesFile{jy1mc.fd}
[1997/01/24 v1.3 KANJI font defines]
[2018/01/13 v1.6l KANJI font defines]
\DeclareKanjiFamily{JY1}{mc}{}
\DeclareRelationFont{JY1}{mc}{m}{}{OT1}{cmr}{m}{}
\DeclareRelationFont{JY1}{mc}{bx}{}{OT1}{cmr}{bx}{}
Expand Down
2 changes: 1 addition & 1 deletion pldefs.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
%%
%% File: plfonts.dtx
\ProvidesFile{pldefs.ltx}
[2017/11/06 v1.6j pLaTeX Kernel (Default settings)]
[2018/01/13 v1.6l pLaTeX Kernel (Default settings)]
\DeclareKanjiEncodingDefaults{}{}
\DeclareErrorKanjiFont{JY1}{mc}{m}{n}{10}
\DeclareYokoKanjiEncoding{JY1}{}{}
Expand Down
11 changes: 7 additions & 4 deletions plfonts.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,14 @@
% plcore$B$+$i(Bpldefs$B$X0\F0(B}
% \changes{v1.6k}{2017/12/05}{$B%G%U%)%k%H@_Dj%U%!%$%k$NFI$_9~$_$r(B
% \file{plcore.ltx}$B$+$i(B\file{platex.ltx}$B$X0\F0(B}
% \changes{v1.6l}{2018/01/13}{$BOBJ8%9%1!<%kCM$rL@J82=(B}
% \fi
%
% \iffalse
%<*driver>
\NeedsTeXFormat{pLaTeX2e}
% \fi
\ProvidesFile{plfonts.dtx}[2017/12/05 v1.6k pLaTeX New Font Selection Scheme]
\ProvidesFile{plfonts.dtx}[2018/01/13 v1.6l pLaTeX New Font Selection Scheme]
% \iffalse
\documentclass{jltxdoc}
\GetFileInfo{plfonts.dtx}
Expand Down Expand Up @@ -2111,7 +2112,7 @@
% \begin{macrocode}
%<*pldefs>
\ProvidesFile{pldefs.ltx}
[2017/11/06 v1.6j pLaTeX Kernel (Default settings)]
[2018/01/13 v1.6l pLaTeX Kernel (Default settings)]
%</pldefs>
% \end{macrocode}
%
Expand Down Expand Up @@ -2163,7 +2164,7 @@
\input{jt1mc.fd}
\input{jt1gt.fd}
% \end{macrocode}
% $B%U%)%s%H$rM-8z$K$9$k(B
% $B%U%)%s%H$rM-8z$K$7$^$9!#(B
% \begin{macrocode}
\fontencoding{JT1}\selectfont
\fontencoding{JY1}\selectfont
Expand Down Expand Up @@ -2352,7 +2353,7 @@
%<JY1gt>\ProvidesFile{jy1gt.fd}
%<JT1mc>\ProvidesFile{jt1mc.fd}
%<JT1gt>\ProvidesFile{jt1gt.fd}
%<JY1mc,JY1gt,JT1mc,JT1gt> [1997/01/24 v1.3 KANJI font defines]
%<JY1mc,JY1gt,JT1mc,JT1gt> [2018/01/13 v1.6l KANJI font defines]
% \end{macrocode}
% $B2#AHMQ!"=DAHMQ$H$b$K!"(B
% $BL@D+BN$N%7%j!<%:(B|bx|$B$,%4%7%C%/BN$H$J$k$h$&$K@k8@$7$F$$$^$9!#(B
Expand All @@ -2361,6 +2362,8 @@
% \changes{v1.3b}{1997/03/11}{$B$9$Y$F$N%5%$%:$r%m!<%I2DG=$K$7$?(B}
%
% p\LaTeX{}$B$G$O=>B0=qBN$K(BOT1$B%(%s%3!<%G%#%s%0$r;XDj$7$F$$$^$9!#(B
% $B$^$?!"OBJ8%9%1!<%kCM!J(B$1\,\mathrm{zw} \div \textmc{$BMW5a%5%$%:(B}$$B!K$O(B1$B$G$9!#(B
% \changes{v1.6l}{2018/01/13}{$BOBJ8%9%1!<%kCM$rL@J82=(B}
% \begin{macrocode}
%<*JY1mc>
\DeclareKanjiFamily{JY1}{mc}{}
Expand Down
3 changes: 2 additions & 1 deletion tarticle.cls
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%% File: jclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{tarticle}
[2017/09/19 v1.7g
[2018/01/13 v1.7h
Standard pLaTeX class]
\newcounter{@paper}
\newif\if@landscape \@landscapefalse
Expand Down Expand Up @@ -124,6 +124,7 @@
\ProcessOptions\relax
\input{tsize1\@ptsize.clo}
\RequirePackage{plext}
\def\Cjascale{1}
\if@stysize
\setlength\columnsep{3\Cwd}
\else
Expand Down
2 changes: 1 addition & 1 deletion tbk10.clo
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%% File: jclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{tbk10.clo}
[2017/09/19 v1.7g
[2018/01/13 v1.7h
Standard pLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xpt{17}%
Expand Down
2 changes: 1 addition & 1 deletion tbk11.clo
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%% File: jclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{tbk11.clo}
[2017/09/19 v1.7g
[2018/01/13 v1.7h
Standard pLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xipt{17}%
Expand Down
2 changes: 1 addition & 1 deletion tbk12.clo
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%% File: jclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{tbk12.clo}
[2017/09/19 v1.7g
[2018/01/13 v1.7h
Standard pLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xiipt{18}%
Expand Down
3 changes: 2 additions & 1 deletion tbook.cls
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%% File: jclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{tbook}
[2017/09/19 v1.7g
[2018/01/13 v1.7h
Standard pLaTeX class]
\newcounter{@paper}
\newif\if@landscape \@landscapefalse
Expand Down Expand Up @@ -134,6 +134,7 @@
\ProcessOptions\relax
\input{tbk1\@ptsize.clo}
\RequirePackage{plext}
\def\Cjascale{1}
\if@stysize
\setlength\columnsep{3\Cwd}
\else
Expand Down
3 changes: 2 additions & 1 deletion treport.cls
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%% File: jclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{treport}
[2017/09/19 v1.7g
[2018/01/13 v1.7h
Standard pLaTeX class]
\newcounter{@paper}
\newif\if@landscape \@landscapefalse
Expand Down Expand Up @@ -132,6 +132,7 @@
\ProcessOptions\relax
\input{tsize1\@ptsize.clo}
\RequirePackage{plext}
\def\Cjascale{1}
\if@stysize
\setlength\columnsep{3\Cwd}
\else
Expand Down
2 changes: 1 addition & 1 deletion tsize10.clo
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%% File: jclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{tsize10.clo}
[2017/09/19 v1.7g
[2018/01/13 v1.7h
Standard pLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xpt{17}%
Expand Down
2 changes: 1 addition & 1 deletion tsize11.clo
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%% File: jclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{tsize11.clo}
[2017/09/19 v1.7g
[2018/01/13 v1.7h
Standard pLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xipt{17}%
Expand Down
2 changes: 1 addition & 1 deletion tsize12.clo
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%% File: jclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{tsize12.clo}
[2017/09/19 v1.7g
[2018/01/13 v1.7h
Standard pLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xiipt{18}%
Expand Down

0 comments on commit d7ac4d1

Please sign in to comment.