summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/amsmath/amsmath.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/amsmath/amsmath.sty')
-rw-r--r--Master/texmf-dist/tex/latex/amsmath/amsmath.sty107
1 files changed, 53 insertions, 54 deletions
diff --git a/Master/texmf-dist/tex/latex/amsmath/amsmath.sty b/Master/texmf-dist/tex/latex/amsmath/amsmath.sty
index 8d22f7aeb0f..d9775df47a8 100644
--- a/Master/texmf-dist/tex/latex/amsmath/amsmath.sty
+++ b/Master/texmf-dist/tex/latex/amsmath/amsmath.sty
@@ -6,47 +6,35 @@
%%
%% amsmath.dtx
%%
-%%% ====================================================================
-%%% @LaTeX-file{
-%%% filename = "amsmath.dtx",
-%%% version = "2.13",
-%%% date = "2000/07/18",
-%%% time = "08:16:41 EDT",
-%%% author = "American Mathematical Society",
-%%% copyright = "Copyright 1995, 2000 American Mathematical Society,
-%%% all rights reserved. Copying of this file is
-%%% authorized only if either:
-%%% (1) you make absolutely no changes to your copy,
-%%% including name; OR
-%%% (2) if you do make changes, you first rename it
-%%% to some other name.",
-%%% address = "American Mathematical Society,
-%%% Technical Support,
-%%% Publications Technical Group,
-%%% P. O. Box 6248,
-%%% Providence, RI 02940,
-%%% USA",
-%%% telephone = "401-455-4080 or (in the USA and Canada)
-%%% 800-321-4AMS (321-4267)",
-%%% FAX = "401-331-3842",
-%%% checksum = "38084 5829 21569 202795",
-%%% email = "tech-support@ams.org (Internet)",
-%%% codetable = "ISO/ASCII",
-%%% keywords = "latex, amslatex, math, amsmath",
-%%% supported = "yes",
-%%% abstract = "This is a \LaTeX{} package that provides a variety of
-%%% extra mathematical features, largely derived from
-%%% AMS-\TeX{}.",
-%%% docstring = "The checksum field above contains a CRC-16 checksum
-%%% as the first value, followed by the equivalent of
-%%% the standard UNIX wc (word count) utility output of
-%%% lines, words, and characters. This is produced by
-%%% Robert Solovay's checksum utility.",
-%%% }
-%%% ====================================================================
+%% Copyright 1995, 2000, 2013 American Mathematical Society.
+%%
+%% American Mathematical Society
+%% Technical Support
+%% Publications Technical Group
+%% 201 Charles Street
+%% Providence, RI 02904
+%% USA
+%% tel: (401) 455-4080
+%% (800) 321-4267 (USA and Canada only)
+%% fax: (401) 331-3842
+%% email: tech-support@ams.org
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3c
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is the American Mathematical
+%% Society.
+%%
\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}[2000/07/18 v2.13 AMS math features]
+\ProvidesPackage{amsmath}[2013/01/14 v2.14 AMS math features]
\edef\@temp{\catcode 96=\number\catcode 96 }
\catcode\string `\`=12
\def\do#1{\catcode\number`#1=\number\catcode`#1}
@@ -132,6 +120,17 @@ For additional information on amsmath, use the \lq ?\rq\space option.%
\RequirePackage{amstext}[1995/01/25]
\RequirePackage{amsbsy}[1995/01/20]
\RequirePackage{amsopn}[1995/01/20]
+\@ifpackageloaded{stix}{%
+ \let\ams@newcommand\providecommand
+ \let\ams@renewcommand\providecommand
+ \let\ams@def\providecommand
+ \let\ams@DeclareRobustCommand\providecommand
+}{%
+ \let\ams@newcommand\newcommand
+ \let\ams@renewcommand\renewcommand
+ \let\ams@def\def
+ \let\ams@DeclareRobustCommand\DeclareRobustCommand
+}
\def\@amsmath@err{\PackageError{amsmath}}
\providecommand{\AmS}{{\protect\AmSfont
A\kern-.1667em\lower.5ex\hbox{M}\kern-.125emS}}
@@ -419,7 +418,7 @@ Foreign command \@backslashchar#1;\MessageBreak
\def\boldsymboldots@#1{%
\bold@true\let\@let@token=#1\let\delayed@=#1\mdots@@
\boldsymbol#1\bold@false}
-\def\@cdots{\mathinner{\cdotp\cdotp\cdotp}}
+\ams@def\@cdots{\mathinner{\cdotp\cdotp\cdotp}}
\newcommand{\dotsi}{\!\@cdots}
\let\dotsb@\@cdots
\def\rightdelim@{\gtest@true
@@ -464,7 +463,7 @@ Foreign command \@backslashchar#1;\MessageBreak
\ifx\@let@token.\else\extra@
\ifgtest@\else
\let\next@#1\fi\fi\fi\fi\next@}
-\DeclareRobustCommand{\cdots}{\DN@{\extrap@\@cdots}\FN@\next@}
+\ams@DeclareRobustCommand{\cdots}{\DN@{\extrap@\@cdots}\FN@\next@}
\let\dotsb\cdots
\let\dotsm\cdots
\DeclareRobustCommand{\dotso}{\relax
@@ -503,9 +502,9 @@ Foreign command \@backslashchar#1;\MessageBreak
{{\cdotp}\mkern1.5mu{\cdotp}\mkern1.5mu{\cdotp}}%
{{\cdotp}\mkern1mu{\cdotp}\mkern1mu{\cdotp}}%
{{\cdotp}\mkern1mu{\cdotp}\mkern1mu{\cdotp}}}
-\newcommand{\iint}{\DOTSI\protect\MultiIntegral{2}}
-\newcommand{\iiint}{\DOTSI\protect\MultiIntegral{3}}
-\newcommand{\iiiint}{\DOTSI\protect\MultiIntegral{4}}
+\ams@newcommand{\iint}{\DOTSI\protect\MultiIntegral{2}}
+\ams@newcommand{\iiint}{\DOTSI\protect\MultiIntegral{3}}
+\ams@newcommand{\iiiint}{\DOTSI\protect\MultiIntegral{4}}
\newcommand{\idotsint}{\DOTSI\protect\MultiIntegral{0}}
\newcommand{\MultiIntegral}[1]{%
\edef\ints@c{\noexpand\intop
@@ -566,10 +565,10 @@ Foreign command \@backslashchar#1;\MessageBreak
\def\noaccents@{\def\accentclass@{0}}
\DeclareFontEncoding{OML}{}{\noaccents@}
\DeclareFontEncoding{OMS}{}{\noaccents@}
-\newcommand{\dddot}[1]{%
+\ams@newcommand{\dddot}[1]{%
{\mathop{#1}\limits^{\vbox to-1.4\ex@{\kern-\tw@\ex@
\hbox{\normalfont ...}\vss}}}}
-\newcommand{\ddddot}[1]{%
+\ams@newcommand{\ddddot}[1]{%
{\mathop{#1}\limits^{\vbox to-1.4\ex@{\kern-\tw@\ex@
\hbox{\normalfont....}\vss}}}}
\def\set@mathaccent#1#2#3#4{%
@@ -745,8 +744,8 @@ Foreign command \@backslashchar#1;\MessageBreak
\mathchardef\std@minus\mathcode`\-\relax
\mathchardef\std@equal\mathcode`\=\relax
}
-\def\relbar{\mathrel{\mathpalette\mathsm@sh\std@minus}}
-\def\Relbar{\mathrel\std@equal}
+\ams@def\relbar{\mathrel{\mathpalette\mathsm@sh\std@minus}}
+\ams@def\Relbar{\mathrel\std@equal}
\def\arrowfill@#1#2#3#4{%
$\m@th\thickmuskip0mu\medmuskip\thickmuskip\thinmuskip\thickmuskip
\relax#4#1\mkern-7mu%
@@ -761,20 +760,20 @@ Foreign command \@backslashchar#1;\MessageBreak
\def\Leftrightarrowfill@{\arrowfill@\Leftarrow\Relbar\Rightarrow}
\def\overarrow@#1#2#3{\vbox{\ialign{##\crcr#1#2\crcr
\noalign{\nointerlineskip}$\m@th\hfil#2#3\hfil$\crcr}}}
-\renewcommand{\overrightarrow}{%
+\ams@renewcommand{\overrightarrow}{%
\mathpalette{\overarrow@\rightarrowfill@}}
-\renewcommand{\overleftarrow}{%
+\ams@renewcommand{\overleftarrow}{%
\mathpalette{\overarrow@\leftarrowfill@}}
-\newcommand{\overleftrightarrow}{%
+\ams@newcommand{\overleftrightarrow}{%
\mathpalette{\overarrow@\leftrightarrowfill@}}
\def\underarrow@#1#2#3{%
\vtop{\ialign{##\crcr$\m@th\hfil#2#3\hfil$\crcr
\noalign{\nointerlineskip\kern1.3\ex@}#1#2\crcr}}}
-\newcommand{\underrightarrow}{%
+\ams@newcommand{\underrightarrow}{%
\mathpalette{\underarrow@\rightarrowfill@}}
-\newcommand{\underleftarrow}{%
+\ams@newcommand{\underleftarrow}{%
\mathpalette{\underarrow@\leftarrowfill@}}
-\newcommand{\underleftrightarrow}{%
+\ams@newcommand{\underleftrightarrow}{%
\mathpalette{\underarrow@\leftrightarrowfill@}}
\def\ext@arrow#1#2#3#4#5#6#7{%
\mathrel{\mathop{%