diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty index 6b2f64085f0..9aa0f793047 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty @@ -249,9 +249,10 @@ background: } \DeclareDocumentCommand\newmdtheoremenv{O{} m o m o }{% \ifboolexpr{ test {\IfNoValueTF {#3}} and test {\IfNoValueTF {#5}} }% - {\newtheorem{#2}{#4}}{% - \IfValueTF{#3}{\newtheorem{#2}[#3]{#4}}{}% - \IfValueTF{#5}{\newtheorem{#2}{#4}[#5]}{}% + {\newtheorem{#2}{#4}}% + {% + \IfValueT{#3}{\newtheorem{#2}[#3]{#4}}% + \IfValueT{#5}{\newtheorem{#2}{#4}[#5]}% }% \BeforeBeginEnvironment{#2}{% \renewcommand*{\LWR@mdthisenv}{md#2}% @@ -260,7 +261,6 @@ background: \end{mdframed}}% } - \endinput %% %% End of file `lwarp-mdframed.sty'. |