summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/easybook
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-01-19 03:01:05 +0000
committerNorbert Preining <norbert@preining.info>2022-01-19 03:01:05 +0000
commit67acf92f90956827364ebe689dbdc659c3d402e3 (patch)
tree6168f960e27b9d6e20b3fad98f62ade76aab76e0 /macros/latex/contrib/easybook
parent42225b2641eab592f67f238c364b237ee036bf0a (diff)
CTAN sync 202201190301
Diffstat (limited to 'macros/latex/contrib/easybook')
-rw-r--r--macros/latex/contrib/easybook/easybook.dtx37
-rw-r--r--macros/latex/contrib/easybook/easybook.pdfbin595806 -> 595785 bytes
-rw-r--r--macros/latex/contrib/easybook/easybook.tex4
3 files changed, 21 insertions, 20 deletions
diff --git a/macros/latex/contrib/easybook/easybook.dtx b/macros/latex/contrib/easybook/easybook.dtx
index 578d585706..aefe66fb20 100644
--- a/macros/latex/contrib/easybook/easybook.dtx
+++ b/macros/latex/contrib/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}
diff --git a/macros/latex/contrib/easybook/easybook.pdf b/macros/latex/contrib/easybook/easybook.pdf
index 633011029a..4fc0e21d61 100644
--- a/macros/latex/contrib/easybook/easybook.pdf
+++ b/macros/latex/contrib/easybook/easybook.pdf
Binary files differ
diff --git a/macros/latex/contrib/easybook/easybook.tex b/macros/latex/contrib/easybook/easybook.tex
index 865f7bf26f..42dd933e04 100644
--- a/macros/latex/contrib/easybook/easybook.tex
+++ b/macros/latex/contrib/easybook/easybook.tex
@@ -21,8 +21,8 @@
name = easybook,
color-scheme = blue,
title = EASYBOOK 使用手册,
- version = v1.46E,
- date = 2022/01/16,
+ version = v1.46P,
+ date = 2022/01/18,
authors = 瞿毅,
info = 排版简体中文学位论文和书籍,
email = q1jx@foxmail.com,