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-report.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-report.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-report.def | 50 |
1 files changed, 24 insertions, 26 deletions
diff --git a/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-report.def b/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-report.def index 8fa5249d020..59e4dcc76ae 100644 --- a/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-report.def +++ b/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-report.def @@ -6,9 +6,9 @@ %% %% ctex.dtx (with options: `scheme,report,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 report (CTEX)} \ProvidesExplFile{ctex-scheme-chinese-report.def} - {\ExplFileDate}{2.4.16}{\ExplFileDescription} -\keys_set:nn { ctex / part } + {\ExplFileDate}{2.5.1}{\ExplFileDescription} +\ctex_set:nn { part } { aftertitle = \par , hang = false , @@ -42,7 +40,7 @@ break = \if@openright \cleardoublepage \else \clearpage \fi , format = \huge \bfseries \centering } -\keys_set:nn { ctex / chapter } +\ctex_set:nn { chapter } { pagestyle = plain , aftertitle = \par , @@ -57,7 +55,7 @@ aftername = \quad , afterindent = true } -\keys_set:nn { ctex / section } +\ctex_set:nn { section } { number = \thesection , aftername = \quad , @@ -69,7 +67,7 @@ format = \Large \bfseries \centering , afterindent = true } -\keys_set:nn { ctex / subsection } +\ctex_set:nn { subsection } { number = \thesubsection , format = \large \bfseries , @@ -81,7 +79,7 @@ break = \addpenalty \@secpenalty , afterindent = true } -\keys_set:nn { ctex / subsubsection } +\ctex_set:nn { subsubsection } { number = \thesubsubsection , format = \normalsize \bfseries , @@ -93,7 +91,7 @@ break = \addpenalty \@secpenalty , afterindent = true } -\keys_set:nn { ctex / paragraph } +\ctex_set:nn { paragraph } { number = \theparagraph , format = \normalsize \bfseries , @@ -102,7 +100,7 @@ break = \addpenalty \@secpenalty , afterindent = true } -\keys_set:nn { ctex / subparagraph } +\ctex_set:nn { subparagraph } { number = \thesubparagraph , format = \normalsize \bfseries , @@ -113,7 +111,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 , @@ -121,7 +119,7 @@ } } { - \keys_set:nn { ctex / paragraph } + \ctex_set:nn { paragraph } { afterskip = 1em , runin = true @@ -129,7 +127,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 , @@ -137,30 +135,30 @@ } } { - \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 } { name = \appendixname \space , number = \@Alph \c@chapter } \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 } |