summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/simplivre
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-04-25 20:21:19 +0000
committerKarl Berry <karl@freefriends.org>2022-04-25 20:21:19 +0000
commit04e21d4c493c6d9206e1b034aed8c1fea432cc56 (patch)
tree739bccb5d67d06962f2790b9546b1dce08c0062b /Master/texmf-dist/tex/latex/simplivre
parent6af6ee507109b96148d36abddf084b4ce2541e6a (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/simplivre')
-rw-r--r--Master/texmf-dist/tex/latex/simplivre/simplivre.cls24
1 files changed, 22 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/simplivre/simplivre.cls b/Master/texmf-dist/tex/latex/simplivre/simplivre.cls
index 0e719bb8497..07780bdd10d 100644
--- a/Master/texmf-dist/tex/latex/simplivre/simplivre.cls
+++ b/Master/texmf-dist/tex/latex/simplivre/simplivre.cls
@@ -19,7 +19,7 @@
\RequirePackage{l3keys2e}
\ProvidesExplClass
{simplivre}
- {2022/04/17} {}
+ {2022/04/24} {}
{A simple and clear book style}
\tl_const:Nn \l__minimclass_base_class_tl { book }
@@ -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