improved backslash d

This commit is contained in:
2020-05-16 23:26:44 +02:00
parent 8807cb163c
commit 7035188af9
+2 -2
View File
@@ -138,8 +138,8 @@
}%
% integral d sign
\makeatletter \renewcommand\d[1]{\ensuremath{%
\;\mathrm{d}#1\@ifnextchar\d{\!}{}}}
\makeatletter \renewcommand\d[2][]{\ensuremath{%
\,\mathrm{d}^{#1}#2\@ifnextchar^{}{\@ifnextchar\d{}{\,}}}}
\makeatother
% remove page before chapters