From 2d49a6becfbe398ab2db1e210df99766cc43ba6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Thu, 9 Sep 2021 22:41:46 +0200 Subject: [PATCH] renew command at beginning of document, fix typo --- math/mkessler-mathfixes.sty | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/math/mkessler-mathfixes.sty b/math/mkessler-mathfixes.sty index d57996f..9ee93bf 100644 --- a/math/mkessler-mathfixes.sty +++ b/math/mkessler-mathfixes.sty @@ -5,7 +5,8 @@ % This just brings together some (possibly ugly) hacks that I use when writing math. Likely, you do not want to use this except when building around this package (like I did), or already have similar shortcuts %Proper Degree command -\renewcommand{\degree}{^\circ} +\def\mkessler@mathfixes@degree{^\circ} +\AtBeginDocument{\def\degree{\mkessler@mathfixes@degree}} % Always put limits under \limit \let\oldlim\lim\def\lim{\oldlim\limits} @@ -25,4 +26,4 @@ \let\mkessler@mathfixes@oldepsilon\epsilon \renewcommand\epsilon\varepsilon -\newcommand\uglyphi{\mkessler@mathfixes@oldepsilon} +\newcommand\uglyepsilon{\mkessler@mathfixes@oldepsilon}