add ensuremath do \degree command

This commit is contained in:
Maximilian Keßler 2021-09-09 23:18:37 +02:00
parent 40ef2ce438
commit 5cdefa7832

View file

@ -5,7 +5,7 @@
% 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 % 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 %Proper Degree command
\def\mkessler@mathfixes@degree{^\circ} \def\mkessler@mathfixes@degree{\ensuremath{^\circ}}
\AtBeginDocument{\let\degree\mkessler@mathfixes@degree} \AtBeginDocument{\let\degree\mkessler@mathfixes@degree}
% Always put limits under \limit % Always put limits under \limit