summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/easybook/easybook.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/easybook/easybook.dtx')
-rw-r--r--Master/texmf-dist/source/latex/easybook/easybook.dtx37
1 files changed, 19 insertions, 18 deletions
diff --git a/Master/texmf-dist/source/latex/easybook/easybook.dtx b/Master/texmf-dist/source/latex/easybook/easybook.dtx
index 578d585706f..aefe66fb200 100644
--- a/Master/texmf-dist/source/latex/easybook/easybook.dtx
+++ b/Master/texmf-dist/source/latex/easybook/easybook.dtx
@@ -15,7 +15,7 @@
%<*class>
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2022/01/16}{1.46E}
+\ProvidesExplClass{easybook}{2022/01/18}{1.46P}
{Typeset Chinese theses or books}
\bool_set_false:N \l__eb_compile_draft_bool
@@ -305,7 +305,7 @@
%<*package>
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2022/01/16}{1.46E}
+\ProvidesExplPackage{easybase}{2022/01/18}{1.46P}
{Typeset Chinese theses or books}
\cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -747,7 +747,7 @@
{
fntnumwith .choices:nn =
{ part,page,chapter }
- { \tl_set:Nn \l__eb_fnt_counter_parent_value_tl {#1} },
+ { \tl_set:Nn \l__eb_fnt_parent_counter_tl {#1} },
fntnumwith .value_required:n = true,
fntnumwith .initial:n = chapter
}
@@ -929,7 +929,7 @@
\dim_set:Nn \footnotesep { \dim_use:N \box_ht:N \strutbox }
\bool_if:NT \l__eb_chap_counter_withpart_bool
{ \counterwithin*{chapter}{part} }
- \str_case:VnT \l__eb_fnt_counter_parent_value_tl
+ \str_case:VnT \l__eb_fnt_parent_counter_tl
{
{ part } { \counterwithin*{footnote}{part} }
{ page } { \counterwithin*{footnote}{page} }
@@ -2212,8 +2212,8 @@
numberstyle = \footnotesize,
basewidth = 0.5em,
columns = flexible,
- aboveskip = 1.5ex plus .2ex minus .1ex,
- belowskip = 1.5ex plus .2ex minus .1ex,
+ aboveskip = 0.5\baselineskip,
+ belowskip = 0.5\baselineskip,
abovecaptionskip = -1ex,
belowcaptionskip = 1.5ex,
keepspaces = true,
@@ -2433,7 +2433,7 @@
}
%</package>
%<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2022/01/16}{1.46E}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2022/01/18}{1.46P}
{Customization of tcolorbox for easybook}
\cs_set_protected:Npn \addtotcbstyle #1#2
@@ -2446,8 +2446,8 @@
\deftcbstyle{tc-theorem}
{
- enhanced~jigsaw,pad~at~break* = 3pt,
- colframe = ctex@emph,
+ enhanced~jigsaw,
+ frame~hidden,boxrule = 0pt,
beforeafter~skip = 0.5\baselineskip,
left = 8pt,right = 8pt,
top = 0.5\baselineskip,bottom = 0.5\baselineskip,
@@ -2455,7 +2455,7 @@
}
\deftcbstyle{tc-easybox}
{
- enhanced~jigsaw,pad~at~break* = 3pt,
+ enhanced~jigsaw,
center~title,
left = 8pt,right = 8pt,
coltitle = black,colframe = black,
@@ -2467,10 +2467,9 @@
}
\deftcbstyle{tc-ebparbox}
{
- frame~hidden,
- enhanced~jigsaw,pad~at~break* = 3pt,
- boxrule = 0pt,
- left = 8pt,
+ enhanced~jigsaw,
+ frame~hidden,boxrule = 0pt,
+ left = 10pt,
middle = 0.5\baselineskip,bottomtitle = 0.5\baselineskip,
beforeafter~skip = 0.5\baselineskip
}
@@ -2484,10 +2483,12 @@
\tcbset
{
breakable,
+ pad~at~break* = 3pt,
sharpish~corners,
- fonttitle = \sffamily,
- boxsep = 0pt,
- boxrule = 0.5pt
+ fonttitle = \sffamily,
+ colframe = black,
+ boxsep = 0pt,
+ boxrule = 0.5pt
}
\DeclareTColorBox{easybox}{sO{PaleGoldenrod}d()O{}}
@@ -2497,7 +2498,7 @@
colback = #2,colbacktitle = #2,
tc-easybox,#4
}
-\DeclareTColorBox{ebparbox}{sO{DarkSlateBlue}d()O{}}
+\DeclareTColorBox{ebparbox}{sO{RoyalBlue}d()O{}}
{
borderline~west = {3pt}{0pt}{#2},
IfBooleanTF = {#1}