diff options
author | Norbert Preining <norbert@preining.info> | 2022-05-30 03:02:45 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-05-30 03:02:45 +0000 |
commit | e86bbda34fc68baf4c550857dde06eb51a304c0d (patch) | |
tree | b26b0f9b8af7034d9e27a07270263b38659b2f3a /macros/latex/contrib/fixdif/fixdif.dtx | |
parent | c00656779e19523d32d1d563e37f48709e487ce3 (diff) |
CTAN sync 202205300302
Diffstat (limited to 'macros/latex/contrib/fixdif/fixdif.dtx')
-rw-r--r-- | macros/latex/contrib/fixdif/fixdif.dtx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/macros/latex/contrib/fixdif/fixdif.dtx b/macros/latex/contrib/fixdif/fixdif.dtx index 95099c0b74..9e06f1067a 100644 --- a/macros/latex/contrib/fixdif/fixdif.dtx +++ b/macros/latex/contrib/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} |