summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/minimalist/minimalist-plain.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/minimalist/minimalist-plain.sty')
-rw-r--r--macros/latex/contrib/minimalist/minimalist-plain.sty21
1 files changed, 14 insertions, 7 deletions
diff --git a/macros/latex/contrib/minimalist/minimalist-plain.sty b/macros/latex/contrib/minimalist/minimalist-plain.sty
index 577f4b24e1..761cc4f258 100644
--- a/macros/latex/contrib/minimalist/minimalist-plain.sty
+++ b/macros/latex/contrib/minimalist/minimalist-plain.sty
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{minimalist-plain}
- {2024/02/20} {}
+ {2024/02/23} {}
{The "plain" style of minimalist}
\IfPackageLoadedTF { minimalist } {}
@@ -730,7 +730,7 @@ heading_suffix "}\n"
\newtheoremstyle{simple-var}
{.75\baselineskip}{}
{
- \bool_if:NTF \l__minimalist_emphasis_theorem_bool { \itshape } { \normalfont }
+ \bool_if:NTF \l__minimalist_emphasize_theorem_bool { \itshape } { \normalfont }
\parindent=0pt
\parskip=.3333\baselineskip plus .0667\baselineskip minus .0833\baselineskip
}{}
@@ -771,7 +771,7 @@ heading_suffix "}\n"
\newtheoremstyle{simple-var}
{}{}
{
- \bool_if:NTF \l__minimalist_emphasis_theorem_bool { \itshape } { \normalfont }
+ \bool_if:NTF \l__minimalist_emphasize_theorem_bool { \itshape } { \normalfont }
\parindent=0pt
\parskip=.3333\baselineskip plus .0667\baselineskip minus .0833\baselineskip
}{}
@@ -849,13 +849,19 @@ heading_suffix "}\n"
\SetTheorem { proof, proof* } { qed-symbol = { \customqedsymbol } }
+\hook_gput_code:nnn { env/proof/begin } { minimalist } { \let\simpleqed\relax }
+\hook_gput_code:nnn { env/proof*/begin } { minimalist } { \let\simpleqed\relax }
+
\bool_if:NT \l__minimalist_colored_proof_bool
{
- \hook_gput_code:nnn { env/proof/begin } { minimalist }
+ \clist_map_inline:nn { proof, proof* }
{
- \Hy@SaveLastskip
- \color{ \l__minimalist_colored_proof_tl }
- \Hy@RestoreLastskip
+ \hook_gput_code:nnn { env/ #1 /begin } { minimalist }
+ {
+ \Hy@SaveLastskip
+ \color{ \l__minimalist_colored_proof_tl }
+ \Hy@RestoreLastskip
+ }
}
}
@@ -1118,6 +1124,7 @@ heading_suffix "}\n"
%% Special adjustment
%%================================
+
\endinput
%%
%% End of file `minimalist/minimalist-plain.sty'.