From 6f7554fc6cab67e3dc397ce7a942889eedbc4967 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Tue, 26 Apr 2022 03:02:04 +0000
Subject: CTAN sync 202204260302

---
 macros/unicodetex/latex/lebhart/lebhart.cls | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)

(limited to 'macros/unicodetex/latex/lebhart/lebhart.cls')

diff --git a/macros/unicodetex/latex/lebhart/lebhart.cls b/macros/unicodetex/latex/lebhart/lebhart.cls
index 835bceca4a..7cdec242e0 100644
--- a/macros/unicodetex/latex/lebhart/lebhart.cls
+++ b/macros/unicodetex/latex/lebhart/lebhart.cls
@@ -19,7 +19,7 @@
 \RequirePackage{l3keys2e}
 \ProvidesExplClass
   {lebhart}
-  {2022/04/17} {}
+  {2022/04/24} {}
   {A colorful article style}
 
 \tl_const:Nn \l__colorclass_base_class_tl { article }
@@ -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
-- 
cgit v1.2.3

