This commit is contained in:
Maximilian Keßler 2022-01-31 00:44:40 +01:00
parent abd2308b82
commit d7791cdcb5

View file

@ -23,7 +23,7 @@
% https://www.latex-project.org/lppl.txt % https://www.latex-project.org/lppl.txt
% %
% ----------------------------------------------------------------------- % -----------------------------------------------------------------------
%<package>\ProvidesExplPackage{thmstyle}{2022/01/17}{0.0.1}{Grouped theorems.} %<package>\ProvidesExplPackage{thmstyle}{2022/01/17}{0.0.1}{Styles for thmtools theorems.}
% %
%<*driver> %<*driver>
\documentclass[full,kernel]{l3doc} \documentclass[full,kernel]{l3doc}
@ -192,14 +192,14 @@
% \begin{macrocode} % \begin{macrocode}
\keys_define:nn { thmstyle } \keys_define:nn { thmstyle }
{ {
default styles .set_bool:N = \g_@@_default_styles_bool, default styles .bool_set:N = \g_@@_default_styles_bool,
default styles .default:n = { false }, default styles .default:n = { true },
} }
% \end{macrocode} % \end{macrocode}
% %
% %
% \begin{macrocode} % \begin{macrocode}
\ProcessKeyOptions { thmstyle } \ProcessKeysOptions { thmstyle }
% \end{macrocode} % \end{macrocode}
% %
% %
@ -332,7 +332,7 @@
% \begin{macrocode} % \begin{macrocode}
\NewDocumentCommand { \DeclareFancyThmStyle } { o m o } \NewDocumentCommand { \DeclareFancyThmStyle } { o m o }
{ {
\DeclareFancyMdfStyle { #1 } { #2 } \DeclareFancyMdfStyle [ #1 ] { #2 }
\@@_thmtools_declare_style:xx \@@_thmtools_declare_style:xx
{ {
mdframed = mdframed =
@ -340,7 +340,7 @@
style = md #2 margin \IfValueT { #1 } { and #1 fill } style = md #2 margin \IfValueT { #1 } { and #1 fill }
}, },
postheadspace = { 0.3em }, postheadspace = { 0.3em },
notefont = \mdseries, notefont = \noexpand\mdseries,
} }
{ {
\IfValueTF { #3 } \IfValueTF { #3 }