Skip to content

Commit

Permalink
v1.4b
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaZTX authored Oct 28, 2022
1 parent 84fa46b commit 6f323d5
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
Binary file modified fixdif-zh-cn.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion fixdif-zh-cn.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
\documentclass[letterpaper,11pt]{article}
\date{2022/09/14\quad Version 1.4a%
\date{2022/10/27\quad Version 1.4b%
\thanks{源代码见~\hyperref{https://github.com/AlphaZTX/fixdif}{}{}{GitHub}
或~\hyperref{https://www.ctan.org/pkg/fixdif}{}{}{CTAN}。}
}
Expand Down
12 changes: 6 additions & 6 deletions fixdif.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Copyright (C) 2022 by Zhang Tingxuan <[email protected]>.
%</internal>
%
%<*driver>
\ProvidesFile{fixdif.dtx}[2022/9/14 (c) Copyright 2022 by Zhang Tingxuan]
\ProvidesFile{fixdif.dtx}[2022/10/27 (c) Copyright 2022 by Zhang Tingxuan]
\documentclass{ltxdoc}

\usepackage{xcolor}
Expand All @@ -150,7 +150,7 @@ Copyright (C) 2022 by Zhang Tingxuan <[email protected]>.

\title{The \pkg{fixdif} Package}
\author{Zhang Tingxuan}
\date{2022/9/14\quad Version 1.4a\thanks{\url{https://github.com/AlphaZTX/fixdif}}}
\date{2022/10/27\quad Version 1.4b\thanks{\url{https://github.com/AlphaZTX/fixdif}}}

\usepackage{hyperref}
\hypersetup{
Expand Down Expand Up @@ -473,7 +473,7 @@ Copyright (C) 2022 by Zhang Tingxuan <[email protected]>.
% Check the \TeX{} format and provides the package name.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{fixdif}[2022/9/14 Interface for defining differential operators.]
\ProvidesPackage{fixdif}[2022/10/27 Interface for defining differential operators.]
% \end{macrocode}
%
% \subsection{Control the skip between slashes and differential operator}
Expand Down Expand Up @@ -522,14 +522,14 @@ Copyright (C) 2022 by Zhang Tingxuan <[email protected]>.
\DeclareOption{rm}{\@ifpackageloaded{unicode-math}
{\def\@@dif{\symrm{d}}}{\def\@@dif{\mathrm{d}}}}
\DeclareOption{normal}{\def\@@dif{d}}
\DeclareOption{partial}{\def\fixdif@partial@bool{1}}
\DeclareOption{nopartial}{\def\fixdif@partial@bool{0}}
\DeclareOption{partial}{\@tempswatrue}
\DeclareOption{nopartial}{\@tempswafalse}
\ExecuteOptions{rm,partial}
\ProcessOptions\relax
% \end{macrocode}
% Control the behavior of \cs{partial}.
% \begin{macrocode}
\ifnum\fixdif@partial@bool=1
\if@tempswa
\AtEndOfPackage{\letdif{\partial}{partial}}
\fi
% \end{macrocode}
Expand Down
Binary file modified fixdif.pdf
Binary file not shown.
8 changes: 4 additions & 4 deletions fixdif.sty
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
%% and README.md.
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{fixdif}[2022/8/11 Interface for defining differential operators.]
\ProvidesPackage{fixdif}[2022/10/27 Interface for defining differential operators.]
\@ifpackageloaded{unicode-math}{
\Umathcode`\/="4 "0 "002F
\Umathcode"2044="4 "0 "2044
Expand All @@ -49,11 +49,11 @@
\DeclareOption{rm}{\@ifpackageloaded{unicode-math}
{\def\@@dif{\symrm{d}}}{\def\@@dif{\mathrm{d}}}}
\DeclareOption{normal}{\def\@@dif{d}}
\DeclareOption{partial}{\def\fixdif@partial@bool{1}}
\DeclareOption{nopartial}{\def\fixdif@partial@bool{0}}
\DeclareOption{partial}{\@tempswatrue}
\DeclareOption{nopartial}{\@tempswafalse}
\ExecuteOptions{rm,partial}
\ProcessOptions\relax
\ifnum\fixdif@partial@bool=1
\if@tempswa
\AtEndOfPackage{\letdif{\partial}{partial}}
\fi
\gdef\resetdfont#1{\let\@@dif\relax%
Expand Down

0 comments on commit 6f323d5

Please sign in to comment.