From d7791cdcb585c5c3058cfa640990b82c12c7d634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Mon, 31 Jan 2022 00:44:40 +0100 Subject: [PATCH] fix bugs --- src/environments/thmstyle/thmstyle.dtx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/environments/thmstyle/thmstyle.dtx b/src/environments/thmstyle/thmstyle.dtx index 6eebeb0..814c3b7 100644 --- a/src/environments/thmstyle/thmstyle.dtx +++ b/src/environments/thmstyle/thmstyle.dtx @@ -23,7 +23,7 @@ % https://www.latex-project.org/lppl.txt % % ----------------------------------------------------------------------- -%\ProvidesExplPackage{thmstyle}{2022/01/17}{0.0.1}{Grouped theorems.} +%\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 }