diff options
author | Karl Berry <karl@freefriends.org> | 2021-11-16 21:23:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-11-16 21:23:15 +0000 |
commit | f3407d9a48412658a5b7036967580c518aebb949 (patch) | |
tree | 2c79ce746c91a56f4152de4a7908dc81d389b1a7 /Master/texmf-dist/tex | |
parent | 9dfe8f3d5332e7a706bd771490b5c49fc787b394 (diff) |
easybook (16nov21)
git-svn-id: svn://tug.org/texlive/trunk@61072 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybase.sty | 31 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybook.cls | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg | 2 |
3 files changed, 14 insertions, 21 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybase.sty b/Master/texmf-dist/tex/latex/easybook/easybase.sty index 5f377cf5c21..99518e4bf6e 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybase.sty +++ b/Master/texmf-dist/tex/latex/easybook/easybase.sty @@ -20,7 +20,7 @@ %% This work has the LPPL maintenance status `maintained'. \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e,etoolbox} -\ProvidesExplPackage{easybase}{2021/11/12}{1.40P} +\ProvidesExplPackage{easybase}{2021/11/16}{1.40Q} {Typeset Chinese theses or books} \cs_generate_variant:Nn \dim_set:Nn { NV } @@ -618,8 +618,7 @@ { \group_begin: \footnotesize - \exp_args:Nx - \setspread{ \fp_use:N \l__eb_spread_footnote_fp } + \setspread{\fp_use:N \l__eb_spread_footnote_fp} \exp_args:NNNo \group_end: \dim_set:Nn \footnotesep { \dim_use:N \box_ht:N \strutbox } \bool_if:NT \l__eb_chap_counter_withpart_bool @@ -974,7 +973,7 @@ lolskip .skip_set:N = \eb@toc@lolskip, lolskip .initial:n = 10pt, main-voffset .skip_set:N = \l__eb_toc_main_voffset_skip, - main-voffset .initial:n = \bool_if:NTF \l__eb_class_book_bool { 1pc } { 0.35pc }, + main-voffset .initial:n = \bool_if:NTF \l__eb_class_book_bool { 1pc } { 0.2pc }, line-align .bool_set:N = \l__eb_toc_line_align_bool, line-align .default:n = true, line-align .initial:n = true, @@ -1027,7 +1026,7 @@ chapter/tocindent = 0em, chapter/tocrule = \tocrule{$\cdot$}[\bfseries], chapter/tocline = \CTEXnumberline{#1}#2, - section/tocformat = \addvspace{0.35pc}\bool_if:NF \l__eb_class_book_bool { \sffamily }, + section/tocformat = \addvspace{0.2pc}\bool_if:NF \l__eb_class_book_bool { \sffamily }, section/tocindent = \bool_if:NTF \l__eb_class_book_bool { 1.5em } { 0em }, section/tocrule = { @@ -1036,7 +1035,7 @@ { \tocrule{$\cdot$}[\bfseries] } }, section/tocline = \CTEXnumberline{#1}#2, - subsection/tocformat = \addvspace{0.35pc}, + subsection/tocformat = \addvspace{0.2pc}, subsection/tocindent = \bool_if:NTF \l__eb_class_book_bool { 3.8em } { 1.4em }, subsection/tocrule = \tocrule{$\cdot$}, subsection/tocline = \CTEXnumberline{#1}#2, @@ -1162,10 +1161,7 @@ \eb_appto_cmd:Nn \@chapter { \skip_if_eq:nnF { \eb@toc@lolskip } { \c_zero_skip } - { - \addtocontents{lol} - {\protect\addvspace{\skip_use:N \eb@toc@lolskip}} - } + { \addtocontents{lol}{\protect\addvspace{\skip_use:N \eb@toc@lolskip}} } } } @@ -1416,7 +1412,7 @@ \ctex_define:nn { spread } { line .code:n = \AfterPreamble{\setspread{#1}}, - line .initial:n = 1.3, + line .initial:n = 1.354, table .fp_set:N = \l__eb_spread_table_fp, table .initial:n = 1.2, math .fp_set:N = \l__eb_spread_math_fp, @@ -1464,10 +1460,7 @@ \SetTblrInner{stretch = \fp_use:N \l__eb_spread_table_fp} }{} \eb_at_begin_environment:nn { tabular,tabularx } - { - \exp_args:Nx - \setspread { \fp_use:N \l__eb_spread_table_fp } - } + { \setspread{\fp_use:N \l__eb_spread_table_fp} } \bool_if:NF \l__eb_float_page_bool { @@ -1494,9 +1487,9 @@ \tl_gset:Nn \ULthickness { \l__eb_rule_width_dim } \DeclareGraphicsExtensions{.pdf,.png,.jpg,.eps,.tif} -\cs_new_protected:Npn \hangpara #1#2 +\cs_set_protected:Npn \hangpara #1#2 { \hangindent #1\hangafter #2\noindent\ignorespaces } -\NewDocumentEnvironment{hangparas}{mm+b} +\DeclareDocumentEnvironment{hangparas}{mm+b} { \dim_zero:N \parindent \everypar{\hangpara{#1}{#2}}#3\par @@ -1679,8 +1672,8 @@ } \ctex_set:nn { thmset } { - spaceabove = 0.75ex plus .1ex, - spacebelow = 0.75ex plus .1ex, + spaceabove = 0ex plus .1ex, + spacebelow = 0ex plus .1ex, headindent = 0em, headfont = \color{ctex@emph}\sffamily, postheadspace = 1em, diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls index 5603af10dc4..b73ce1ff16e 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybook.cls +++ b/Master/texmf-dist/tex/latex/easybook/easybook.cls @@ -20,7 +20,7 @@ %% This work has the LPPL maintenance status `maintained'. \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e} -\ProvidesExplClass{easybook}{2021/11/12}{1.40P} +\ProvidesExplClass{easybook}{2021/11/16}{1.40Q} {Typeset Chinese theses or books} \bool_set_false:N \l__eb_compile_draft_bool diff --git a/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg b/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg index d8295ff117c..245fd9dc665 100644 --- a/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg +++ b/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg @@ -18,7 +18,7 @@ %% LaTeX version 2005/12/01 or later. %% %% This work has the LPPL maintenance status `maintained'. -\ProvidesExplFile{eb-tcolorbox.cfg}{2021/11/12}{1.40P} +\ProvidesExplFile{eb-tcolorbox.cfg}{2021/11/16}{1.40Q} {Customization of tcolorbox for easybook} \tl_gset:Nn \eb@tc@line@skip { 0.5\baselineskip } |