texlive[51193] Master/texmf-dist: mismath (22may19)

commits+karl at tug.org commits+karl at tug.org
Wed May 22 23:24:04 CEST 2019


Revision: 51193
          http://tug.org/svn/texlive?view=revision&revision=51193
Author:   karl
Date:     2019-05-22 23:24:04 +0200 (Wed, 22 May 2019)
Log Message:
-----------
mismath (22may19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/mismath/mismath.pdf
    trunk/Master/texmf-dist/source/latex/mismath/mismath.dtx
    trunk/Master/texmf-dist/tex/latex/mismath/mismath.sty

Modified: trunk/Master/texmf-dist/doc/latex/mismath/mismath.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/mismath/mismath.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/mismath/mismath.dtx	2019-05-22 21:23:51 UTC (rev 51192)
+++ trunk/Master/texmf-dist/source/latex/mismath/mismath.dtx	2019-05-22 21:24:04 UTC (rev 51193)
@@ -2,8 +2,6 @@
 %
 % Copyright (C) 2019 by Antoine Missier <antoine.missier at ac-toulouse.fr>
 %
-% 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]
 %</package>
 %<*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 @@
 %</driver>
 % \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 at 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}

Modified: trunk/Master/texmf-dist/tex/latex/mismath/mismath.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mismath/mismath.sty	2019-05-22 21:23:51 UTC (rev 51192)
+++ trunk/Master/texmf-dist/tex/latex/mismath/mismath.sty	2019-05-22 21:24:04 UTC (rev 51193)
@@ -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}



More information about the tex-live-commits mailing list