diff options
author | Karl Berry <karl@freefriends.org> | 2020-05-02 22:24:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-05-02 22:24:14 +0000 |
commit | 15f0c94913f0d5cb24dd909c5358b3a997994dd7 (patch) | |
tree | 9043df32cd0199835f5b3f9804ad132907857139 /Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-article.def | |
parent | 151fbc4b66cb3705f6ce20368a2c6f7c06b8d57d (diff) |
ctex (2may20)
git-svn-id: svn://tug.org/texlive/trunk@54976 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-article.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-article.def | 48 |
1 files changed, 23 insertions, 25 deletions
diff --git a/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-article.def b/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-article.def index 209f8079d4b..144c3d6f476 100644 --- a/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-article.def +++ b/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-article.def @@ -6,9 +6,9 @@ %% %% ctex.dtx (with options: `scheme,article,chinese') %% -%% Copyright (C) 2003--2019 +%% Copyright (C) 2003--2020 %% CTEX.ORG and any individual authors listed in the documentation. -%% ------------------------------------------------------------------------------ +%% --------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -20,17 +20,15 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -%% This work has the LPPL maintenance status `maintained'. +%% This work has the LPPL maintenance status "maintained". %% -%% The Current Maintainers of this work are Leo Liu, Qing Lee and Liam Huang. +%% --------------------------------------------------------------------- %% -%% ------------------------------------------------------------------------------ -%% -\GetIdInfo$Id: ctex.dtx 735dfe2 2019-05-29 21:42:29 +0800 Qing Lee <sobenlee@gmail.com> $ +\GetIdInfo$Id: ctex.dtx 320df30 2020-05-02 06:45:05 +0800 Qing Lee <sobenlee@gmail.com> $ {Chinese scheme for article (CTEX)} \ProvidesExplFile{ctex-scheme-chinese-article.def} - {\ExplFileDate}{2.4.16}{\ExplFileDescription} -\keys_set:nn { ctex / part } + {\ExplFileDate}{2.5.1}{\ExplFileDescription} +\ctex_set:nn { part } { aftertitle = \par , hang = false , @@ -41,7 +39,7 @@ aftername = \quad , afterindent = true } -\keys_set:nn { ctex / section } +\ctex_set:nn { section } { number = \thesection , aftername = \quad , @@ -53,7 +51,7 @@ format = \Large \bfseries \centering , afterindent = true } -\keys_set:nn { ctex / subsection } +\ctex_set:nn { subsection } { number = \thesubsection , format = \large \bfseries , @@ -65,7 +63,7 @@ break = \addpenalty \@secpenalty , afterindent = true } -\keys_set:nn { ctex / subsubsection } +\ctex_set:nn { subsubsection } { number = \thesubsubsection , format = \normalsize \bfseries , @@ -77,7 +75,7 @@ break = \addpenalty \@secpenalty , afterindent = true } -\keys_set:nn { ctex / paragraph } +\ctex_set:nn { paragraph } { number = \theparagraph , format = \normalsize \bfseries , @@ -86,7 +84,7 @@ break = \addpenalty \@secpenalty , afterindent = true } -\keys_set:nn { ctex / subparagraph } +\ctex_set:nn { subparagraph } { number = \thesubparagraph , format = \normalsize \bfseries , @@ -97,7 +95,7 @@ } \int_compare:nNnTF \g__ctex_section_depth_int > 2 { - \keys_set:nn { ctex / paragraph } + \ctex_set:nn { paragraph } { aftertitle = \@@par , afterskip = 1ex \@plus .2ex , @@ -105,7 +103,7 @@ } } { - \keys_set:nn { ctex / paragraph } + \ctex_set:nn { paragraph } { afterskip = 1em , runin = true @@ -113,7 +111,7 @@ } \int_compare:nNnTF \g__ctex_section_depth_int > 3 { - \keys_set:nn { ctex / subparagraph } + \ctex_set:nn { subparagraph } { aftertitle = \@@par , afterskip = 1ex \@plus .2ex , @@ -121,27 +119,27 @@ } } { - \keys_set:nn { ctex / subparagraph } + \ctex_set:nn { subparagraph } { afterskip = 1em , runin = true } } \int_compare:nNnTF \g__ctex_section_depth_int > 2 - { \keys_set:nn { ctex / subparagraph } { indent = \c_zero_dim } } - { \keys_set:nn { ctex / subparagraph } { indent = \parindent } } -\keys_set:nn { ctex / appendix } + { \ctex_set:nn { subparagraph } { indent = \c_zero_dim } } + { \ctex_set:nn { subparagraph } { indent = \parindent } } +\ctex_set:nn { appendix } { number = \@Alph \c@section } \pagestyle { headings } -\keys_set:nn { ctex } { today = small } +\ctex_set:n { today = small } \ctex_if_autoindent_touched:F - { \keys_set:nn { ctex } { autoindent = true } } -\str_if_eq:onTF { \l__ctex_encoding_tl } { GBK } + { \ctex_set:n { autoindent = true } } +\str_if_eq:onTF { \g__ctex_encoding_tl } { GBK } { \ctex_file_input:n { ctex-name-gbk.cfg } } { \ctex_file_input:n { ctex-name-utf8.cfg } } \int_compare:nNnF \g__ctex_font_size_int > { -1 } { \int_gset:Nn \g__ctex_font_size_int { 0 } } -\fp_compare:nNnT { \l__ctex_line_spread_fp } ? { \c_zero_fp } +\fp_if_nan:nT { \l__ctex_line_spread_fp } { \fp_set:Nn \l__ctex_line_spread_fp { 1.3 } } \ctex_patch_cmd:Nnn \verse { -1.5em } { -2 \ccwd } \ctex_patch_cmd:Nnn \verse { 1.5em } { 2 \ccwd } |