From 54aa09d5d6925008eb25609ce953c1b99fd2d2c7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 2 Apr 2016 22:19:48 +0000 Subject: latex2e (1apr16), now including amsmath git-svn-id: svn://tug.org/texlive/trunk@40218 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/amsmath/amsmath.sty | 8 ++++++-- Master/texmf-dist/tex/latex/amsmath/amsopn.sty | 10 +++++++++- 2 files changed, 15 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/latex/amsmath') diff --git a/Master/texmf-dist/tex/latex/amsmath/amsmath.sty b/Master/texmf-dist/tex/latex/amsmath/amsmath.sty index ac82f95394a..e6fa718bd03 100644 --- a/Master/texmf-dist/tex/latex/amsmath/amsmath.sty +++ b/Master/texmf-dist/tex/latex/amsmath/amsmath.sty @@ -23,7 +23,7 @@ %% \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) [1994/12/01]% LaTeX date must be December 1994 or later -\ProvidesPackage{amsmath}[2016/03/03 v2.15a AMS math features] +\ProvidesPackage{amsmath}[2016/03/10 v2.15b AMS math features] \edef\@temp{\catcode 96=\number\catcode 96 } \catcode\string `\`=12 \def\do#1{\catcode\number`#1=\number\catcode`#1} @@ -586,12 +586,16 @@ Foreign command \@backslashchar#1;\MessageBreak \def\Mathstrut@{\copy\Mathstrutbox@} \ifx\Umathcharnumdef\@undefined \def\resetMathstrut@{% + \begingroup \setbox\z@\hbox{% \mathchardef\@tempa\mathcode`\(\relax \def\@tempb##1"##2##3{\the\textfont"##3\char"}% \expandafter\@tempb\meaning\@tempa \relax }% - \ht\Mathstrutbox@\ht\z@ \dp\Mathstrutbox@\dp\z@ + \edef\@tempa{% + \ht\Mathstrutbox@\the\ht\z@\relax + \dp\Mathstrutbox@\the\dp\z@\relax}% + \expandafter\endgroup\@tempa } \else \def\resetMathstrut@{% diff --git a/Master/texmf-dist/tex/latex/amsmath/amsopn.sty b/Master/texmf-dist/tex/latex/amsmath/amsopn.sty index 5c8adacebb8..0cd9cfb3792 100644 --- a/Master/texmf-dist/tex/latex/amsmath/amsopn.sty +++ b/Master/texmf-dist/tex/latex/amsmath/amsopn.sty @@ -23,14 +23,22 @@ %% \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) [1994/12/01]% LaTeX date must December 1994 or later -\ProvidesPackage{amsopn}[1999/12/14 v2.01 operator names] +\ProvidesPackage{amsopn}[2016/03/08 v2.02 operator names] \def\nolimits@{\@ifnextchar\limits{\nolimits\@gobble}{\nolimits}} \begingroup \catcode`\"=12 +\ifx\Umathcode\@undefined \gdef\newmcodes@{\mathcode`\'39\mathcode`\*42\mathcode`\."613A% \ifnum\mathcode`\-=45 \else \mathchardef\std@minus\mathcode`\-\relax \fi \mathcode`\-45\mathcode`\/47\mathcode`\:"603A\relax} +\else +\gdef\newmcodes@{\mathcode`\'39\mathcode`\*42\mathcode`\."613A% + \ifnum\Umathcodenum`\-=45 \else + \Umathcharnumdef\std@minus\Umathcodenum`\-\relax + \fi + \mathcode`\-45\mathcode`\/47\mathcode`\:"603A\relax} +\fi \endgroup \DeclareRobustCommand{\operatorname}{% \@ifstar{\qopname\newmcodes@ m}% -- cgit v1.2.3