diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/minimalist/minimalist-plain.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/minimalist/minimalist-plain.sty | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/minimalist/minimalist-plain.sty b/Master/texmf-dist/tex/latex/minimalist/minimalist-plain.sty index fd4503c74fb..577f4b24e1c 100644 --- a/Master/texmf-dist/tex/latex/minimalist/minimalist-plain.sty +++ b/Master/texmf-dist/tex/latex/minimalist/minimalist-plain.sty @@ -2,7 +2,7 @@ %% This is file `minimalist/minimalist-plain.sty', %% generated with the docstrip utility. %% -%% Copyright (C) 2021-2023 by Jinwen XU +%% Copyright (C) 2021-2024 by Jinwen XU %% %% This is part of the minimalist class series. %% @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplPackage {minimalist-plain} - {2023/10/15} {} + {2024/02/20} {} {The "plain" style of minimalist} \IfPackageLoadedTF { minimalist } {} @@ -792,7 +792,10 @@ heading_suffix "}\n" \theoremstyle{simple} -\def\@endtheorem{\popQED\endtrivlist\@endpefalse} +\bool_if:NT \l__minimalist_theorem_with_qed_bool + { + \def\@endtheorem{\popQED\endtrivlist\@endpefalse} + } \newcommand{\customqedsymbol}{ \makebox[1em]{\color{.!27!paper}\rule[-0.1em]{.95em}{.95em}}} @@ -801,7 +804,7 @@ heading_suffix "}\n" %% Special treatments for the Q.E.D. symbol \def\noQED{\let\popQED\relax} \let\noqed\noQED -\def\proofless{\let\qedsymbol\customqedsymbol\let\simpleqedsymbol\customqedsymbol} +\def\proofless{\pushQED{\qed}} \bool_if:NTF \l__minimalist_fast_bool { @@ -833,7 +836,14 @@ heading_suffix "}\n" } -\PassOptionsToPackage { theorem-style = { theorem = simple-var, lemma = simple-var, proposition = simple-var, corollary = simple-var, property = simple-var, axiom = simple-var, construction = simple-var, theorem-with-name = simple-var } } { projlib-theorem } +\PassOptionsToPackage + { + theorem-style = { + theorem = simple-var, lemma = simple-var, proposition = simple-var, corollary = simple-var, property = simple-var, axiom = simple-var, construction = simple-var, + theorems = simple-var, lemmas = simple-var, propositions = simple-var, corollaries = simple-var, properties = simple-var, axioms = simple-var, constructions = simple-var, + theorem-with-name = simple-var, + } + } { projlib-theorem } \RequirePackage { projlib-theorem } |