From 81bb3c96c8d1a4a21c568c1e7ab19112d9905b11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sun, 12 Sep 2021 17:56:30 +0200 Subject: [PATCH] fix autorefname of theorem in case hyperref is loaded --- environments/mkessler-fancythm.sty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environments/mkessler-fancythm.sty b/environments/mkessler-fancythm.sty index 9223f2a..4ec44fc 100644 --- a/environments/mkessler-fancythm.sty +++ b/environments/mkessler-fancythm.sty @@ -109,7 +109,7 @@ \RequirePackage[default styles]{mkessler-thmstyle} % Easy setup of mdframed styles - \declarebigtheorem[Satz][Theorem]{thmredmarginandfill}{theorem} + \declarebigtheorem[Satz][Theorem]{thmredmarginandfill}{theorem} \ifmkessler@fancythm@english\else\AtBeginDocument{\def\theoremautorefname{Satz}}\fi \declarebigtheorem{thmredmarginandfill}{proposition} \declarebigtheorem[Korollar]{thmredmarginandfill}{corollary} \declarebigtheorem{thmorangemarginandfill}{lemma}