summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-05-30 20:05:38 +0000
committerKarl Berry <karl@freefriends.org>2022-05-30 20:05:38 +0000
commitb6cedd3a9b5b70496d5c0651e0fdb26fdedf89cf (patch)
tree2d9b38e0afbf71b53ce4c8037159b9c43299c198 /Master/texmf-dist/source/latex
parent8b38524142f4b0ed52b819dc06f677c98c4f6bc4 (diff)
fixdif (30may22)
git-svn-id: svn://tug.org/texlive/trunk@63444 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-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}