diff options
Diffstat (limited to 'macros/unicodetex/latex/lebhart')
-rw-r--r-- | macros/unicodetex/latex/lebhart/lebhart-doc-cn.pdf | bin | 266891 -> 269138 bytes | |||
-rw-r--r-- | macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex | 2 | ||||
-rw-r--r-- | macros/unicodetex/latex/lebhart/lebhart-doc-en.pdf | bin | 147325 -> 147743 bytes | |||
-rw-r--r-- | macros/unicodetex/latex/lebhart/lebhart-doc-en.tex | 2 | ||||
-rw-r--r-- | macros/unicodetex/latex/lebhart/lebhart-doc-fr.pdf | bin | 150838 -> 151300 bytes | |||
-rw-r--r-- | macros/unicodetex/latex/lebhart/lebhart-doc-fr.tex | 2 | ||||
-rw-r--r-- | macros/unicodetex/latex/lebhart/lebhart.cls | 24 |
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 Binary files differindex efd8e1b69c..ec7f4c5b4d 100644 --- a/macros/unicodetex/latex/lebhart/lebhart-doc-cn.pdf +++ b/macros/unicodetex/latex/lebhart/lebhart-doc-cn.pdf 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 Binary files differindex 7af3bb629c..daa3bd4461 100644 --- a/macros/unicodetex/latex/lebhart/lebhart-doc-en.pdf +++ b/macros/unicodetex/latex/lebhart/lebhart-doc-en.pdf 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 Binary files differindex c6be48c674..5d430a9e85 100644 --- a/macros/unicodetex/latex/lebhart/lebhart-doc-fr.pdf +++ b/macros/unicodetex/latex/lebhart/lebhart-doc-fr.pdf 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 |