diff options
author | Norbert Preining <norbert@preining.info> | 2021-12-27 03:02:58 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-12-27 03:02:58 +0000 |
commit | 790995b7e79697514364450bf9c04f1b8d500838 (patch) | |
tree | a59b89b3cfb2e5def88455fa463f95e9a2aaea5f /macros/latex/contrib/easybook | |
parent | 4a2abb95db9b87c04422a05174b2606b2c8e1d2b (diff) |
CTAN sync 202112270302
Diffstat (limited to 'macros/latex/contrib/easybook')
-rw-r--r-- | macros/latex/contrib/easybook/easybook.dtx | 27 | ||||
-rw-r--r-- | macros/latex/contrib/easybook/easybook.pdf | bin | 594225 -> 594563 bytes | |||
-rw-r--r-- | macros/latex/contrib/easybook/easybook.tex | 6 |
3 files changed, 15 insertions, 18 deletions
diff --git a/macros/latex/contrib/easybook/easybook.dtx b/macros/latex/contrib/easybook/easybook.dtx index 99f5551d5d..86fed33e09 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}{2021/12/22}{1.42C} +\ProvidesExplClass{easybook}{2021/12/26}{1.42E} {Typeset Chinese theses or books} \bool_set_false:N \l__eb_compile_draft_bool @@ -307,7 +307,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e,etoolbox} -\ProvidesExplPackage{easybase}{2021/12/22}{1.42C} +\ProvidesExplPackage{easybase}{2021/12/26}{1.42E} {Typeset Chinese theses or books} \cs_generate_variant:Nn \dim_set:Nn { NV } @@ -2432,7 +2432,7 @@ } %</package> %<*tcolorbox> -\ProvidesExplFile{eb-tcolorbox.cfg}{2021/12/22}{1.42C} +\ProvidesExplFile{eb-tcolorbox.cfg}{2021/12/26}{1.42E} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \setexercise #1 @@ -2488,8 +2488,7 @@ } \deftcbstyle{tc-exercise} { - blank,on~line,center, - sharpish~corners, + blank,center,sharpish~corners, fontupper = \Large\sffamily, beforeafter~skip = 5ex plus .2ex minus .1ex } @@ -2499,7 +2498,6 @@ center~title, sharpish~corners, left = 8pt,right = 8pt, - opacityback = 0.2,opacitybacktitle = 0.2, coltitle = black,colframe = black, top = \eb@tc@line@skip,bottom = \eb@tc@line@skip, middle = \eb@tc@line@skip, @@ -2526,9 +2524,9 @@ } \deftcbstyle{tc-ebfbox} { - on~line,sharpish~corners, - top = 1.5pt,bottom = 1.5pt,left = 1pt,right = 1pt, - leftrule = 0pt,rightrule = 0pt + standard~jigsaw,on~line,sharpish~corners, + top = 3pt,bottom = 3pt,left = 3pt,right = 3pt, + boxrule = 0.4pt,opacityback = 0.2 } \tcbset { @@ -2621,7 +2619,7 @@ \bool_if:NT \g__eb_exer_clear_prologue_bool { \tl_gclear:N \eb@tc@list@prologue } }{} -\DeclareTColorBox{easybox}{sO{Khaki}d()O{}} +\DeclareTColorBox{easybox}{sO{PaleGoldenrod}d()O{}} { IfBooleanF = {#1}{frame~hidden,boxrule = 0pt}, IfValueT = {#3}{title = #3}, @@ -2641,17 +2639,16 @@ }{ colback = white, IfValueT = {#3}{title = #3}, - top = 0pt,bottom = 0pt,right = 0pt,toptitle = 0pt + top = 0pt,bottom = 0pt,right = 0pt }, coltitle = #2,tc-ebparbox,#4 } -\DeclareTotalTCBox{\ebfbox}{O{Lime}vO{}} +\DeclareTotalTCBox{\ebfbox}{O{Green}vO{}} { - colback = #1!10!white, - colframe = #1!50!black, + colback = #1,colframe = #1, tc-ebfbox,#3 }{#2} -\DeclareTotalTCBox{\ebemph}{O{DarkSeaGreen}vO{}} +\DeclareTotalTCBox{\ebemph}{O{Yellow}vO{}} { fuzzy~halo = 2pt~with~#1, tc-ebemph,#3 diff --git a/macros/latex/contrib/easybook/easybook.pdf b/macros/latex/contrib/easybook/easybook.pdf Binary files differindex 4bed13fdee..299886a6a5 100644 --- a/macros/latex/contrib/easybook/easybook.pdf +++ b/macros/latex/contrib/easybook/easybook.pdf diff --git a/macros/latex/contrib/easybook/easybook.tex b/macros/latex/contrib/easybook/easybook.tex index 0aacb0e9c4..9179fa3002 100644 --- a/macros/latex/contrib/easybook/easybook.tex +++ b/macros/latex/contrib/easybook/easybook.tex @@ -20,8 +20,8 @@ name = easybook, color-scheme = blue, title = EASYBOOK 使用手册, - version = v1.42C, - date = 2021/12/22, + version = v1.42E, + date = 2021/12/26, authors = 瞿毅, info = 排版简体中文学位论文和书籍, email = q1jx@foxmail.com, @@ -1142,7 +1142,7 @@ \command{ebemph}[\oarg{颜色名}\marg{内容}\oarg{配置选项}] 盒子 \cs{ebemph} 具有模糊边缘类似高亮的效果。 \command{ebfbox}[\oarg{颜色名}\marg{内容}\oarg{配置选项}] - 盒子 \cs{ebfbox} 则有直角边缘并带有上下框线。 + 盒子 \cs{ebfbox} 则有直角边缘和四周框线,效果类似带颜色的 \cs*{fbox} 盒子。 \end{commands} \section{更多用法} |