summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fixdif/fixdif.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/fixdif/fixdif.sty')
-rw-r--r--Master/texmf-dist/tex/latex/fixdif/fixdif.sty8
1 files changed, 3 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/fixdif/fixdif.sty b/Master/texmf-dist/tex/latex/fixdif/fixdif.sty
index 3431ca9d12b..bcea188cb8e 100644
--- a/Master/texmf-dist/tex/latex/fixdif/fixdif.sty
+++ b/Master/texmf-dist/tex/latex/fixdif/fixdif.sty
@@ -29,7 +29,7 @@
%% and README.md.
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fixdif}[2022/05/26 Interface for defining the differential operator.]
+\ProvidesPackage{fixdif}[2022/05/29 Interface for defining the differential operator.]
\@ifpackageloaded{unicode-math}{
\Umathcode`\/="4 "0 "002F
\Umathcode"2044="4 "0 "2044
@@ -59,11 +59,9 @@
\fi
\gdef\resetdfont#1{\let\@@dif\relax%
\def\@@dif{#1{d}}}
-\def\@dif{\ifmmode%
- \mathinner{\@@dif}\mup@tch%
-\fi}
+\def\@dif{\mathinner{\@@dif}\mup@tch}
\let\d@accent\d
-\gdef\d{\ifmmode\@dif\else\expandafter\d@accent\fi}
+\gdef\d{\relax\ifmmode\@dif\else\expandafter\d@accent\fi}
\def\@letdif#1#2{\AtBeginDocument{
\ifcsname #2@old\endcsname\else
\expandafter\let\csname #2@old\expandafter\endcsname%