diff options
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 | 17 |
1 files changed, 9 insertions, 8 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 1c6d2f2e77c..f58fb5e25ed 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,7 +6,7 @@ %% %% ctex.dtx (with options: `scheme,article,chinese') %% -%% Copyright (C) 2003--2018 +%% Copyright (C) 2003--2019 %% CTEX.ORG and any individual authors listed in the documentation. %% ------------------------------------------------------------------------------ %% @@ -26,13 +26,14 @@ %% %% ------------------------------------------------------------------------------ %% -\GetIdInfo$Id: ctex.dtx 096f319 2018-05-02 19:51:41 +0800 Liam Huang <liamhuang0205@gmail.com> $ +\GetIdInfo$Id: ctex.dtx cb8bf3c 2019-04-07 23:32:09 +0800 Qing Lee <sobenlee@gmail.com> $ {Chinese scheme for article (CTEX)} \ProvidesExplFile{ctex-scheme-chinese-article.def} - {\ExplFileDate}{2.4.14}{\ExplFileDescription} + {\ExplFileDate}{2.4.15}{\ExplFileDescription} \keys_set:nn { ctex / part } { aftertitle = \par , + hang = false , number = \chinese { part } , beforeskip = 4ex , afterskip = 3ex , @@ -94,7 +95,7 @@ break = \addpenalty \@secpenalty , afterindent = true } -\int_compare:nNnTF \g__ctex_section_depth_flag > \c_two +\int_compare:nNnTF \g__ctex_section_depth_int > 2 { \keys_set:nn { ctex / paragraph } { @@ -110,7 +111,7 @@ runin = true } } -\int_compare:nNnTF \g__ctex_section_depth_flag > \c_three +\int_compare:nNnTF \g__ctex_section_depth_int > 3 { \keys_set:nn { ctex / subparagraph } { @@ -126,7 +127,7 @@ runin = true } } -\int_compare:nNnTF \g__ctex_section_depth_flag > \c_two +\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 } @@ -138,8 +139,8 @@ \str_if_eq:onTF { \l__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_flag > { -1 } - { \cs_gset_eq:NN \g__ctex_font_size_flag \c_zero } +\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_set:Nn \l__ctex_line_spread_fp { 1.3 } } \ctex_patch_cmd:Nnn \verse { -1.5em } { -2 \ccwd } |