summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-01-18 22:11:31 +0000
committerKarl Berry <karl@freefriends.org>2021-01-18 22:11:31 +0000
commitac1dd65826faaad512d3128faf5972bca8792035 (patch)
treec6fb8391e912d84d799a652e0cecbf55a9766403 /Master/texmf-dist/tex
parentba482327de1709eadaca9630cbdc6d62c7533ea9 (diff)
easybook (18jan21)
git-svn-id: svn://tug.org/texlive/trunk@57460 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/easybook/easybook.cls21
1 files changed, 11 insertions, 10 deletions
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
{