diff options
author | Norbert Preining <norbert@preining.info> | 2022-04-26 03:02:04 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-04-26 03:02:04 +0000 |
commit | 6f7554fc6cab67e3dc397ce7a942889eedbc4967 (patch) | |
tree | cd63f9ed43b147e44b3f1981bf7bda23680416b1 /macros/unicodetex/latex/einfart/einfart.cls | |
parent | 4688b855bb6f8b817901a7c777e8aecd1a189622 (diff) |
CTAN sync 202204260302
Diffstat (limited to 'macros/unicodetex/latex/einfart/einfart.cls')
-rw-r--r-- | macros/unicodetex/latex/einfart/einfart.cls | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/macros/unicodetex/latex/einfart/einfart.cls b/macros/unicodetex/latex/einfart/einfart.cls index b1a2280ebb..37a460b9d0 100644 --- a/macros/unicodetex/latex/einfart/einfart.cls +++ b/macros/unicodetex/latex/einfart/einfart.cls @@ -19,7 +19,7 @@ \RequirePackage{l3keys2e} \ProvidesExplClass {einfart} - {2022/04/17} {} + {2022/04/24} {} {A simple and clear article style} \tl_const:Nn \l__minimclass_base_class_tl { article } @@ -157,6 +157,7 @@ total = { 5.535in, 8.300in }, centering, footnotesep = 2em plus 2pt minus 2pt, + footskip = .5in, } \bool_if:NT \l__minimclass_b_five_paper_bool @@ -167,6 +168,7 @@ total = { 5.535in, 8.160in }, centering, footnotesep = 2em plus 2pt minus 2pt, + footskip = .5in, } } @@ -178,6 +180,7 @@ total = { 6.500in, 9.685in }, centering, footnotesep = 2em plus 2pt minus 2pt, + footskip = .5in, } } @@ -672,7 +675,24 @@ \PassOptionsToPackage { all } { nowidow } \RequirePackage { nowidow } -\RequirePackage { embrac } + +\RequirePackage { regexpatch } +\skip_new:N \g_minimclass_parfillskip_skip +\xpatchcmd{\@trivlist}{\@flushglue}{\g_minimclass_parfillskip_skip}{}{} +\hook_gput_code:nnn { begindocument } { minimclass } + { + \skip_gset:Nn \g_minimclass_parfillskip_skip { 0pt plus \dim_eval:n { \linewidth - 2\parindent } } + \skip_gset_eq:NN \parfillskip \g_minimclass_parfillskip_skip + } + +\hook_gput_code:nnn { begindocument/before } { minimclass } + { + \@ifpackageloaded { biblatex } + { + \PassOptionsToPackage { biblatex } { embrac } + } {} + \RequirePackage { embrac } + } %%================================ %% Graphics |