From 07549467cd23db09b2150c50bc9f93f10f08764a Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 19 Jan 2021 03:01:36 +0000 Subject: CTAN sync 202101190301 --- macros/latex/contrib/easybook/easybook.cls | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'macros/latex/contrib/easybook/easybook.cls') diff --git a/macros/latex/contrib/easybook/easybook.cls b/macros/latex/contrib/easybook/easybook.cls index 8e5273e3ee..59eee8726e 100644 --- a/macros/latex/contrib/easybook/easybook.cls +++ b/macros/latex/contrib/easybook/easybook.cls @@ -9,7 +9,7 @@ %% https://creativecommons.org/licenses/by/4.0/legalcode \NeedsTeXFormat{LaTeX2e} \RequirePackage{l3keys2e} -\ProvidesExplClass{easybook}{2021/01/15}{1.21e}{} +\ProvidesExplClass{easybook}{2021/01/18}{1.21f}{} \cs_generate_variant:Nn \keys_define:nn {nx} \cs_generate_variant:Nn \int_to_arabic:n {v} @@ -812,12 +812,16 @@ bodyfont .initial:n = {}, notefont .tl_set:N = \l__thm_notefont_tl, notefont .initial:n = {}, + headfont .tl_set:N = \l__thm_headfont_tl, + headfont .initial:n = {\color{ctex@emph}\sffamily}, headindent .tl_set:N = \l__thm_headindent_tl, headindent .initial:n = {0\ccwd}, spaceabove .tl_set:N = \l__thm_spaceabove_tl, spaceabove .initial:n = {.75ex plus .1ex}, spacebelow .tl_set:N = \l__thm_spacebelow_tl, - spacebelow .initial:n = {.75ex plus .1ex} + spacebelow .initial:n = {.75ex plus .1ex}, + spacepost .tl_set:N = \l__thm_spacepost_tl, + spacepost .initial:n = {\ccwd} } \ctex_at_end_preamble:n { @@ -825,12 +829,12 @@ spaceabove = \l__thm_spaceabove_tl, spacebelow = \l__thm_spacebelow_tl, headindent = \l__thm_headindent_tl, - headfont = \color{ctex@emph}\sffamily, + headfont = \l__thm_headfont_tl, notefont = \l__thm_notefont_tl, notebraces = {}{}, bodyfont = \l__thm_bodyfont_tl, headpunct = \l__thm_headpunct_tl, - postheadspace = \ccwd, + postheadspace = \l__thm_spacepost_tl, numberwithin = \l__thm_numberwith_tl, headformat = \NAME\space\NUMBER\NOTE ]{mythm} @@ -955,14 +959,10 @@ { \IfBooleanF{#1} { + \CTEX@ifnametrue \refstepcounter{section} \CTEX@addtocline{section}{#4} - \markright - { - \ifnum\c@secnumdepth>\z@ - \CTEXthesection\hspace{0.5\ccwd} - \fi#4 - } + \markright{\CTEXthesection\hspace{0.5\ccwd}#4} } \begin{center} \bool_if:NTF \l__thmbox_bool @@ -1079,6 +1079,7 @@ { \exp_args:NV \addbibresource\l__bib_file_tl \defbibheading{bibliography}[\bibname]{\__title_mark_intoc:n {##1}} + \skip_set:Nn \bibitemsep{0ex} } \ctex_at_end_preamble:n { -- cgit v1.2.3