From c172740adc810b1dfcf73516eb7c28292ab267d5 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 22 May 2019 21:24:04 +0000 Subject: mismath (22may19) git-svn-id: svn://tug.org/texlive/trunk@51193 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/mismath/mismath.pdf | Bin 527223 -> 526980 bytes Master/texmf-dist/source/latex/mismath/mismath.dtx | 62 +++++++++++---------- Master/texmf-dist/tex/latex/mismath/mismath.sty | 18 +++--- 3 files changed, 41 insertions(+), 39 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/mismath/mismath.pdf b/Master/texmf-dist/doc/latex/mismath/mismath.pdf index ddb659fdc27..ea46530cb44 100644 Binary files a/Master/texmf-dist/doc/latex/mismath/mismath.pdf and b/Master/texmf-dist/doc/latex/mismath/mismath.pdf differ diff --git a/Master/texmf-dist/source/latex/mismath/mismath.dtx b/Master/texmf-dist/source/latex/mismath/mismath.dtx index 222a1b0cc70..f9df5ec1471 100644 --- a/Master/texmf-dist/source/latex/mismath/mismath.dtx +++ b/Master/texmf-dist/source/latex/mismath/mismath.dtx @@ -2,8 +2,6 @@ % % Copyright (C) 2019 by Antoine Missier % -% Version 0.1 : 2011/12/27 -% Version 1.0 : 2019/04/11 dtx and ins files % This file may be distributed and/or modified under the conditions of % the LaTeX Project Public License, either version 1.3 of this license % or (at your option) any later version. The latest version of this @@ -22,7 +20,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{mismath} - [2019/05/08 v1.3 .dtx mismath file] + [2019/05/22 v1.4 .dtx mismath file] % %<*driver> \documentclass{ltxdoc} @@ -37,8 +35,8 @@ \inumber \pinumber % for an example in this doc we substitute [ and ] by \OB and \CB -\DeclareMathSymbol{\OB}\mathclose{up}{093} -\DeclareMathSymbol{\CB}\mathopen{up}{091} +\DeclareMathSymbol{\OB}\mathclose{UpSh}{093} +\DeclareMathSymbol{\CB}\mathopen{UpSh}{091} \DisableCrossrefs %\CodelineIndex @@ -60,7 +58,7 @@ % % \fi % -% \CheckSum{1836} +% \CheckSum{1844} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -78,16 +76,19 @@ % Grave accent \` Left brace \{ Vertical bar \| % Right brace \} Tilde \~} % -% -% \changes{v1.0}{2019/04/11}{Initial version} -% \changes{v1.1}{2019/04/20}{some forgotten french 'et' -> 'and', citecolor=blue} -% \changes{v1.1}{2019/04/20}{pinumber[Euler] -> [Symbol]} -% \changes{v1.2}{2019/04/26}{works fine with beamer now: mathrm -> mathup, -% AtBeginDocument for enumber, inumber, junmber, more general @moperator macro} -% \changes{v1.2}{2019/04/27}{added mathtools package, font definition Roman -> up, +% \changes{v0.1}{2011/12/27}{First personal version} +% \changes{v1.0}{2019/04/11}{Initial published version, creating dtx and ins files} +% \changes{v1.1}{2019/04/20}{Some forgotten french 'et' -> 'and', citecolor=blue} +% \changes{v1.1}{2019/04/20}{Changing de default font for pinumber Euler -> Symbol} +% \changes{v1.2}{2019/04/26}{Works fine with beamer now, +% AtBeginDocument for enumber, inumber, jnumber, +% 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 PEroman macro} -% \changes{v1.3}{2019/05/05}{a small bug correction in the internal @mwarning macro} -% \changes{v1.3}{2019/05/08}{many corrections in documentation} +% \changes{v1.3}{2019/05/05}{Using bslash in the internal @mwarning macro} +% \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} % % \GetFileInfo{mismath.sty} % @@ -95,7 +96,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{May 8, 2019} +% \date{May 22, 2019} % \maketitle % % \section{Introduction} @@ -237,7 +238,7 @@ % produces vectors with arrows % (thanks to \textsf{esvect} package by Eddie Saudrais\footnote{\textsf{esvect} % provides \texttt{\bslash vv} macro used by \texttt{\bslash vect}.}) -% which are much more elegant than those produced by \LaTeX\ |\overrightarrow| command +% which are much more elegant than those produced by \LaTeX\ |\overrightarrow| command % (giving $\overrightarrow{AB}$). % The \textsf{esvect} package has an optional argument % (one letter between \texttt{a} and \texttt{h}) defining @@ -496,12 +497,12 @@ % (thanks to the \LaTeX\ command |\stackrel|):\\ % \begin{minipage}[t]{8cm} % \begin{verbatim} -% $ \e^{i\theta} \eqdef -% \cos\theta + i\sin\theta $ +% $ \e^{\i\theta} \eqdef +% \cos\theta + \i\sin\theta $ % \end{verbatim} % \end{minipage} % \begin{minipage}{6cm} -% $\e^{i\theta}\eqdef\cos\theta+i\sin\theta$ +% $\e^{\i\theta}\eqdef\cos\theta + \i\sin\theta$ % \end{minipage} % % \DescribeMacro{\unbr} @@ -550,11 +551,12 @@ % \end{center} % % \DescribeMacro{\pow} -% When typesetting an exponent after a closing parenthesis produced by |\right)|, +% When typesetting an exponent after a closing \emph{big} parenthesis produced by |\right)|, % the exponent is little to far from the parenthesis. % The command |\pow|\marg{expr}\marg{pow} sets % \meta{expr} between parentheses and puts the exponent \meta{pow} -% slightly closer to the right parenthesis. Compare: +% slightly closer to the right parenthesis\footnote{This macro gives bad +% results with normal sized parenthesis.}. Compare: % \[ \e^a \sim\left(1+\frac{a}{n}\right)^n \txt{and} \e^a \sim\pow{1+\frac{a}{n}}{n}.\] % % \DescribeMacro{\abs} @@ -800,15 +802,15 @@ \renewcommand{\j}{\TextOrMath{\oldj}{\mathup{j}}} } -\DeclareSymbolFont{up}{\encodingdefault}{\familydefault}{m}{n} +\DeclareSymbolFont{UpSh}{\encodingdefault}{\familydefault}{m}{n} \newcommand{\enumber}{ - \AtBeginDocument{\DeclareMathSymbol{e}\mathalpha{up}{`e}} + \AtBeginDocument{\DeclareMathSymbol{e}\mathalpha{UpSh}{`e}} } \newcommand{\inumber}{ - \AtBeginDocument{\DeclareMathSymbol{i}\mathalpha{up}{`i}} + \AtBeginDocument{\DeclareMathSymbol{i}\mathalpha{UpSh}{`i}} } \newcommand{\jnumber}{ - \AtBeginDocument{\DeclareMathSymbol{j}\mathalpha{up}{`j}} + \AtBeginDocument{\DeclareMathSymbol{j}\mathalpha{UpSh}{`j}} } \newcommand*{\pinumber}[1][Symbol]{ \@ifpackageloaded{upgreek}{}{\usepackage[#1]{upgreek}} @@ -846,8 +848,8 @@ \@mmacro{V}{\operatorname{\probastyle{V}}} \newcommand{\PEupright}{ \AtBeginDocument{% necessary for working with beamer - \DeclareMathSymbol{P}\mathalpha{up}{`P} - \DeclareMathSymbol{E}\mathalpha{up}{`E} + \DeclareMathSymbol{P}\mathalpha{UpSh}{`P} + \DeclareMathSymbol{E}\mathalpha{UpSh}{`E} } } @@ -923,8 +925,8 @@ \providecommand*{\pow}[2]{\left( #1 \right)^{\!#2}} \providecommand*{\abs}[1]{\left\vert#1\right\vert} \providecommand*{\lfrac}[2]{\frac{\:#1\:}{\:#2\:}} -\DeclareMathSymbol{]}\mathord{up}{093} % originally \mathclose -\DeclareMathSymbol{[}\mathord{up}{091} % originally \mathopen +\DeclareMathSymbol{]}\mathord{UpSh}{093} % originally \mathclose +\DeclareMathSymbol{[}\mathord{UpSh}{091} % originally \mathopen \newcommand{\systemstretch}{1.2} \newcommand{\systemsep}{\medspace} diff --git a/Master/texmf-dist/tex/latex/mismath/mismath.sty b/Master/texmf-dist/tex/latex/mismath/mismath.sty index 71f81e4b0a3..3f9ce8aba57 100644 --- a/Master/texmf-dist/tex/latex/mismath/mismath.sty +++ b/Master/texmf-dist/tex/latex/mismath/mismath.sty @@ -22,7 +22,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{mismath} - [2019/05/08 v1.3 .dtx mismath file] + [2019/05/22 v1.4 .dtx mismath file] \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{amsmath}} \ProcessOptions \relax @@ -62,15 +62,15 @@ \renewcommand{\j}{\TextOrMath{\oldj}{\mathup{j}}} } -\DeclareSymbolFont{up}{\encodingdefault}{\familydefault}{m}{n} +\DeclareSymbolFont{UpSh}{\encodingdefault}{\familydefault}{m}{n} \newcommand{\enumber}{ - \AtBeginDocument{\DeclareMathSymbol{e}\mathalpha{up}{`e}} + \AtBeginDocument{\DeclareMathSymbol{e}\mathalpha{UpSh}{`e}} } \newcommand{\inumber}{ - \AtBeginDocument{\DeclareMathSymbol{i}\mathalpha{up}{`i}} + \AtBeginDocument{\DeclareMathSymbol{i}\mathalpha{UpSh}{`i}} } \newcommand{\jnumber}{ - \AtBeginDocument{\DeclareMathSymbol{j}\mathalpha{up}{`j}} + \AtBeginDocument{\DeclareMathSymbol{j}\mathalpha{UpSh}{`j}} } \newcommand*{\pinumber}[1][Symbol]{ \@ifpackageloaded{upgreek}{}{\usepackage[#1]{upgreek}} @@ -107,8 +107,8 @@ \@mmacro{V}{\operatorname{\probastyle{V}}} \newcommand{\PEupright}{ \AtBeginDocument{% necessary for working with beamer - \DeclareMathSymbol{P}\mathalpha{up}{`P} - \DeclareMathSymbol{E}\mathalpha{up}{`E} + \DeclareMathSymbol{P}\mathalpha{UpSh}{`P} + \DeclareMathSymbol{E}\mathalpha{UpSh}{`E} } } @@ -180,8 +180,8 @@ \providecommand*{\pow}[2]{\left( #1 \right)^{\!#2}} \providecommand*{\abs}[1]{\left\vert#1\right\vert} \providecommand*{\lfrac}[2]{\frac{\:#1\:}{\:#2\:}} -\DeclareMathSymbol{]}\mathord{up}{093} % originally \mathclose -\DeclareMathSymbol{[}\mathord{up}{091} % originally \mathopen +\DeclareMathSymbol{]}\mathord{UpSh}{093} % originally \mathclose +\DeclareMathSymbol{[}\mathord{UpSh}{091} % originally \mathopen \newcommand{\systemstretch}{1.2} \newcommand{\systemsep}{\medspace} -- cgit v1.2.3