texlive[63938] Master/texmf-dist: fixdif (19jul22)
commits+karl at tug.org
commits+karl at tug.org
Tue Jul 19 22:09:11 CEST 2022
Revision: 63938
http://tug.org/svn/texlive?view=revision&revision=63938
Author: karl
Date: 2022-07-19 22:09:11 +0200 (Tue, 19 Jul 2022)
Log Message:
-----------
fixdif (19jul22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/fixdif/README.md
trunk/Master/texmf-dist/doc/latex/fixdif/fixdif.pdf
trunk/Master/texmf-dist/source/latex/fixdif/fixdif.dtx
trunk/Master/texmf-dist/source/latex/fixdif/fixdif.ins
trunk/Master/texmf-dist/tex/latex/fixdif/fixdif.sty
Modified: trunk/Master/texmf-dist/doc/latex/fixdif/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fixdif/README.md 2022-07-19 20:08:55 UTC (rev 63937)
+++ trunk/Master/texmf-dist/doc/latex/fixdif/README.md 2022-07-19 20:09:11 UTC (rev 63938)
@@ -6,13 +6,16 @@
- `\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.
------
Modified: trunk/Master/texmf-dist/doc/latex/fixdif/fixdif.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/fixdif/fixdif.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fixdif/fixdif.dtx 2022-07-19 20:08:55 UTC (rev 63937)
+++ trunk/Master/texmf-dist/source/latex/fixdif/fixdif.dtx 2022-07-19 20:09:11 UTC (rev 63938)
@@ -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 @@
- `\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 @@
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 @@
%</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 @@
\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 @@
% \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 @@
% 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 @@
% \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 @@
%
% \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 @@
%
% \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 @@
% \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 @@
% 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 @@
% 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 @@
% 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}
Modified: trunk/Master/texmf-dist/source/latex/fixdif/fixdif.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/fixdif/fixdif.ins 2022-07-19 20:08:55 UTC (rev 63937)
+++ trunk/Master/texmf-dist/source/latex/fixdif/fixdif.ins 2022-07-19 20:09:11 UTC (rev 63938)
@@ -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
Modified: trunk/Master/texmf-dist/tex/latex/fixdif/fixdif.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fixdif/fixdif.sty 2022-07-19 20:08:55 UTC (rev 63937)
+++ trunk/Master/texmf-dist/tex/latex/fixdif/fixdif.sty 2022-07-19 20:09:11 UTC (rev 63938)
@@ -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
More information about the tex-live-commits
mailing list.