summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-07-19 20:09:11 +0000
committerKarl Berry <karl@freefriends.org>2022-07-19 20:09:11 +0000
commite9a384bd2054fd0d8a57bb3c0a230ad4fcfda04e (patch)
treec0a6c0a146553b6e45d9653cf80652f7f6b9ce7c
parentd617df6026a3bd8ba94d1723e379225dcb79790f (diff)
fixdif (19jul22)
git-svn-id: svn://tug.org/texlive/trunk@63938 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/fixdif/README.md7
-rw-r--r--Master/texmf-dist/doc/latex/fixdif/fixdif.pdfbin330827 -> 331118 bytes
-rw-r--r--Master/texmf-dist/source/latex/fixdif/fixdif.dtx53
-rw-r--r--Master/texmf-dist/source/latex/fixdif/fixdif.ins4
-rw-r--r--Master/texmf-dist/tex/latex/fixdif/fixdif.sty4
5 files changed, 37 insertions, 31 deletions
diff --git a/Master/texmf-dist/doc/latex/fixdif/README.md b/Master/texmf-dist/doc/latex/fixdif/README.md
index ce9fba1dca8..5fb480f7c82 100644
--- a/Master/texmf-dist/doc/latex/fixdif/README.md
+++ b/Master/texmf-dist/doc/latex/fixdif/README.md
@@ -6,13 +6,16 @@ The basic commands are:
- `\d`: for differential operator "d" in math mode and under-dot accent in text;
- `\partial`: a "fixed" partial differential operator command;
-- `\letdif`: an interface for defining new commands for differential operators.
+- `\letdif`: an interface for defining new commands for differential operators;
+- `\mathdif`: a commmand in math mode, you can use it just like `\mathop`, etc.
See `fixdif.pdf` for more. Happy TeXing!
## License
-This work may be distributed and/or modified under the conditions of the [LaTeX Project Public License](http://www.latex-project.org/lppl.txt), either version 1.3c of this license or (at your option) any later version.
+This work may be distributed and/or modified under the conditions of
+the [LaTeX Project Public License](http://www.latex-project.org/lppl.txt),
+either version 1.3c of this license or (at your option) any later version.
------
diff --git a/Master/texmf-dist/doc/latex/fixdif/fixdif.pdf b/Master/texmf-dist/doc/latex/fixdif/fixdif.pdf
index 375106548cf..1f40b218bad 100644
--- a/Master/texmf-dist/doc/latex/fixdif/fixdif.pdf
+++ b/Master/texmf-dist/doc/latex/fixdif/fixdif.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/fixdif/fixdif.dtx b/Master/texmf-dist/source/latex/fixdif/fixdif.dtx
index 43337e7f88f..34d709b9ab2 100644
--- a/Master/texmf-dist/source/latex/fixdif/fixdif.dtx
+++ b/Master/texmf-dist/source/latex/fixdif/fixdif.dtx
@@ -19,7 +19,7 @@
% This work consists of the files fixdif.dtx,
% and the derived files fixdif.ins,
% fixdif.sty,
-% fixdef.pdf,
+% fixdif.pdf,
% and README.md.
%
%<*internal>
@@ -35,13 +35,16 @@ The basic commands are:
- `\d`: for differential operator "d" in math mode and under-dot accent in text;
- `\partial`: a "fixed" partial differential operator command;
-- `\letdif`: an interface for defining new commands for differential operators.
+- `\letdif`: an interface for defining new commands for differential operators;
+- `\mathdif`: a commmand in math mode, you can use it just like `\mathop`, etc.
See `fixdif.pdf` for more. Happy TeXing!
## License
-This work may be distributed and/or modified under the conditions of the [LaTeX Project Public License](http://www.latex-project.org/lppl.txt), either version 1.3c of this license or (at your option) any later version.
+This work may be distributed and/or modified under the conditions of
+the [LaTeX Project Public License](http://www.latex-project.org/lppl.txt),
+either version 1.3c of this license or (at your option) any later version.
------
@@ -81,7 +84,7 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>.
This work consists of the files fixdif.dtx,
and the derived files fixdif.ins,
fixdif.sty,
- fixdef.pdf,
+ fixdif.pdf,
and README.md.
\endpreamble
@@ -126,7 +129,7 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>.
%</internal>
%
%<*driver>
-\ProvidesFile{fixdif.dtx}[2022/07/14 (c) Copyright 2022 by Zhang Tingxuan]
+\ProvidesFile{fixdif.dtx}[2022/7/19 (c) Copyright 2022 by Zhang Tingxuan]
\documentclass{ltxdoc}
\usepackage{xcolor}
@@ -145,7 +148,7 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>.
\title{The \pkg{fixdif} Package}
\author{Zhang Tingxuan}
-\date{2022/07/14\quad Version 1.3\thanks{\url{https://github.com/AlphaZTX/fixdif}}}
+\date{2022/7/19\quad Version 1.3a\thanks{\url{https://github.com/AlphaZTX/fixdif}}}
\usepackage{hyperref}
\hypersetup{
@@ -227,7 +230,7 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>.
% \renewcommand\d{\mathop{\mathrm{d}}\!}
% \end{Verbatim}
% This macro works well in ``display math'' and ``text math'', but we still
-% face three problems:
+% face the following three problems:
% \begin{enumerate}
% \item The skip before ``d'' would still be reserved in ``text fraction'',
% which is regarded bad. For example, |$\d y/\d x$| produces
@@ -264,12 +267,12 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>.
% If you are using \pkg{unicode-math} package with \XeTeX/\LuaTeX{}
% in your document, you must pay attention to the following items:
% \begin{itemize}
-% \item If you want to \pkg{amsmath} package, make sure that the
+% \item If you want to use \pkg{amsmath} package, make sure that the
% \pkg{unicode-math} package is loaded \emph{after} \pkg{amsmath}.
%
% \item You had better specify the math font through the \cs{setmathfont}
-% provided by \pkg{unicode-math} in order to avoid bad skip in text fraction
-% like $\d y/\d x$.
+% command provided by \pkg{unicode-math} in order to avoid bad skip in
+% text fraction like $\d y/\d x$.
%
% \item Load the \pkg{fixdif} package \emph{after} \pkg{unicode-math}.
% \end{itemize}
@@ -289,8 +292,8 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>.
% \subsection{Basic commands and package options}
% \DescribeMacro{\d}
% The \pkg{fixdif} package provides a \cs{d} command for the differential
-% operator ``d'' in math mode. When in the text, \cs{d} behaves
-% just like the old \cs{d} command in \LaTeX{} or plain \TeX{} as an
+% operator ``d'' in math mode. When in text, \cs{d} behaves just like
+% the old \cs{d} command in \LaTeX{} or plain \TeX{} as an
% accent command. For example,
% \begin{Verbatim}
% $\d x$ and \d x
@@ -299,7 +302,7 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>.
%
% \paragraph{Set the font of \cs{d}}
% There are two basic package options to control the \cs{d}'s style in math
-% mode~--- \opt{rm} and \opt{normal}. The default option is \opt{rm}, in whose
+% mode~--- \opt{rm} and \opt{normal}. The default option is \opt{rm}, in which
% case |$f(x)\d x$| produces $f(x)\d x$. If you chose the \opt{normal} option,
% for example
% \begin{Verbatim}
@@ -309,7 +312,7 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>.
%
% \DescribeMacro{\resetdfont}
% Besides the previous two optional fonts, you can reset the font of
-% differential operator ``d'' through \cs{resetdfont} command:
+% differential operator ``d'' through \cs{resetdfont} command in preamble:
% \begin{Verbatim}
% \resetdfont{\mathsf}
% \end{Verbatim}
@@ -333,12 +336,12 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>.
% \hfill(preamble only)
%
% The \cs{letdif} command has two arguments~--- the first is the newly-defined
-% command and the second is the \emph{name} of a \emph{single} character
-% command (without the backslash on the front). For example,
+% command and the second is the control sequence \emph{name} of a math character,
+% that is, a command without its backslash. For example,
% \begin{Verbatim}
% \letdif{\vr}{delta}
% \end{Verbatim}
-% then the |\vr| will produce a $\delta$ (|\delta|) with automatic skip
+% then |\vr| will produce a $\delta$ (|\delta|) with automatic skip
% before it.
%
% Through the \cs{letdif} command, we can redefine a math character command
@@ -393,8 +396,8 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>.
% If your second argument contains only one command like |\Delta|,
% it's recommended to use \cs{letdif} or \cs{letdif*} instead.
%
-% These two commands will check whether \meta{cmd} has been defined already.
-% If so, an error message will be given.
+% \cs{newdif} and \cs{newdif*} will check whether \meta{cmd} has been defined
+% already. If so, an error message will be given.
%
% \noindent\textcolor{titlecolor}{\cs{renewdif}\marg{cmd}\marg{multi-cmd}}\DescribeMacro{\renewdif}
% \hfill(without correction, preamble only)\\
@@ -449,11 +452,11 @@ Copyright (C) 2022 by Zhang Tingxuan <alphaztx@163.com>.
% produces $\Delta$.
%
% \paragraph{Dealing with ``$+$'' and ``$-$''}
-% If you input \verb|$-\d x$|, you'll get ``$-\d x$'' in your document,
-% but compared to ``$-\d x$'', ``$-{\d x}$'' is better. To get ``$-{\d x}$'',
-% you can input \verb|-{\d x}|. The ``\verb|\d x|'' in a \emph{group} will be
-% regarded \textsl{ordinary} but not \textsl{inner}
-% so that the small skip will disappear.
+% If you input \verb|$-\d x$|, you'll get ``$-\d x$'' in your document.
+% However, if you think ``$-{\d x}$'' is better, you can input
+% \verb|-{\d x}|. The ``\verb|\d x|'' in a \emph{group} will be
+% regarded \textsl{ordinary} but not \textsl{inner} so that the
+% small skip will disappear. Maybe ``$-\d x$'' is just okay.
%
% \section{The source code}
% \begin{macrocode}
@@ -462,7 +465,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/07/14 Interface for defining the differential operators.]
+\ProvidesPackage{fixdif}[2022/7/19 Interface for defining differential operators.]
% \end{macrocode}
%
% \subsection{Control the skip between slashes and differential operator}
diff --git a/Master/texmf-dist/source/latex/fixdif/fixdif.ins b/Master/texmf-dist/source/latex/fixdif/fixdif.ins
index eb8171c866f..f0dd92e3423 100644
--- a/Master/texmf-dist/source/latex/fixdif/fixdif.ins
+++ b/Master/texmf-dist/source/latex/fixdif/fixdif.ins
@@ -25,7 +25,7 @@
%% This work consists of the files fixdif.dtx,
%% and the derived files fixdif.ins,
%% fixdif.sty,
-%% fixdef.pdf,
+%% fixdif.pdf,
%% and README.md.
%%
\input docstrip.tex
@@ -52,7 +52,7 @@
This work consists of the files fixdif.dtx,
and the derived files fixdif.ins,
fixdif.sty,
- fixdef.pdf,
+ fixdif.pdf,
and README.md.
\endpreamble
diff --git a/Master/texmf-dist/tex/latex/fixdif/fixdif.sty b/Master/texmf-dist/tex/latex/fixdif/fixdif.sty
index 225e58d992d..c388a505b63 100644
--- a/Master/texmf-dist/tex/latex/fixdif/fixdif.sty
+++ b/Master/texmf-dist/tex/latex/fixdif/fixdif.sty
@@ -25,11 +25,11 @@
%% This work consists of the files fixdif.dtx,
%% and the derived files fixdif.ins,
%% fixdif.sty,
-%% fixdef.pdf,
+%% fixdif.pdf,
%% and README.md.
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fixdif}[2022/07/14 Interface for defining the differential operators.]
+\ProvidesPackage{fixdif}[2022/7/19 Interface for defining differential operators.]
\@ifpackageloaded{unicode-math}{
\Umathcode`\/="4 "0 "002F
\Umathcode"2044="4 "0 "2044