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
%
% -----------------------------------------------------------------------
%<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>
\documentclass[full,kernel]{l3doc}
@ -192,14 +192,14 @@
% \begin{macrocode}
\keys_define:nn { thmstyle }
{
default styles .set_bool:N = \g_@@_default_styles_bool,
default styles .default:n = { false },
default styles .bool_set:N = \g_@@_default_styles_bool,
default styles .default:n = { true },
}
% \end{macrocode}
%
%
% \begin{macrocode}
\ProcessKeyOptions { thmstyle }
\ProcessKeysOptions { thmstyle }
% \end{macrocode}
%
%
@ -332,7 +332,7 @@
% \begin{macrocode}
\NewDocumentCommand { \DeclareFancyThmStyle } { o m o }
{
\DeclareFancyMdfStyle { #1 } { #2 }
\DeclareFancyMdfStyle [ #1 ] { #2 }
\@@_thmtools_declare_style:xx
{
mdframed =
@ -340,7 +340,7 @@
style = md #2 margin \IfValueT { #1 } { and #1 fill }
},
postheadspace = { 0.3em },
notefont = \mdseries,
notefont = \noexpand\mdseries,
}
{
\IfValueTF { #3 }