summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/minimalist/minimalist-stream.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/minimalist/minimalist-stream.sty')
-rw-r--r--macros/latex/contrib/minimalist/minimalist-stream.sty35
1 files changed, 27 insertions, 8 deletions
diff --git a/macros/latex/contrib/minimalist/minimalist-stream.sty b/macros/latex/contrib/minimalist/minimalist-stream.sty
index 84843f52cc..cef220e623 100644
--- a/macros/latex/contrib/minimalist/minimalist-stream.sty
+++ b/macros/latex/contrib/minimalist/minimalist-stream.sty
@@ -2,7 +2,7 @@
%% This is file `minimalist/minimalist-stream.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-stream}
- {2023/10/15} {}
+ {2024/02/20} {}
{The "stream" style of minimalist}
\IfPackageLoadedTF { minimalist } {}
@@ -929,7 +929,10 @@ heading_suffix "}\n"
. \hspace{.5em}
}
-\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}}}
@@ -938,7 +941,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
{
@@ -972,12 +975,28 @@ heading_suffix "}\n"
\bool_if:NTF \l__minimalist_theorem_in_new_line_bool
{
- \PassOptionsToPackage { theorem-style = { remark = simple-inline, proof = proof,
- theorem = simple-newline-var, lemma = simple-newline-var, proposition = simple-newline-var, corollary = simple-newline-var, property = simple-newline-var, axiom = simple-newline-var, construction = simple-newline-var, theorem-with-name = simple-newline-var } } { projlib-theorem }
+ \PassOptionsToPackage
+ {
+ theorem-style = {
+ proof = proof,
+ remark = simple-inline, remarks = simple-inline,
+ theorem = simple-newline-var, lemma = simple-newline-var, proposition = simple-newline-var, corollary = simple-newline-var, property = simple-newline-var, axiom = simple-newline-var, construction = simple-newline-var,
+ theorems = simple-newline-var, lemmas = simple-newline-var, propositions = simple-newline-var, corollaries = simple-newline-var, properties = simple-newline-var, axioms = simple-newline-var, constructions = simple-newline-var,
+ theorem-with-name = simple-newline-var,
+ }
+ } { projlib-theorem }
}
{
- \PassOptionsToPackage { theorem-style = { remark = simple-inline, proof = proof,
- theorem = simple-inline-var, lemma = simple-inline-var, proposition = simple-inline-var, corollary = simple-inline-var, property = simple-inline-var, axiom = simple-inline-var, construction = simple-inline-var, theorem-with-name = simple-inline-var } } { projlib-theorem }
+ \PassOptionsToPackage
+ {
+ theorem-style = {
+ proof = proof,
+ remark = simple-inline, remarks = simple-inline,
+ theorem = simple-inline-var, lemma = simple-inline-var, proposition = simple-inline-var, corollary = simple-inline-var, property = simple-inline-var, axiom = simple-inline-var, construction = simple-inline-var,
+ theorems = simple-inline-var, lemmas = simple-inline-var, propositions = simple-inline-var, corollaries = simple-inline-var, properties = simple-inline-var, axioms = simple-inline-var, constructions = simple-inline-var,
+ theorem-with-name = simple-inline-var,
+ }
+ } { projlib-theorem }
}
\RequirePackage { projlib-theorem }