diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctex/def/ctex-class.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/ctex/def/ctex-class.def | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/ctex/def/ctex-class.def b/Master/texmf-dist/tex/latex/ctex/def/ctex-class.def new file mode 100644 index 00000000000..964692aa770 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ctex/def/ctex-class.def @@ -0,0 +1,96 @@ +% ctex-class.def: definitions for ctex document class files (not in style files) +% vim:ft=tex + +% font size definitions + +\ifCTEX@sfoursize + \renewcommand\normalsize{% 12bp + \@setfontsize\normalsize{\CTEX@fs@sfour}{\CTEX@fs@sfourskip}% + \abovedisplayskip 12\p@ \@plus3\p@ \@minus7\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip + \let\@listi\@listI} + \normalsize + \renewcommand\small{% 10.5bp + \@setfontsize\small{\CTEX@fs@five}{\CTEX@fs@fiveskip}% + \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ + \def\@listi{\leftmargin\leftmargini + \topsep 9\p@ \@plus3\p@ \@minus5\p@ + \parsep 4.5\p@ \@plus2\p@ \@minus\p@ + \itemsep \parsep}% + \belowdisplayskip \abovedisplayskip} + \renewcommand\footnotesize{% 9bp + \@setfontsize\footnotesize{\CTEX@fs@sfive}{\CTEX@fs@sfiveskip}% + \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ + \def\@listi{\leftmargin\leftmargini + \topsep 6\p@ \@plus2\p@ \@minus2\p@ + \parsep 3\p@ \@plus2\p@ \@minus\p@ + \itemsep \parsep}% + \belowdisplayskip \abovedisplayskip} + \renewcommand\scriptsize{% 7.5bp + \@setfontsize\scriptsize{\CTEX@fs@six}{\CTEX@fs@sixskip}} + \renewcommand\tiny{% 6.5bp + \@setfontsize\tiny{\CTEX@fs@ssix}{\CTEX@fs@ssixskip}} + \renewcommand\large{% 15bp + \@setfontsize\large{\CTEX@fs@sthree}{\CTEX@fs@sthreeskip}} + \renewcommand\Large{% 18bp + \@setfontsize\Large{\CTEX@fs@stwo}{\CTEX@fs@stwoskip}} + \renewcommand\LARGE{% 22bp + \@setfontsize\LARGE{\CTEX@fs@two}{\CTEX@fs@twoskip}} + \renewcommand\huge{% 24bp + \@setfontsize\huge{\CTEX@fs@sone}{\CTEX@fs@soneskip}} + \renewcommand\Huge{% 26bp + \@setfontsize\Huge{\CTEX@fs@one}{\CTEX@fs@oneskip}} +\fi +\ifCTEX@fivesize + \renewcommand\normalsize{% 10.5bp + \@setfontsize\normalsize{\CTEX@fs@five}{\CTEX@fs@fiveskip}% + \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip + \let\@listi\@listI} + \normalsize + \renewcommand\small{% 9bp + \@setfontsize\small{\CTEX@fs@sfive}{\CTEX@fs@sfiveskip}% + \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@ + \abovedisplayshortskip \z@ \@plus2\p@ + \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@ + \def\@listi{\leftmargin\leftmargini + \topsep 4\p@ \@plus2\p@ \@minus2\p@ + \parsep 2\p@ \@plus\p@ \@minus\p@ + \itemsep \parsep}% + \belowdisplayskip \abovedisplayskip} + \renewcommand\footnotesize{% 7.5bp + \@setfontsize\footnotesize{\CTEX@fs@six}{\CTEX@fs@sixskip}% + \abovedisplayskip 6\p@ \@plus2\p@ \@minus4\p@ + \abovedisplayshortskip \z@ \@plus\p@ + \belowdisplayshortskip 3\p@ \@plus\p@ \@minus2\p@ + \def\@listi{\leftmargin\leftmargini + \topsep 3\p@ \@plus\p@ \@minus\p@ + \parsep 2\p@ \@plus\p@ \@minus\p@ + \itemsep \parsep}% + \belowdisplayskip \abovedisplayskip} + \renewcommand\scriptsize{% 6.5bp + \@setfontsize\scriptsize{\CTEX@fs@ssix}{\CTEX@fs@ssixskip}} + \renewcommand\tiny{% 5.5bp + \@setfontsize\tiny{\CTEX@fs@seven}{\CTEX@fs@sevenskip}} + \renewcommand\large{% 12bp + \@setfontsize\large{\CTEX@fs@sfour}{\CTEX@fs@sfourskip}} + \renewcommand\Large{% 15bp + \@setfontsize\Large{\CTEX@fs@sthree}{\CTEX@fs@sthreeskip}} + \renewcommand\LARGE{% 18bp + \@setfontsize\LARGE{\CTEX@fs@stwo}{\CTEX@fs@stwoskip}} + \renewcommand\huge{% 22bp + \@setfontsize\huge{\CTEX@fs@two}{\CTEX@fs@twoskip}} + \renewcommand\Huge{% 26bp + \@setfontsize\Huge{\CTEX@fs@one}{\CTEX@fs@oneskip}} +\fi + +\endinput + |