From ac1dd65826faaad512d3128faf5972bca8792035 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 18 Jan 2021 22:11:31 +0000 Subject: easybook (18jan21) git-svn-id: svn://tug.org/texlive/trunk@57460 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/easybook/easybook.cls | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/tex/latex/easybook/easybook.cls') diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls index 8e5273e3ee6..59eee8726eb 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybook.cls +++ b/Master/texmf-dist/tex/latex/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