diff options
author | Karl Berry <karl@freefriends.org> | 2021-04-23 20:38:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-04-23 20:38:30 +0000 |
commit | 7b50c062cbf0210c08dcb82f2a7005ca5d9e75ae (patch) | |
tree | ac904955a657b6c10bbb2028e9750bf72101756b /Master/texmf-dist/tex/latex | |
parent | 84bea690b79b9b8386909fb27ed1402454fe4d0d (diff) |
easybook (23apr21)
git-svn-id: svn://tug.org/texlive/trunk@58976 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybook.cls | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls index 410de43f383..d1a9a4f2c68 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybook.cls +++ b/Master/texmf-dist/tex/latex/easybook/easybook.cls @@ -13,7 +13,7 @@ %% https://creativecommons.org/licenses/by/4.0/legalcode \NeedsTeXFormat{LaTeX2e}[2020/10/01] \RequirePackage{l3keys2e,etoolbox} -\ProvidesExplClass{easybook}{2021/04/21}{1.24q}{beta} +\ProvidesExplClass{easybook}{2021/04/23}{1.24s}{beta} \cs_generate_variant:Nn \__ctex_define:nn {nx} \cs_generate_variant:Nn \int_to_arabic:n {v} @@ -512,7 +512,11 @@ lists/lolskip .skip_set:N = \l__eb_toc_lolskip_skip, lists/lolskip .initial:n = 0.8pc, lists/belowoffset .dim_set:N = \l__eb_toc_listsoffset_dim, - lists/belowoffset .initial:n = 0pc, + lists/belowoffset .initial:n = + {\bool_if:NTF \l__eb_class_book_bool{0pc}{0.15pc}}, + belowoffset .dim_set:N = \l__eb_toc_offset_dim, + belowoffset .initial:n = + {\bool_if:NTF \l__eb_class_book_bool{-1pc}{-0.35pc}}, tocline-fig .cs_set:Np = \eb@labelname@lof#1, tocline-fig .initial:n = { @@ -541,8 +545,6 @@ \hspace{\eb@toc@lists@numsep} \fi }, - belowoffset .dim_set:N = \l__eb_toc_offset_dim, - belowoffset .initial:n = -1pc, line-align .bool_set:N = \l__eb_toc_line_align_bool, line-align .default:n = true, line-align .initial:n = true, @@ -601,7 +603,8 @@ chapter/numsep = \ccwd, section/format = \addvspace{0.35pc}, - section/indent = 1.5\ccwd, + section/indent = + {\bool_if:NTF \l__eb_class_book_bool{1.5\ccwd}{0\ccwd}}, section/rule = \tocrule{$\cdot$}, section/numsep = \ccwd, @@ -1311,7 +1314,8 @@ {toptitle = 8pt,top = 8pt} {frame~hidden,boxrule = 0pt,toptitle = 8pt,top = 0pt}, IfValueT = {#3}{title = #3}, - colback = #2!8!white,colbacktitle = #2!8!white, + colback = #2,colbacktitle = #2, + opacityback = 0.1,opacitybacktitle = 0.1, coltitle = black,colframe = black, left = 6pt,right = 6pt,bottom = 8pt,middle= 8pt, bottomtitle = 8pt, @@ -1331,7 +1335,8 @@ IfValueT = {#3}{title = #3}, top = 0pt,bottom = 0pt,toptitle = 0pt }{ - colback = #2!8!white,colbacktitle = #2!8!white, + colback = #2,colbacktitle = #2, + opacityback = 0.1,opacitybacktitle = 0.1, IfValueTF = {#3}{title = #3,top = 0pt}{top = 8pt}, bottom = 8pt,toptitle = 8pt }, @@ -1347,10 +1352,11 @@ }{#2} \DeclareTotalTCBox{\eblink}{O{Aqua}vO{}} { + standard~jigsaw, nobeforeafter,tcbox~raise~base, top = 1.25pt,bottom = 1.25pt,left = 1.25pt,right = 1.25pt, boxrule = 0.75pt,arc = 1pt, - colback = #1!12!white,colframe = #1,#3 + colback = #1,opacityback = 0.12,colframe = #1,#3 }{#2} } \ctex_at_end_preamble:n |