summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/easybook
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-01-06 21:08:04 +0000
committerKarl Berry <karl@freefriends.org>2022-01-06 21:08:04 +0000
commitb8af323ca941e92b4511211d6f5513337004f456 (patch)
tree67811ccb0b907b05744d1cc17d6d0b51194ad759 /Master/texmf-dist/tex/latex/easybook
parent2847c629f1a7b0032ace17d02dea127721d967a4 (diff)
easybook (6jan22)
git-svn-id: svn://tug.org/texlive/trunk@61514 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/easybook')
-rw-r--r--Master/texmf-dist/tex/latex/easybook/easybase.sty16
-rw-r--r--Master/texmf-dist/tex/latex/easybook/easybook.cls3
-rw-r--r--Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg2
3 files changed, 10 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybase.sty b/Master/texmf-dist/tex/latex/easybook/easybase.sty
index 35adcd00e7a..0a68a026177 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}{2022/01/04}{1.42L}
+\ProvidesExplPackage{easybase}{2022/01/05}{1.42P}
{Typeset Chinese theses or books}
\cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -297,8 +297,8 @@
columnsep = 2em,
headheight = 2.04cm,
headsep = 0.5cm,
- footskip = 0.79cm,
footnotesep = 0.5cm,
+ footskip = 0.79cm,
marginparsep = 8pt,
marginparwidth = 2.54cm
}
@@ -307,6 +307,7 @@
headruleskip .tl_set:N = \headruleskip,
headruleskip .initial:n = 1.5pt,
footruleskip .tl_set:N = \footruleskip,
+ footruleskip .initial:n = 3.5pt,
unknown .code:n =
{
\exp_args:Nx \geometry
@@ -1563,8 +1564,7 @@
\SetEnumitemValue{font}{sf}{\color{ctex@emph}\normalfont\sffamily}
\SetEnumitemValue{ref}{enumii}{\arabic{enumi}.\alph*}
\SetEnumitemValue{ref}{enumiii}{\arabic{enumi}.\alph{enumii}.\roman*}
-\setlist{nosep,align = left,mode = unboxed}
-\setlist*{labelsep = 0.5em,listparindent = 2em,leftmargin = *}
+\setlist{nosep,align = left,mode = unboxed,leftmargin = *,listparindent = 2em}
\setlist[itemize,1]{label = bullet}
\setlist[itemize,2]{label = endash}
\setlist[itemize,3]{label = asterisk}
@@ -1663,8 +1663,8 @@
\cs_new_protected:Npn \eb_thm_biname_set:nnn #1#2#3
{
\tl_if_eq:NnTF \l__ctex_scheme_tl { chinese }
- { \tl_set:cn { l__eb_thm_biname_#1_tl } {#3} }
- { \tl_set:cn { l__eb_thm_biname_#1_tl } {#2} }
+ { \tl_set:cn { #1name } {#3} }
+ { \tl_set:cn { #1name } {#2} }
}
\cs_set_eq:NN \eb@declaretheorem@save \declaretheorem
\cs_set_eq:NN \eb@declaretheoremsyle@save \declaretheoremstyle
@@ -1688,7 +1688,7 @@
}
\eb_thm_biname_set:nnn {#1} {#2} {#3}
\declaretheorem{#1}[
- name = \tl_use:c { l__eb_thm_biname_#1_tl },
+ name = \tl_use:c { #1name },
style = fancy,#5
]
\eb_if_thmframe_with_tcolorbox:TF
@@ -1699,7 +1699,7 @@
\bool_if:cF { l__eb_tcb_repeat_env_#1_bool }
{ \tcolorboxenvironment{#1}{#4} }
} { }
- \labelformat{#1}{\tl_use:c { l__eb_thm_biname_#1_tl }~##1}
+ \labelformat{#1}{\tl_use:c { #1name }~##1}
}
\prop_new:N \l__eb_thmtools_entry_prop
diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls
index b31307f69bd..893b7db7884 100644
--- a/Master/texmf-dist/tex/latex/easybook/easybook.cls
+++ b/Master/texmf-dist/tex/latex/easybook/easybook.cls
@@ -20,14 +20,13 @@
%% This work has the LPPL maintenance status `maintained'.
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2022/01/04}{1.42L}
+\ProvidesExplClass{easybook}{2022/01/05}{1.42P}
{Typeset Chinese theses or books}
\bool_set_false:N \l__eb_compile_draft_bool
\bool_set_false:N \l__eb_title_newline_bool
\bool_set_true:N \l__eb_class_mode_book_bool
\tl_new:N \l__eb_font_value_tl
-\clist_new:N \g__eb_config_file_clist
\clist_new:N \g__eb_options_clist
\cs_new_protected:Npn \eb_put_ctexbook:n #1
{ \PassOptionsToClass{#1}{ctexbook} }
diff --git a/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg b/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg
index 6833d35b9b3..3955cf2cbb6 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}{2022/01/04}{1.42L}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2022/01/05}{1.42P}
{Customization of tcolorbox for easybook}
\cs_set_protected:Npn \setexercise #1