diff options
Diffstat (limited to 'macros/latex/contrib/fixdif/fixdif.dtx')
-rw-r--r-- | macros/latex/contrib/fixdif/fixdif.dtx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/macros/latex/contrib/fixdif/fixdif.dtx b/macros/latex/contrib/fixdif/fixdif.dtx index 7b525cc67f..0d6e945658 100644 --- a/macros/latex/contrib/fixdif/fixdif.dtx +++ b/macros/latex/contrib/fixdif/fixdif.dtx @@ -131,7 +131,7 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>. %</internal> % %<*driver> -\ProvidesFile{fixdif.dtx}[2022/10/27 (c) Copyright 2022 by Zhang Tingxuan] +\ProvidesFile{fixdif.dtx}[2023/01/23 (c) Copyright 2022 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{2022/10/27\quad Version 1.4b\thanks{\url{https://github.com/AlphaZTX/fixdif}}} +\date{2023/01/23\quad Version 1.5\thanks{\url{https://github.com/AlphaZTX/fixdif}}} \usepackage{hyperref} \hypersetup{ @@ -473,27 +473,27 @@ 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/10/27 Interface for defining differential operators.] +\ProvidesPackage{fixdif}[2023/01/23 Interface for defining differential operators.] % \end{macrocode} % % \subsection{Control the skip between slashes and differential operator} % Change the math code of slash ($/$) and backslash ($\backslash$) so that the skip % between slashes and differential operators can be ignored. % \begin{macrocode} -\@ifpackageloaded{unicode-math}{ +\@ifpackageloaded{unicode-math}{\AtBeginDocument{% % \end{macrocode} % If the \pkg{unicode-math} package has been loaded, use the \XeTeX/\LuaTeX{} primitive % \cs{Umathcode} to change the type of slashes. The numeral ``4'' stands for ``open''. % \begin{macrocode} - \Umathcode`\/="4 "0 "002F - \Umathcode"2044="4 "0 "2044 - \Umathcode"2215="4 "0 "2215 - \Umathcode"2F98="4 "0 "2F98 - \Umathcode`\\="4 "0 "005C - \Umathcode"2216="4 "0 "2216 - \Umathcode"29F5="4 "0 "29F5 - \Umathcode"29F9="4 "0 "29F9 -}{ + \Umathcode`\/="4 \symoperators "002F + \Umathcode"2044="4 \symoperators "2044 + \Umathcode"2215="4 \symoperators "2215 + \Umathcode"2F98="4 \symoperators "2F98 + \Umathcode`\\="4 \symoperators "005C + \Umathcode"2216="4 \symoperators "2216 + \Umathcode"29F5="4 \symoperators "29F5 + \Umathcode"29F9="4 \symoperators "29F9 +}}{ % \end{macrocode} % If the \pkg{unicode-math} package has not been loaded, use the \TeX{} primitive % \cs{mathcode} to change the type of slashes. The \cs{backslash} needs to be redefined |