summaryrefslogtreecommitdiff
path: root/macros/unicodetex/latex/lebhart
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-04-26 03:02:04 +0000
committerNorbert Preining <norbert@preining.info>2022-04-26 03:02:04 +0000
commit6f7554fc6cab67e3dc397ce7a942889eedbc4967 (patch)
treecd63f9ed43b147e44b3f1981bf7bda23680416b1 /macros/unicodetex/latex/lebhart
parent4688b855bb6f8b817901a7c777e8aecd1a189622 (diff)
CTAN sync 202204260302
Diffstat (limited to 'macros/unicodetex/latex/lebhart')
-rw-r--r--macros/unicodetex/latex/lebhart/lebhart-doc-cn.pdfbin266891 -> 269138 bytes
-rw-r--r--macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex2
-rw-r--r--macros/unicodetex/latex/lebhart/lebhart-doc-en.pdfbin147325 -> 147743 bytes
-rw-r--r--macros/unicodetex/latex/lebhart/lebhart-doc-en.tex2
-rw-r--r--macros/unicodetex/latex/lebhart/lebhart-doc-fr.pdfbin150838 -> 151300 bytes
-rw-r--r--macros/unicodetex/latex/lebhart/lebhart-doc-fr.tex2
-rw-r--r--macros/unicodetex/latex/lebhart/lebhart.cls24
7 files changed, 25 insertions, 5 deletions
diff --git a/macros/unicodetex/latex/lebhart/lebhart-doc-cn.pdf b/macros/unicodetex/latex/lebhart/lebhart-doc-cn.pdf
index efd8e1b69c..ec7f4c5b4d 100644
--- a/macros/unicodetex/latex/lebhart/lebhart-doc-cn.pdf
+++ b/macros/unicodetex/latex/lebhart/lebhart-doc-cn.pdf
Binary files differ
diff --git a/macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex b/macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex
index 4cc85f17de..650496e149 100644
--- a/macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex
+++ b/macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex
@@ -93,7 +93,7 @@
%%================================
\begin{document}
-\def\PackageVersion{2022/04/17}
+\def\PackageVersion{2022/04/24}
\title{{\normalfont\bfseries\color{main-text}\lebhart{}}\\以多彩的方式排版你的文章}
\author{许锦文}
diff --git a/macros/unicodetex/latex/lebhart/lebhart-doc-en.pdf b/macros/unicodetex/latex/lebhart/lebhart-doc-en.pdf
index 7af3bb629c..daa3bd4461 100644
--- a/macros/unicodetex/latex/lebhart/lebhart-doc-en.pdf
+++ b/macros/unicodetex/latex/lebhart/lebhart-doc-en.pdf
Binary files differ
diff --git a/macros/unicodetex/latex/lebhart/lebhart-doc-en.tex b/macros/unicodetex/latex/lebhart/lebhart-doc-en.tex
index e13c8e65ce..0a50116911 100644
--- a/macros/unicodetex/latex/lebhart/lebhart-doc-en.tex
+++ b/macros/unicodetex/latex/lebhart/lebhart-doc-en.tex
@@ -93,7 +93,7 @@
%%================================
\begin{document}
-\def\PackageVersion{2022/04/17}
+\def\PackageVersion{2022/04/24}
\title{{\normalfont\bfseries\color{main-text}\lebhart{}}\\write your articles in a colorful way}
\author{Jinwen XU}
diff --git a/macros/unicodetex/latex/lebhart/lebhart-doc-fr.pdf b/macros/unicodetex/latex/lebhart/lebhart-doc-fr.pdf
index c6be48c674..5d430a9e85 100644
--- a/macros/unicodetex/latex/lebhart/lebhart-doc-fr.pdf
+++ b/macros/unicodetex/latex/lebhart/lebhart-doc-fr.pdf
Binary files differ
diff --git a/macros/unicodetex/latex/lebhart/lebhart-doc-fr.tex b/macros/unicodetex/latex/lebhart/lebhart-doc-fr.tex
index a6e2da39c3..fca4e4df4d 100644
--- a/macros/unicodetex/latex/lebhart/lebhart-doc-fr.tex
+++ b/macros/unicodetex/latex/lebhart/lebhart-doc-fr.tex
@@ -93,7 +93,7 @@
%%================================
\begin{document}
-\def\PackageVersion{2022/04/17}
+\def\PackageVersion{2022/04/24}
\title{{\normalfont\bfseries\color{main-text}\lebhart{}}\\écrivez vos articles de manière colorée}
\author{Jinwen XU}
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