summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-report.def
diff options
context:
space:
mode:
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.def18
1 files changed, 10 insertions, 8 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 ff27c9a0d82..b2c1b67e0fe 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,7 +6,7 @@
%%
%% ctex.dtx (with options: `scheme,report,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 report (CTEX)}
\ProvidesExplFile{ctex-scheme-chinese-report.def}
- {\ExplFileDate}{2.4.14}{\ExplFileDescription}
+ {\ExplFileDate}{2.4.15}{\ExplFileDescription}
\keys_set:nn { ctex / part }
{
aftertitle = \par ,
+ hang = false ,
number = \chinese { part } ,
aftername = \par \vskip 20 \p@ ,
beforeskip = 0pt \@plus 1fil ,
@@ -45,6 +46,7 @@
{
pagestyle = plain ,
aftertitle = \par ,
+ hang = false ,
beforeskip = 50 \p@ ,
afterskip = 40 \p@ ,
lofskip = 10 \p@ ,
@@ -109,7 +111,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 }
{
@@ -125,7 +127,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 }
{
@@ -141,7 +143,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 }
@@ -156,8 +158,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 }