diff options
author | Karl Berry <karl@freefriends.org> | 2022-04-25 20:21:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-04-25 20:21:19 +0000 |
commit | 04e21d4c493c6d9206e1b034aed8c1fea432cc56 (patch) | |
tree | 739bccb5d67d06962f2790b9546b1dce08c0062b /Master/texmf-dist/tex/latex/beaulivre/beaulivre.cls | |
parent | 6af6ee507109b96148d36abddf084b4ce2541e6a (diff) |
jxu (25apr22)
git-svn-id: svn://tug.org/texlive/trunk@63133 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beaulivre/beaulivre.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/beaulivre/beaulivre.cls | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/beaulivre/beaulivre.cls b/Master/texmf-dist/tex/latex/beaulivre/beaulivre.cls index 57a4938e1de..05924ada809 100644 --- a/Master/texmf-dist/tex/latex/beaulivre/beaulivre.cls +++ b/Master/texmf-dist/tex/latex/beaulivre/beaulivre.cls @@ -19,7 +19,7 @@ \RequirePackage{l3keys2e} \ProvidesExplClass {beaulivre} - {2022/04/17} {} + {2022/04/24} {} {A colorful book style} \tl_const:Nn \l__colorclass_base_class_tl { book } @@ -145,6 +145,7 @@ total = { 6.500in, 9.130in }, centering, footnotesep = 2em plus 2pt minus 2pt, + footskip = .5in, } \bool_if:NT \l__colorclass_b_five_paper_bool @@ -155,6 +156,7 @@ total = { 5.535in, 8.160in }, centering, footnotesep = 2em plus 2pt minus 2pt, + footskip = .5in, } } @@ -166,6 +168,7 @@ total = { 6.500in, 9.685in }, centering, footnotesep = 2em plus 2pt minus 2pt, + footskip = .5in, } } @@ -649,7 +652,24 @@ \PassOptionsToPackage { all } { nowidow } \RequirePackage { nowidow } -\RequirePackage { embrac } + +\RequirePackage { regexpatch } +\skip_new:N \g_colorclass_parfillskip_skip +\xpatchcmd{\@trivlist}{\@flushglue}{\g_colorclass_parfillskip_skip}{}{} +\hook_gput_code:nnn { begindocument } { colorclass } + { + \skip_gset:Nn \g_colorclass_parfillskip_skip { 0pt plus \dim_eval:n { \linewidth - 2\parindent } } + \skip_gset_eq:NN \parfillskip \g_colorclass_parfillskip_skip + } + +\hook_gput_code:nnn { begindocument/before } { colorclass } + { + \@ifpackageloaded { biblatex } + { + \PassOptionsToPackage { biblatex } { embrac } + } {} + \RequirePackage { embrac } + } %%================================ %% Graphics |