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/amsopn.sty | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/tex/latex/amsmath/amsopn.sty') 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