summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/amsmath/amsopn.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-02 22:19:48 +0000
committerKarl Berry <karl@freefriends.org>2016-04-02 22:19:48 +0000
commit54aa09d5d6925008eb25609ce953c1b99fd2d2c7 (patch)
treed8e052725306f427e156556aeb2bec689f8245cc /Master/texmf-dist/tex/latex/amsmath/amsopn.sty
parent54e58adfc76118f03b1bd2f7dedfb2140dce7696 (diff)
latex2e (1apr16), now including amsmath
git-svn-id: svn://tug.org/texlive/trunk@40218 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/amsmath/amsopn.sty')
-rw-r--r--Master/texmf-dist/tex/latex/amsmath/amsopn.sty10
1 files changed, 9 insertions, 1 deletions
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}%