summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/fixdif/fixdif.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/fixdif/fixdif.dtx')
-rw-r--r--Master/texmf-dist/source/latex/fixdif/fixdif.dtx12
1 files changed, 5 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/fixdif/fixdif.dtx b/Master/texmf-dist/source/latex/fixdif/fixdif.dtx
index 95099c0b741..9e06f1067ab 100644
--- a/Master/texmf-dist/source/latex/fixdif/fixdif.dtx
+++ b/Master/texmf-dist/source/latex/fixdif/fixdif.dtx
@@ -126,7 +126,7 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>.
%</internal>
%
%<*driver>
-\ProvidesFile{fixdif.dtx}[2022/05/27 (c) Copyright 2022 by Zhang Tingxuan]
+\ProvidesFile{fixdif.dtx}[2022/05/29 (c) Copyright 2022 by Zhang Tingxuan]
\documentclass{ltxdoc}
\usepackage{xcolor}
@@ -145,7 +145,7 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>.
\title{The \pkg{fixdif} Package}
\author{Zhang Tingxuan}
-\date{2022/05/27\quad Version 1.0\thanks{\url{https://github.com/AlphaZTX/fixdif}}}
+\date{2022/05/29\quad Version 1.1\thanks{\url{https://github.com/AlphaZTX/fixdif}}}
\usepackage{hyperref}
\hypersetup{
@@ -413,7 +413,7 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>.
% Check the \TeX{} format and provides the package name.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fixdif}[2022/05/26 Interface for defining the differential operator.]
+\ProvidesPackage{fixdif}[2022/05/29 Interface for defining the differential operator.]
% \end{macrocode}
%
% \subsection{Control the skip between slash and differential operator}
@@ -486,9 +486,7 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>.
% \cs{@dif} is the differential operator produced by \cs{d} in math mode.
% Here we prefer \cs{mathinner} to |\mathbin| to make the skip.
% \begin{macrocode}
-\def\@dif{\ifmmode%
- \mathinner{\@@dif}\mup@tch%
-\fi}
+\def\@dif{\mathinner{\@@dif}\mup@tch}
% \end{macrocode}
% \DescribeMacro{\d@accent}
% Restore the \cs{d} command in text by \cs{d@accent} with the \cs{let}
@@ -499,7 +497,7 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>.
% \DescribeMacro{\d}
% Redefine the \cs{d} command. In text, we need to expand the stuffs after \cs{d}
% \begin{macrocode}
-\gdef\d{\ifmmode\@dif\else\expandafter\d@accent\fi}
+\gdef\d{\relax\ifmmode\@dif\else\expandafter\d@accent\fi}
% \end{macrocode}
%
% \subsection{User's interface for defining new differential operators}