diff options
author | Norbert Preining <norbert@preining.info> | 2023-01-28 03:02:00 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-01-28 03:02:00 +0000 |
commit | 261f52e7813eade06f278eda62023fda3d266980 (patch) | |
tree | 0d56bc08c2c97b37eda3497b1ed29eff56d02a1e /macros/latex/contrib/fixdif/fixdif.dtx | |
parent | 924dfac8358e4caeec54b5bce18848ee52f36eac (diff) |
CTAN sync 202301280301
Diffstat (limited to 'macros/latex/contrib/fixdif/fixdif.dtx')
-rw-r--r-- | macros/latex/contrib/fixdif/fixdif.dtx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/macros/latex/contrib/fixdif/fixdif.dtx b/macros/latex/contrib/fixdif/fixdif.dtx index 0d6e945658..c6dfc5a236 100644 --- a/macros/latex/contrib/fixdif/fixdif.dtx +++ b/macros/latex/contrib/fixdif/fixdif.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com> +% Copyright (C) 2022-2023 by Zhang Tingxuan <alphaztx@163.com> % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -48,7 +48,7 @@ either version 1.3c of this license or (at your option) any later version. ------ -Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>. +Copyright (C) 2022-2023 by Zhang Tingxuan <alphaztx@163.com>. %</readme> % %<*internal> @@ -65,7 +65,7 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>. \preamble - Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com> + Copyright (C) 2022-2023 by Zhang Tingxuan <alphaztx@163.com> This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either @@ -131,7 +131,7 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>. %</internal> % %<*driver> -\ProvidesFile{fixdif.dtx}[2023/01/23 (c) Copyright 2022 by Zhang Tingxuan] +\ProvidesFile{fixdif.dtx}[2023/01/27 (c) Copyright 2022-2023 by Zhang Tingxuan] \documentclass{ltxdoc} \usepackage{xcolor} @@ -150,7 +150,7 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>. \title{The \pkg{fixdif} Package} \author{Zhang Tingxuan} -\date{2023/01/23\quad Version 1.5\thanks{\url{https://github.com/AlphaZTX/fixdif}}} +\date{2023/01/27\quad Version 1.6\thanks{\url{https://github.com/AlphaZTX/fixdif}}} \usepackage{hyperref} \hypersetup{ @@ -473,7 +473,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}[2023/01/23 Interface for defining differential operators.] +\ProvidesPackage{fixdif}[2023/01/27 Interface for defining differential operators.] % \end{macrocode} % % \subsection{Control the skip between slashes and differential operator} @@ -509,7 +509,7 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>. % \DescribeMacro{\mup@tch} % The following \cs{mup@tch} patches the skip after the differential operator. % \begin{macrocode} -\def\mup@tch{\mathchoice{\mskip-\thinmuskip}{\mskip-\thinmuskip}{}{}} +\def\mup@tch{\mathchoice{\mskip-\thinmuskip}{\mskip-\thinmuskip}{}{}{}} % \end{macrocode} % The \cs{s@beforep@tch} patches the commands with star (\cs{letdif*}, etc). % \begin{macrocode} @@ -551,12 +551,12 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>. % Restore the \cs{d} command in text by \cs{d@accent} with the \cs{let} % primitive. % \begin{macrocode} -\let\d@accent\d +\AtBeginDocument{\let\d@accent\d % \end{macrocode} % \DescribeMacro{\d} % Redefine the \cs{d} command. In text, we need to expand the stuffs after \cs{d} % \begin{macrocode} -\DeclareRobustCommand\d{\ifmmode\@dif\else\expandafter\d@accent\fi} + \DeclareRobustCommand\d{\ifmmode\@dif\else\expandafter\d@accent\fi}} % \end{macrocode} % % \subsection{User's interface for defining new differential operators} @@ -586,7 +586,7 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>. \expandafter\let\csname #2nondif\expandafter\endcsname \csname #2\endcsname% \fi% - \gdef#1{\mathinner{\s@beforep@tch\csname #2nondif\endcsname\mbox{}}\mup@tch}% + \gdef#1{\mathinner{\s@beforep@tch\csname #2nondif\endcsname\hbox{}}\mup@tch}% }} \def\letdif{\@ifstar\s@letdif\@letdif} % \end{macrocode} |