From dee60691b7fd1a27fde4cd2551c338dff5530c79 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 6 Sep 2019 21:13:02 +0000 Subject: mismath (6sep19) git-svn-id: svn://tug.org/texlive/trunk@52039 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/mismath/mismath.dtx | 48 +++++++++------------- 1 file changed, 20 insertions(+), 28 deletions(-) (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/latex/mismath/mismath.dtx b/Master/texmf-dist/source/latex/mismath/mismath.dtx index 5ec076d17a3..022117487b7 100644 --- a/Master/texmf-dist/source/latex/mismath/mismath.dtx +++ b/Master/texmf-dist/source/latex/mismath/mismath.dtx @@ -20,7 +20,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{mismath} - [2019/06/22 v1.5 .dtx mismath file] + [2019/09/06 v1.6 .dtx mismath file] % %<*driver> \documentclass{ltxdoc} @@ -85,12 +85,13 @@ % creating general @moperator macro, using mathup instead of mathrm} % \changes{v1.2}{2019/04/27}{Added mathtools package, font definition Roman -> up, % changes in documentation, removing the PEroman macro} -% \changes{v1.3}{2019/05/05}{Using bslash in the internal @mwarning macro} +% \changes{v1.3}{2019/05/05}{Using bslash in the internal @mwarning macro, loading of mathfixs package} % \changes{v1.3}{2019/05/08}{Many corrections in documentation} % \changes{v1.4}{2019/05/22}{Changing font definition up -> UpSh, % due to incompatibility with unicode-math} -% \changes{v1.5}{2019/05/30}{A solution for using mul with frac, adding paren macro} +% \changes{v1.5}{2019/05/30}{A solution for using mul with frac, addition of paren macro} % \changes{v1.5}{2019/06/22}{small corrections in documentation} +% \changes{v1.6}{2019/09/06}{Removing mathfixs package} % % \GetFileInfo{mismath.sty} % @@ -98,7 +99,7 @@ % corresponds to \textsf{mismath}~\fileversion, dated \filedate. % Thanks to François Bastouil for help in English translation.}} % \author{Antoine Missier \\ \texttt{antoine.missier@ac-toulouse.fr}} -% \date{June 22, 2019} +% \date{September 6, 2019} % \maketitle % % \section{Introduction} @@ -150,16 +151,15 @@ % \textsf{amsmath} has to be loaded % with the required options before \textsf{mismath}. % -% Two other usefull packages are loaded: +% Another package, % \textsf{mathtools} by Morten Høgholm and Lars Madsen~\cite{TOOL} -% and \textsf{mathfixs} by Niklas Beiser with \texttt{frac} and \texttt{root} options~\cite{MFIX}. +% is also loaded. It provides many usefull macros. % % \medskip % A recommendation, seldom observed, is to typeset uppercase Greek letters in italic shape % like other variables~\cite{ICTNS}. This is automatically done with the \textsf{fixmath} package -% by Walter Schmidt~\cite{FIXM} or \textsf{isomath} by Günter Milde~\cite{ISOM} -% or you can do |\ProvideMathFix{greekcaps}| in the preamble, thanks to the \textsf{mathfixs} package. -% But this feature is not implemented in \textsf{mismath} because this rule is conflicting +% by Walter Schmidt~\cite{FIXM}, +% but this feature is not implemented in \textsf{mismath} because this rule is conflicting % to the one used for instance in France where all mathematics capitals % have to be typeset in upright shape\footnote{The \textsf{frenchmath} package~\cite{FR} % takes this rule into account.}. @@ -273,9 +273,7 @@ % from \textsf{amsbsy} package, loaded by \textsf{amsmath}. % But other packages producing bold italic can be preferred, e.g.\@ % \texttt{\bslash bm} from \textsf{bm} package or |\mathbold| from \textsf{fixmath} -% package (also implemented in \textsf{mathfixs}\footnote{To activate a feature -% of \textsf{mathfix} like \texttt{mathbold}, do \texttt{\bslash ProvideMathFix\{mathbold\}}.}) -% or |\mathbfit| from \textsf{isomath}. +% package or |\mathbfit| from \textsf{isomath}. % For that, redefine |\boldvectcommand|: % for instance |\renewcommand\boldvectcommand{\mathbold}|. % @@ -334,9 +332,8 @@ % italic, to make it different from variables % (as mentioned in \cite{TYPMA}~\cite{NIST}~\cite{ICTNS}~\cite{LSHORT}). % For this, we provide the |\di| command. -% In the first following example, notice the thin spaces before the d, -% as for classic function's names; in the second one, -% spaces before fractions have been enlarged by the \textsf{mathfixs} package: \\ +% See the following examples (notice the thin spaces before the d, +% as for classic function's names): \\ % \begin{minipage}[t]{7cm} % \begin{verbatim} %\[ \iint xy\di x\di y \] @@ -540,16 +537,13 @@ % is less than $\lambda+\alpha \mul b-\beta \mul c$, obtained with |\mul|. % \end{center} % -% When using |\mul| with fractions, irregular spacing may occur due to the \texttt{frac} -% feature of the \textsf{mathfixs} package. As explained in the \textsf{mathfixs} -% documentation~\cite{MFIX}, a solution to eliminate spaces around a fraction, is -% to enclose the fraction with brackets: -% |{\frac|\marg{num}\marg{denom}|}|\footnote{We have the same problem -% and the same solution when using \texttt{\bslash mul} before an operator name -% or a \texttt{\bslash left...\bslash right} structure.}. +% When using |\mul| before an operator name +% or a |\left...\right| structure, additionnal spacing occur on the right side of |\mul|. +% A solution to get the same amount of space on the two sides of |\mul|, is to +% enclose the operator name (or the structure) with brackets: % \begin{center} -% $x\mul\dfrac{1}{x}$ is less than $x\mul{\dfrac{1}{x}}$ -% obtained with |x\mul{\dfrac{1}{x}}|. +% Compare $x\mul\sin x$ with $x\mul{\sin x}$ +% obtained with |x\mul{\sin x}|. % \end{center} % % \DescribeMacro{\then} @@ -568,7 +562,7 @@ % Spaces around parenthesis produced by |\left(...\right)| may be too large, for example % after a function name or a point name with coordinates. % A solution is to add a thin negative space |\!| before the opening (or after the closing) -% parenthesis or to enclose the +% parenthesis, or to enclose the % |\left(...\right)| structure by brackets, or to use the |\paren| macro: % \begin{center} % $\sin\left(\frac{\pi}{3}\right)\mul 2$ is less than $\sin\paren{\frac{\pi}{3}}\mul 2$ @@ -729,7 +723,7 @@ % as shown in the following example. % But you have to load the \textsf{multicol} package in the preamble. % \begin{mathcols} -% & \frac{1}{2 \mul \pow{\frac{1}{4}}{n} + 1} \geq 0.999 \\ +% & \frac{1}{2 \mul {\pow{\frac{1}{4}}{n}} + 1} \geq 0.999 \\ % \iff\ & 1 \geq 1.998 \pow{\frac{1}{4}}{n} + 0.999 \\ % \iff\ & 0.001 \geq \frac{1.998}{4^n} \\ % \changecol @@ -767,7 +761,6 @@ \RequirePackage{ifthen} \RequirePackage{xspace} \RequirePackage{mathtools} -\RequirePackage[frac,root]{mathfixs} % \end{macrocode} % The above conditional packages loading avoids ``option clash'' errors if the packages % have been previously loaded with (other) options. @@ -994,7 +987,6 @@ % Michael Downes, Davis M.~Jones, David Carlisle, CTAN, v2.17b 2018/12/01. % \bibitem{TOOL} \emph{The \textsf{mathtool} package}. Morten Høgholm, Lars Madsen, CTAN, % v1.21 2018/01/08. -% \bibitem{MFIX} \emph{The \textsf{mathfixs} Package}. Niklas Beisert, CTAN, v1.01 2018/12/30. % \bibitem{VECT} \emph{Typesetting vectors with beautiful arrow with \LaTeXe}. % \textsf{esvect} package by Eddie Saudrais, CTAN, v1.3 2013/07/11. % \bibitem{GREEK} \emph{The \textsf{upgreek} package for \LaTeXe}, Walter Schmidt, -- cgit v1.2.3