diff options
author | Karl Berry <karl@freefriends.org> | 2016-03-01 23:30:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-03-01 23:30:12 +0000 |
commit | 64fe092a8f3dc062b323f28f52dc82c7be509252 (patch) | |
tree | c047898c9e2c1fa0c7d090dd1fcab2bd85290023 /Master/texmf-dist | |
parent | b37042b5f1062ab261f6837b986d39354c33bc19 (diff) |
amsmath (1mar16)
git-svn-id: svn://tug.org/texlive/trunk@39904 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
41 files changed, 615 insertions, 566 deletions
diff --git a/Master/texmf-dist/source/latex/amsmath/README b/Master/texmf-dist/doc/latex/amsmath/README.txt index 6e449706be8..4eb7edb8963 100644 --- a/Master/texmf-dist/source/latex/amsmath/README +++ b/Master/texmf-dist/doc/latex/amsmath/README.txt @@ -1,6 +1,8 @@ -README for amsmath 2.14 [2013/01/14] American Mathematical Society +README for amsmath 2.15 [2016/02/20] + American Mathematical Society, LaTeX3 Project Copyright 2001-2004, 2007, 2008, 2010, 2011, 2013 American Mathematical Society. +Copyright 2016 LaTeX3 Project and American Mathematical Society. This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c @@ -12,21 +14,9 @@ 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. +The Current Maintainer of this work is the LaTeX3 Project. -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 -======================================================================== CONTENTS I. OVERVIEW II. INSTALLATION AND GETTING STARTED @@ -89,6 +79,11 @@ with stix.sty. It should be fully compatible with version 2.13. ======================================================================== V. CHANGE LOG (REVERSE CHRONOLOGICAL ORDER) +2016-02-20 amsmath.dtx 2.15 + Updates for new \mathchardef handling in luatex + Fix for \long macros after \dots + (such as \iff as redefined by this package) + 2013-01-14 amsmath.dtx 2.14 * amsmath.sty 2.14 diff --git a/Master/texmf-dist/doc/latex/amsmath/amsbsy.pdf b/Master/texmf-dist/doc/latex/amsmath/amsbsy.pdf Binary files differindex bec3d863e28..0f3d4758c1f 100644 --- a/Master/texmf-dist/doc/latex/amsmath/amsbsy.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/amsbsy.pdf diff --git a/Master/texmf-dist/doc/latex/amsmath/amscd.pdf b/Master/texmf-dist/doc/latex/amsmath/amscd.pdf Binary files differindex 79b8fb434fc..35b3377c70f 100644 --- a/Master/texmf-dist/doc/latex/amsmath/amscd.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/amscd.pdf diff --git a/Master/texmf-dist/doc/latex/amsmath/amsgen.pdf b/Master/texmf-dist/doc/latex/amsmath/amsgen.pdf Binary files differindex 140f08336a5..61cc86ca078 100644 --- a/Master/texmf-dist/doc/latex/amsmath/amsgen.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/amsgen.pdf diff --git a/Master/texmf-dist/doc/latex/amsmath/amsldoc.pdf b/Master/texmf-dist/doc/latex/amsmath/amsldoc.pdf Binary files differindex 2453cd622d0..81178a7a0ea 100644 --- a/Master/texmf-dist/doc/latex/amsmath/amsldoc.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/amsldoc.pdf diff --git a/Master/texmf-dist/source/latex/amsmath/amsldoc.tex b/Master/texmf-dist/doc/latex/amsmath/amsldoc.tex index abb532cccb8..abb532cccb8 100644 --- a/Master/texmf-dist/source/latex/amsmath/amsldoc.tex +++ b/Master/texmf-dist/doc/latex/amsmath/amsldoc.tex diff --git a/Master/texmf-dist/doc/latex/amsmath/amsmath.pdf b/Master/texmf-dist/doc/latex/amsmath/amsmath.pdf Binary files differindex 238d866b557..21a8f504408 100644 --- a/Master/texmf-dist/doc/latex/amsmath/amsmath.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/amsmath.pdf diff --git a/Master/texmf-dist/doc/latex/amsmath/amsopn.pdf b/Master/texmf-dist/doc/latex/amsmath/amsopn.pdf Binary files differindex 58db2b403c6..36005f988b0 100644 --- a/Master/texmf-dist/doc/latex/amsmath/amsopn.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/amsopn.pdf diff --git a/Master/texmf-dist/doc/latex/amsmath/amstext.pdf b/Master/texmf-dist/doc/latex/amsmath/amstext.pdf Binary files differindex 5f4204a7dac..e5df62457c4 100644 --- a/Master/texmf-dist/doc/latex/amsmath/amstext.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/amstext.pdf diff --git a/Master/texmf-dist/doc/latex/amsmath/amsxtra.pdf b/Master/texmf-dist/doc/latex/amsmath/amsxtra.pdf Binary files differindex 257014f781e..09f71da75de 100644 --- a/Master/texmf-dist/doc/latex/amsmath/amsxtra.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/amsxtra.pdf diff --git a/Master/texmf-dist/source/latex/amsmath/diffs-m.txt b/Master/texmf-dist/doc/latex/amsmath/diffs-m.txt index 0bfa0ff69d4..0bfa0ff69d4 100644 --- a/Master/texmf-dist/source/latex/amsmath/diffs-m.txt +++ b/Master/texmf-dist/doc/latex/amsmath/diffs-m.txt diff --git a/Master/texmf-dist/source/latex/amsmath/install.txt b/Master/texmf-dist/doc/latex/amsmath/install.txt index ef467b51c4a..c8cfdef9677 100644 --- a/Master/texmf-dist/source/latex/amsmath/install.txt +++ b/Master/texmf-dist/doc/latex/amsmath/install.txt @@ -1,6 +1,7 @@ -install.txt for amsmath 2.16 [2004/08/05] +install.txt for amsmath 2.15 [2016/02/20] Copyright 2004, 2013 American Mathematical Society. +Copyright 2016 LaTeX3 Project and American Mathematical Society. This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c @@ -12,19 +13,8 @@ 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. +The Current Maintainer of this work is the LaTeX3 Project. -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 =========================================================================== @@ -98,7 +88,7 @@ for normal use. ======================================================================== II. Installing the not-so-easy way. -Download ftp://ftp.ams.org/pub/tex/amsmath.zip. +Download amsmath.zip from http://www.ctan.org Make the following directories, if not already present: diff --git a/Master/texmf-dist/source/latex/amsmath/manifest.txt b/Master/texmf-dist/doc/latex/amsmath/manifest.txt index e616c8e6b46..41eb7532aaf 100644 --- a/Master/texmf-dist/source/latex/amsmath/manifest.txt +++ b/Master/texmf-dist/doc/latex/amsmath/manifest.txt @@ -1,64 +1,33 @@ -doc: -latex - -doc/latex: -amsmath - -doc/latex/amsmath: -amsbsy.pdf -amscd.pdf -amsgen.pdf -amsldoc.pdf -amsmath.pdf -amsopn.pdf -amstext.pdf -amsxtra.pdf -subeqn.pdf -technote.pdf -testmath.pdf - -source: -latex - -source/latex: -amsmath - -source/latex/amsmath: README amsbsy.dtx amsbsy.ins +amsbsy.pdf amscd.dtx amscd.ins +amscd.pdf amsgen.dtx amsgen.ins +amsgen.pdf +amsldoc.pdf amsldoc.tex amsmath.dtx amsmath.ins +amsmath.pdf amsopn.dtx amsopn.ins +amsopn.pdf +amstex.sty amstext.dtx amstext.ins +amstext.pdf amsxtra.dtx amsxtra.ins +amsxtra.pdf diffs-m.txt install.txt -manifest.txt +subeqn.pdf subeqn.tex +technote.pdf technote.tex +testmath.pdf testmath.tex - -tex: -latex - -tex/latex: -amsmath - -tex/latex/amsmath: -amsbsy.sty -amscd.sty -amsgen.sty -amsmath.sty -amsopn.sty -amstex.sty -amstext.sty -amsxtra.sty diff --git a/Master/texmf-dist/doc/latex/amsmath/subeqn.pdf b/Master/texmf-dist/doc/latex/amsmath/subeqn.pdf Binary files differindex e61b5964a0a..d484f8be3c4 100644 --- a/Master/texmf-dist/doc/latex/amsmath/subeqn.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/subeqn.pdf diff --git a/Master/texmf-dist/source/latex/amsmath/subeqn.tex b/Master/texmf-dist/doc/latex/amsmath/subeqn.tex index d0fa7d9b023..d0fa7d9b023 100644 --- a/Master/texmf-dist/source/latex/amsmath/subeqn.tex +++ b/Master/texmf-dist/doc/latex/amsmath/subeqn.tex diff --git a/Master/texmf-dist/doc/latex/amsmath/technote.pdf b/Master/texmf-dist/doc/latex/amsmath/technote.pdf Binary files differindex 3ebf6200f1d..15fa66b823e 100644 --- a/Master/texmf-dist/doc/latex/amsmath/technote.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/technote.pdf diff --git a/Master/texmf-dist/source/latex/amsmath/technote.tex b/Master/texmf-dist/doc/latex/amsmath/technote.tex index aede450621e..aede450621e 100644 --- a/Master/texmf-dist/source/latex/amsmath/technote.tex +++ b/Master/texmf-dist/doc/latex/amsmath/technote.tex diff --git a/Master/texmf-dist/doc/latex/amsmath/testmath.pdf b/Master/texmf-dist/doc/latex/amsmath/testmath.pdf Binary files differindex c75380c7127..b3092e36e02 100644 --- a/Master/texmf-dist/doc/latex/amsmath/testmath.pdf +++ b/Master/texmf-dist/doc/latex/amsmath/testmath.pdf diff --git a/Master/texmf-dist/source/latex/amsmath/testmath.tex b/Master/texmf-dist/doc/latex/amsmath/testmath.tex index 069944ee9d0..069944ee9d0 100644 --- a/Master/texmf-dist/source/latex/amsmath/testmath.tex +++ b/Master/texmf-dist/doc/latex/amsmath/testmath.tex diff --git a/Master/texmf-dist/source/latex/amsmath/amsbsy.dtx b/Master/texmf-dist/source/latex/amsmath/amsbsy.dtx index a5a4124a096..0cb877b225c 100644 --- a/Master/texmf-dist/source/latex/amsmath/amsbsy.dtx +++ b/Master/texmf-dist/source/latex/amsmath/amsbsy.dtx @@ -1,21 +1,8 @@ -% \def\filename{amsbsy.dtx} -% \def\fileversion{1.2d} -% \def\filedate{1999/11/29} % % \iffalse meta-comment % -% 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 -% % Copyright 1995, 1999 American Mathematical Society. +% Copyright 2016 LaTeX3 Project and American Mathematical Society. % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -27,15 +14,21 @@ % % This work has the LPPL maintenance status `maintained'. % -% The Current Maintainer of this work is the American Mathematical -% Society. +% The Current Maintainer of this work is the LaTeX3 Project. % % \fi % %\iffalse %<*driver> \documentclass{amsdtx} +\def\MaintainedByLaTeXTeam#1{% +\begin{center}% +\fbox{\fbox{\begin{tabular}{@{}l@{}}% +This file is maintained by the \LaTeX{} Project team.\\% +Bug reports can be opened (category \texttt{#1}) at\\% +\url{http://latex-project.org/bugs.html}.\end{tabular}}}\end{center}} \usepackage{amsbsy} +\GetFileInfo{amsbsy.sty} \begin{document} \title{The \pkg{amsbsy} package} \author{Frank Mittelbach\and Rainer Sch\"opf\and Michael Downes} @@ -46,6 +39,7 @@ %\fi % % \maketitle +% \MaintainedByLaTeXTeam{amsmath} % % \MakeShortVerb\| % @@ -92,7 +86,7 @@ % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) [1994/12/01]% LaTeX date must December 1994 or later -\ProvidesPackage{amsbsy}[1999/11/29 v1.2d] +\ProvidesPackage{amsbsy}[1999/11/29 v1.2d Bold Symbols] % \end{macrocode} % % \section{The implementation} diff --git a/Master/texmf-dist/source/latex/amsmath/amsbsy.ins b/Master/texmf-dist/source/latex/amsmath/amsbsy.ins index 90a179b2d01..78c68fea112 100644 --- a/Master/texmf-dist/source/latex/amsmath/amsbsy.ins +++ b/Master/texmf-dist/source/latex/amsmath/amsbsy.ins @@ -1,19 +1,6 @@ -%% filename: amsbsy.ins -%% version: 1.00 -%% date: 2010/08/13 -%% -%% 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 %% %% Copyright 2010 American Mathematical Society. +%% Copyright 2016 LaTeX3 Project and American Mathematical Society. %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3c @@ -25,8 +12,7 @@ %% %% This work has the LPPL maintenance status `maintained'. %% -%% The Current Maintainer of this work is the American Mathematical -%% Society. +%% The Current Maintainer of this work is the LaTeX3 Project. %% %% ==================================================================== @@ -39,17 +25,7 @@ \preamble Copyright 1995, 1999 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 +Copyright 2016 LaTeX3 Project and American Mathematical Society. This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c @@ -61,8 +37,7 @@ 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. +The Current Maintainer of this work is the LaTeX3 project. \endpreamble diff --git a/Master/texmf-dist/source/latex/amsmath/amscd.dtx b/Master/texmf-dist/source/latex/amsmath/amscd.dtx index f1e97aef587..10009e4815e 100644 --- a/Master/texmf-dist/source/latex/amsmath/amscd.dtx +++ b/Master/texmf-dist/source/latex/amsmath/amscd.dtx @@ -1,21 +1,8 @@ -% \def\filename{amscd.dtx} -% \def\fileversion{2.0} -% \def\filedate{1999/11/29} % % \iffalse meta-comment % -% 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 -% % Copyright 1995, 1999 American Mathematical Society. +% Copyright 2016 LaTeX3 Project and American Mathematical Society. % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -27,15 +14,21 @@ % % This work has the LPPL maintenance status `maintained'. % -% The Current Maintainer of this work is the American Mathematical -% Society. +% The Current Maintainer of this work is the LaTeX3 Project. % % \fi % %\iffalse %<*driver> \documentclass{amsdtx} +\def\MaintainedByLaTeXTeam#1{% +\begin{center}% +\fbox{\fbox{\begin{tabular}{@{}l@{}}% +This file is maintained by the \LaTeX{} Project team.\\% +Bug reports can be opened (category \texttt{#1}) at\\% +\url{http://latex-project.org/bugs.html}.\end{tabular}}}\end{center}} \usepackage{amscd} +\GetFileInfo{amscd.sty} % Dummy citation to avoid error in an example. \bibcite{fre:cichon}{C} \begin{document} @@ -48,6 +41,7 @@ %\fi % % \maketitle +% \MaintainedByLaTeXTeam{amsmath} % % \MakeShortVerb\| % \newcommand{\operatorname}[1]{\mathop{\mathrm{#1}}} @@ -109,7 +103,7 @@ % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) [1994/12/01]% LaTeX date must December 1994 or later -\ProvidesPackage{amscd}[1999/11/29 v2.0] +\ProvidesPackage{amscd}[1999/11/29 v2.0 AMS Commutatitive Diagrams] % \end{macrocode} % \begin{macrocode} \RequirePackage{amsgen} diff --git a/Master/texmf-dist/source/latex/amsmath/amscd.ins b/Master/texmf-dist/source/latex/amsmath/amscd.ins index dd05ab15bde..abae05afa00 100644 --- a/Master/texmf-dist/source/latex/amsmath/amscd.ins +++ b/Master/texmf-dist/source/latex/amsmath/amscd.ins @@ -1,19 +1,6 @@ -%% filename: amscd.ins -%% version: 1.00 -%% date: 2010/08/13 -%% -%% 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 %% %% Copyright 2010 American Mathematical Society. +%% Copyright 2016 LaTeX3 Project and American Mathematical Society. %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3c @@ -25,8 +12,7 @@ %% %% This work has the LPPL maintenance status `maintained'. %% -%% The Current Maintainer of this work is the American Mathematical -%% Society. +%% The Current Maintainer of this work is the LaTeX3 Project. %% %% ==================================================================== @@ -39,17 +25,7 @@ \preamble Copyright 1995, 1999 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 +Copyright 2016 LaTeX3 Project and American Mathematical Society. This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c @@ -61,8 +37,7 @@ 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. +The Current Maintainer of this work is the LaTeX3 project. \endpreamble diff --git a/Master/texmf-dist/source/latex/amsmath/amsgen.dtx b/Master/texmf-dist/source/latex/amsmath/amsgen.dtx index 366b3aab041..e3c50bde63c 100644 --- a/Master/texmf-dist/source/latex/amsmath/amsgen.dtx +++ b/Master/texmf-dist/source/latex/amsmath/amsgen.dtx @@ -1,21 +1,8 @@ -% \def\filename{amsgen.dtx} -% \def\fileversion{2.0} -% \def\filedate{1999/11/30} % % \iffalse meta-comment % -% 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 -% % Copyright 1995, 1999 American Mathematical Society. +% Copyright 2016 LaTeX3 Project and American Mathematical Society. % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -27,14 +14,21 @@ % % This work has the LPPL maintenance status `maintained'. % -% The Current Maintainer of this work is the American Mathematical -% Society. +% The Current Maintainer of this work is the LaTeX3 Project. % % \fi % % \iffalse %<*driver> \documentclass{amsdtx} +\def\MaintainedByLaTeXTeam#1{% +\begin{center}% +\fbox{\fbox{\begin{tabular}{@{}l@{}}% +This file is maintained by the \LaTeX{} Project team.\\% +Bug reports can be opened (category \texttt{#1}) at\\% +\url{http://latex-project.org/bugs.html}.\end{tabular}}}\end{center}} +\usepackage{amsgen} +\GetFileInfo{amsgen.sty} \begin{document} \title{The \pkg{amsgen} package} \author{American Mathematical Society\\Michael Downes} @@ -45,6 +39,7 @@ % \fi % % \maketitle +% \MaintainedByLaTeXTeam{amsmath} % % \MakeShortVerb\| % @@ -64,7 +59,7 @@ % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) [1994/12/01]% LaTeX date must December 1994 or later -\ProvidesFile{amsgen.sty}[1999/11/30 v2.0] +\ProvidesFile{amsgen.sty}[1999/11/30 v2.0 generic functions] % \end{macrocode} % % \section{Implementation} diff --git a/Master/texmf-dist/source/latex/amsmath/amsgen.ins b/Master/texmf-dist/source/latex/amsmath/amsgen.ins index 8745b0a8548..67821930206 100644 --- a/Master/texmf-dist/source/latex/amsmath/amsgen.ins +++ b/Master/texmf-dist/source/latex/amsmath/amsgen.ins @@ -1,19 +1,6 @@ -%% filename: amsgen.ins -%% version: 1.00 -%% date: 2010/08/13 -%% -%% 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 %% %% Copyright 2010 American Mathematical Society. +%% Copyright 2016 LaTeX3 Project and American Mathematical Society. %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3c @@ -25,8 +12,7 @@ %% %% This work has the LPPL maintenance status `maintained'. %% -%% The Current Maintainer of this work is the American Mathematical -%% Society. +%% The Current Maintainer of this work is the LaTeX3 Project. %% %% ==================================================================== @@ -39,17 +25,7 @@ \preamble Copyright 1995, 1999 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 +Copyright 2016 LaTeX3 Project and American Mathematical Society. This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c @@ -61,8 +37,7 @@ 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. +The Current Maintainer of this work is the LaTeX3 project. \endpreamble diff --git a/Master/texmf-dist/source/latex/amsmath/amsmath.dtx b/Master/texmf-dist/source/latex/amsmath/amsmath.dtx index ee7fe578b1f..af2d373c627 100644 --- a/Master/texmf-dist/source/latex/amsmath/amsmath.dtx +++ b/Master/texmf-dist/source/latex/amsmath/amsmath.dtx @@ -1,21 +1,8 @@ -% \def\filename{amsmath.dtx} -% \def\fileversion{2.14} -% \def\filedate{2013/01/14} % % \iffalse meta-comment % -% 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 -% % Copyright 1995, 2000, 2013 American Mathematical Society. +% Copyright 2016 LaTeX3 Project and American Mathematical Society. % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -27,15 +14,24 @@ % % This work has the LPPL maintenance status `maintained'. % -% The Current Maintainer of this work is the American Mathematical -% Society. +% The Current Maintainer of this work is the LaTeX3 Project. % % \fi % %\iffalse %<*driver> \documentclass{amsdtx} +\def\MaintainedByLaTeXTeam#1{% +\begin{center}% +\fbox{\fbox{\begin{tabular}{@{}l@{}}% +This file is maintained by the \LaTeX{} Project team.\\% +Bug reports can be opened (category \texttt{#1}) at\\% +\url{http://latex-project.org/bugs.html}.\end{tabular}}}\end{center}} \raggedbottom +\let\savedarg\arg +\usepackage{amsmath} +\let\arg\savedarg +\GetFileInfo{amsmath.sty} \begin{document} \title{The \pkg{amsmath} package} \author{Frank Mittelbach\and Rainer Sch\"opf\and Michael Downes\and @@ -53,6 +49,7 @@ %\fi % % \maketitle +% \MaintainedByLaTeXTeam{amsmath} % % \MakeShortVerb\| % @@ -77,7 +74,7 @@ % \begin{macrocode} \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}[2013/01/14 v2.14 AMS math features] +\ProvidesPackage{amsmath}[2016/02/20 v2.15 AMS math features] % \end{macrocode} % % \section{Catcode defenses} @@ -384,6 +381,17 @@ For additional information on amsmath, use the \lq ?\rq\space option.% % %\subsection{Math spacing commands} % +% \begin{macro}{\tmspace} +% \begin{macro}{\,} +% \begin{macro}{\thinspace} +% \begin{macro}{\!} +% \begin{macro}{\negthinspace} +% \begin{macro}{\:} +% \begin{macro}{\medspace} +% \begin{macro}{\negmedspace} +% \begin{macro}{\;} +% \begin{macro}{\thickspace} +% \begin{macro}{\negthickspace} % Here we fill in some gaps in the set of spacing commands, and make them % all work equally well in or out of math. % We want all these commands to be robust but declaring them all with @@ -407,6 +415,17 @@ For additional information on amsmath, use the \lq ?\rq\space option.% \let\thickspace\; \newcommand{\negthickspace}{\tmspace-\thickmuskip{.2777em}} % \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} % % \begin{macro}{\mspace} % And while we're at it, why don't we provide an equivalent of @@ -418,6 +437,10 @@ For additional information on amsmath, use the \lq ?\rq\space option.% % \end{macro} % % \subsection{Vertical bar symbols} +% \begin{macro}{\lvert} +% \begin{macro}{\rvert} +% \begin{macro}{\lVert} +% \begin{macro}{\rVert} % Add left/right specific versions of \cn{vert}, \cn{Vert}. Don't % assume the delimiter codes are the CM defaults. % \begin{macrocode} @@ -454,6 +477,10 @@ For additional information on amsmath, use the \lq ?\rq\space option.% \fi \fi % \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} % % \subsection{Fractions} % Bury the generalized fraction primitives \cs{over}, \cs{atop}, @@ -468,6 +495,7 @@ For additional information on amsmath, use the \lq ?\rq\space option.% \@saveprimitive\abovewithdelims\@@abovewithdelims % \end{macrocode} % +% \begin{macro}{\primfrac} % If someone insists on using \cs{over}, give a warning the first % time and then resurrect the old definition. Laissez-faire policy. % \begin{macrocode} @@ -480,6 +508,9 @@ Foreign command \@backslashchar#1;\MessageBreak \global\@xp\let\csname#1\@xp\endcsname\csname @@#1\endcsname \csname#1\endcsname } +% \end{macrocode} +% \end{macro} +% \begin{macrocode} \renewcommand{\over}{\primfrac{over}} \renewcommand{\atop}{\primfrac{atop}} \renewcommand{\above}{\primfrac{above}} @@ -560,11 +591,18 @@ Foreign command \@backslashchar#1;\MessageBreak % make sure \cn{coprod} and the others are simple mathchars; if not, % the attempted changes will probably fail miserably. % +% \changes{v2.15}{2016/02/20}{Accept \cs{Umathchar}} % \begin{macrocode} \begingroup +% \end{macrocode} +% \begin{macrocode} \edef\@tempa{\string\mathchar"} +\edef\@tempd{\string\Umathchar"} \def\@tempb#1"#2\@nil{#1"} \edef\@tempc{\expandafter\@tempb\meaning\coprod "\@nil} +\ifx\@tempc\@tempd\let\@tempc\@tempa\fi +% \end{macrocode} +% \begin{macrocode} \ifx\@tempa\@tempc \global\let\coprod@\coprod \gdef\coprod{\DOTSB\coprod@\slimits@} @@ -596,6 +634,7 @@ Foreign command \@backslashchar#1;\MessageBreak % % \subsection{Roots and radicals} % +% \begin{macro}{\root} % This root stuff needs syntax work and implementation work. Surely % something more compact can be done?? [mjd, 1994/09/05] % \begin{macrocode} @@ -626,6 +665,7 @@ Foreign command \@backslashchar#1;\MessageBreak \mathchoice{\r@@t\displaystyle{#2}}{\r@@t\textstyle{#2}} {\r@@t\scriptstyle{#2}}{\r@@t\scriptscriptstyle{#2}}\egroup} % \end{macrocode} +% \end{macro} % % \changes{v2.0}{1999/06/17}{Normalize @@sqrt to sqrtsign} @@ -666,6 +706,7 @@ Foreign command \@backslashchar#1;\MessageBreak }{} % \end{macrocode} % +% \begin{macro}{\overline} % \amstex/ redefines \cn{overline} as shown here, for reasons that % are probably less important in \latex/: Make it read its argument % as a macro argument rather than a ``math field'' (\emph{The @@ -677,7 +718,9 @@ Foreign command \@backslashchar#1;\MessageBreak \@saveprimitive\overline\@@overline \DeclareRobustCommand{\overline}[1]{\@@overline{#1}} % \end{macrocode} +% \end{macro} % +% \begin{macro}{\boxed} % The \cs{boxed} command is specifically intended to put a box around % an equation or piece of an equation. (Not including the equation % number.) This isn't trivial for end-users to do it properly @@ -685,16 +728,24 @@ Foreign command \@backslashchar#1;\MessageBreak % \begin{macrocode} \newcommand{\boxed}[1]{\fbox{\m@th$\displaystyle#1$}} % \end{macrocode} +% \end{macro} % +% \begin{macro}{\implies} +% \begin{macro}{\impliedby} % \begin{macrocode} \newcommand{\implies}{\DOTSB\;\Longrightarrow\;} \newcommand{\impliedby}{\DOTSB\;\Longleftarrow\;} % \end{macrocode} +% \end{macro} +% \end{macro} % +% \begin{macro}{\And} % \begin{macrocode} \def\And{\DOTSB\;\mathchar"3026 \;} % \end{macrocode} +% \end{macro} % +% \begin{macro}{\nobreakdash} % The command \cn{nobreakdash} is designed only for use before a % hyphen or dash (|-|, |--|, or |---|). % Setting the hyphen in a box and then unboxing it means that the @@ -709,7 +760,9 @@ Foreign command \@backslashchar#1;\MessageBreak \FN@\next@ } % \end{macrocode} +% \end{macro} % +% \begin{macro}{\colon} % \cs{colon} is for a colon in math that resembles a text colon: % small space on the left, larger space on the right. The \qc{\:} % character by itself is treated as a \cs{mathrel} i.e. large, equal @@ -718,6 +771,7 @@ Foreign command \@backslashchar#1;\MessageBreak \renewcommand{\colon}{\nobreak\mskip2mu\mathpunct{}\nonscript \mkern-\thinmuskip{:}\mskip6muplus1mu\relax} % \end{macrocode} +% \end{macro} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \section{Ellipsis dots} @@ -740,6 +794,36 @@ Foreign command \@backslashchar#1;\MessageBreak {\uccode`7=`c \uccode`8=`h \uccode`9=`\" \uppercase{\gdef\mathch@#1#2#3#4#5#6\mathch@{\gtest@false \ifx 7#1\ifx 8#2\ifx 9#5\gtest@true\xdef\meaning@{9#6}\fi\fi\fi}}} +% \end{macrocode} +% \changes{v2.15}{2016/02/20}{Accept \cs{Umathchar}} +% \begin{macrocode} +{\uccode`(=`U \uccode`)=`m + \uppercase{\gdef\Umathch@#1#2#3#4"#5"#6\Umathch@{\gtest@false + \ifx(#2\ifx)#3\gtest@true + \ifcase"#5 \or\or\gdef\thedots@{\dotsb@}\or\gdef\thedots@{\dotsb@}\fi + \fi\fi + }}} +% \end{macrocode} +% \changes{v2.15}{2016/02/20}{Decode the mathcode of character tokens for Unicode TeX} +% For Unicode TeXs, if the next token is a character token look up the (U)mathcode. Do not do this for classic TeX for compatibility reasons. +% \begin{macrocode} +\ifx\Umathcharnumdef\@undefined +\gdef\thecharacter@#1\thecharacter@{} +\else +{\uccode`(=`t \uccode`)=`c + \uppercase{\gdef\thecharacter@#1#2#3#4#5\thecharacter@{% + \ifx(#1\ifx)#4% + \@xp\getmathcode@\meaning@\getmathcode@ + \fi\fi +}}} +\def\getmathcode@#1 #2 #3#4\getmathcode@{% + \Umathcharnumdef\@tempa\Umathcodenum`#3\relax + \edef\meaning@{\meaning\@tempa}% + \@xp\Umathch@\meaning@\Umathch@ +} +\fi +% \end{macrocode} +% \begin{macrocode} \newcount\classnum@ \def\getmathch@#1.#2\getmathch@{\classnum@#1 \divide\classnum@4096 \ifcase\number\classnum@\or\or\gdef\thedots@{\dotsb@}\or @@ -779,6 +863,15 @@ Foreign command \@backslashchar#1;\MessageBreak \gtest@false\DN@##1\not@{}% \ifx 5#1\ifx 6#2\ifx 7#3\ifx 8#4\DN@{\FN@\nextii@}\fi\fi\fi \fi\next@}}} +% \end{macrocode} +% \changes{v2.15}{2016/02/20}{macro added to strip \cs{long} during tests} +% \begin{macrocode} +{\uccode`9=`\l % + \uppercase{\gdef\striplong@#1#2#3\relax{% + \ifx9#2 \@xp\@xp\@xp\zap@to@space\fi}}} +\def\zap@to@space#1 {} +% \end{macrocode} +% \begin{macrocode} \def\keybin@{\gtest@true \ifx\@let@token+\else\ifx\@let@token=\else \ifx\@let@token<\else\ifx\@let@token>\else @@ -790,6 +883,8 @@ Foreign command \@backslashchar#1;\MessageBreak % \begin{macrocode} \@ifundefined{@ldots}{\def\@ldots{\mathellipsis}}{} % \end{macrocode} +% \begin{macro}{\ldots} +% \begin{macro}{\dots} % Reiterate the standard definition of \cs{ldots} to keep it from % being clobbered by the redefinition of \cs{dots}. % \begin{macrocode} @@ -799,6 +894,10 @@ Foreign command \@backslashchar#1;\MessageBreak \DeclareRobustCommand{\dots}{% \ifmmode \@xp\mdots@\else \@xp\textellipsis \fi } +% \end{macrocode} +% \end{macro} +% \end{macro} +% \begin{macrocode} \def\tdots@{\leavevmode\unskip\relaxnext@ \DN@{$\m@th\@ldots\, \ifx\@let@token,\,$\else\ifx\@let@token.\,$\else @@ -807,31 +906,86 @@ Foreign command \@backslashchar#1;\MessageBreak $ \fi\fi\fi\fi\fi\fi}% \ \FN@\next@} \def\mdots@{\FN@\mdots@@} +% \end{macrocode} +% \changes{v2.15}{2016/02/20}{Indent \cs{mdots@@} for readability and add additional tests} +% \begin{macrocode} \def\mdots@@{\gdef\thedots@{\dotso@}% - \ifx\@let@token\boldsymbol \gdef\thedots@\boldsymbol{\boldsymboldots@}% - \else\ifx,\@let@token \gdef\thedots@{\dotsc}% - \else\ifx\not\@let@token \gdef\thedots@{\dotsb@}% - \else\keybin@ - \ifgtest@\gdef\thedots@{\dotsb@}% - \else\xdef\meaning@{\meaning\@let@token..........}% - \xdef\meaning@@{\meaning@}% - \@xp\math@\meaning@\math@ - \ifgtest@ - \@xp\mathch@\meaning@\mathch@ - \ifgtest@\@xp\getmathch@\meaning@\getmathch@\fi - \else\@xp\macro@\meaning@@\macro@ - \ifgtest@ - \@xp\not@\meaning@\not@\ifgtest@\gdef\thedots@{\dotsb@}% - \else\@xp\DOTS@\meaning@\DOTS@ - \ifgtest@ - \ifcase\number\DOTSCASE@\gdef\thedots@{\dotsb@}% - \or\gdef\thedots@{\dotsi}\else\fi - \else\@xp\math@\meaning@\math@ - \ifgtest@\@xp\mathbin@\meaning@\mathbin@ - \ifgtest@\gdef\thedots@{\dotsb@}% - \else\@xp\mathrel@\meaning@\mathrel@ - \ifgtest@\gdef\thedots@{\dotsb@}% - \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi + \ifx\@let@token\boldsymbol + \gdef\thedots@\boldsymbol{\boldsymboldots@}% + \else + \ifx,\@let@token \gdef\thedots@{\dotsc}% + \else + \ifx\not\@let@token + \gdef\thedots@{\dotsb@}% + \else + \keybin@ + \ifgtest@ % if \keybin@ test + \gdef\thedots@{\dotsb@}% + \else + \xdef\meaning@{\meaning\@let@token..........}% +% \end{macrocode} +% In previous versions \verb|\long| macros were not seen +% bad as this file uses \verb|\(re)newcommand| for \verb|\implies| etc. +% \begin{macrocode} + \xdef\meaning@@{\@xp\striplong@\meaning@\relax\meaning@}% +% \end{macrocode} +% \begin{macrocode} + \@xp\math@\meaning@\math@ + \ifgtest@ % if \mathxxx test + \@xp\mathch@\meaning@\mathch@ + \ifgtest@ % if \mathchar + \@xp\getmathch@\meaning@\getmathch@ + \fi % end if \mathchar + \else % \not \mathxxx +% \end{macrocode} +% Test for \verb|\Umathchar| added. +% \begin{macrocode} + \@xp\Umathch@\meaning@"0"\Umathch@ + \ifgtest@ % if \Umathchar + \else % else not \Umathcar +% \end{macrocode} +% \begin{macrocode} + \@xp\macro@\meaning@@\macro@ + \ifgtest@ % if macro test + \@xp\not@\meaning@\not@ + \ifgtest@ % if macro starts \not test + \gdef\thedots@{\dotsb@}% + \else% else not \not + \@xp\DOTS@\meaning@\DOTS@ + \ifgtest@ % \if DOTS + \ifcase\number\DOTSCASE@ %ifcase dots + \gdef\thedots@{\dotsb@}% + \or\gdef\thedots@{\dotsi}\else + \fi % endifcase dots + \else % not macro starts \DOTS + \@xp\math@\meaning@\math@ + \ifgtest@ % \if macro starts \mathxxxx + \@xp\mathbin@\meaning@\mathbin@ + \ifgtest@ % if macro starts \mathbin + \gdef\thedots@{\dotsb@}% + \else % not macro starting \mathbin + \@xp\mathrel@\meaning@\mathrel@ + \ifgtest@ % if macro starts \mathrel + \gdef\thedots@{\dotsb@}% + \fi % endif macro starts \mathrel (no else) + \fi % endif macro starts \mathbin + \fi % endif macro starts with \mathxxx (no else) + \fi % endif macro starts \DOTS else + \fi % end macro starting \not \ifgtest@ test (no else) +% \end{macrocode} +% Additional test for a catcode 12 character. +% \begin{macrocode} + \else + \@xp\thecharacter@\meaning@\thecharacter@ +% \end{macrocode} +% \begin{macrocode} + \fi % end macro \ifgtest@ test (no else) + \fi % end if \Umathchar test + \fi % end \math@ \ifgtest@ + \fi % end \keybin@ \ifgtest@ test (no else) + \fi % end if \not (no else) + \fi % end if comma (no else) + \fi % end if boldsymbol (no else) \thedots@} % \end{macrocode} % @@ -903,6 +1057,11 @@ Foreign command \@backslashchar#1;\MessageBreak \let\next@#1\fi\fi\fi\fi\next@} % \end{macrocode} % +% \begin{macro}{\cdots} +% \begin{macro}{\dotsb} +% \begin{macro}{\dotsm} +% \begin{macro}{\dotso} +% \begin{macro}{\dotsc} % The \cn{cdots} command. % \begin{macrocode} \ams@DeclareRobustCommand{\cdots}{\DN@{\extrap@\@cdots}\FN@\next@} @@ -918,6 +1077,25 @@ Foreign command \@backslashchar#1;\MessageBreak \else \extra@\@ldots \ifgtest@\,\fi \fi\fi}% \FN@\next@} +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \begin{macro}{\longrightarrow} +% \begin{macro}{\Longrightarrow} +% \begin{macro}{\longleftarrow} +% \begin{macro}{\Longleftarrow} +% \begin{macro}{\longleftrightarrow} +% \begin{macro}{\Longleftrightarrow} +% \begin{macro}{\mapsto} +% \begin{macro}{\longmapsto} +% \begin{macro}{\hookrightarrow} +% \begin{macro}{\hookleftarrow} +% \begin{macro}{\iff} +% Various arrows. +% \begin{macrocode} \renewcommand{\longrightarrow}{% \DOTSB\protect\relbar\protect\joinrel\rightarrow} \renewcommand{\Longrightarrow}{% @@ -934,6 +1112,18 @@ Foreign command \@backslashchar#1;\MessageBreak \renewcommand{\hookleftarrow}{\DOTSB\leftarrow\joinrel\rhook} \renewcommand{\iff}{\DOTSB\;\Longleftrightarrow\;} % \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \begin{macro}{\doteq} % The \cn{doteq} command formerly used \cs{buildrel}; we avoid that % because it requires `\cn{over}' as part of its syntax. Use 0pt % instead of \cs{z@} for robustitude. @@ -941,10 +1131,12 @@ Foreign command \@backslashchar#1;\MessageBreak \renewcommand{\doteq}{% \DOTSB\mathrel{\mathop{\kern0pt =}\limits^{\textstyle.}}} % \end{macrocode} +% \end{macro} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \section{Integral signs} % +% \begin{macro}{\if@display} % The straightforward \cs{ifinner} test to see if the current math % context is non-display, fails if, for instance, we are typesetting % a multiline display within an \cs{halign}, with the pieces going @@ -959,7 +1151,14 @@ Foreign command \@backslashchar#1;\MessageBreak \newif\if@display \everydisplay\@xp{\the\everydisplay \@displaytrue} % \end{macrocode} +% \end{macro} % +% \begin{macro}{\int} +% \begin{macro}{\oint} +% \begin{macro}{\iint} +% \begin{macro}{\iiint} +% \begin{macro}{\iiiint} +% \begin{macro}{\idotsint} % Default value for integral limits is \cs{nolimits}, see the % definition of the `nointlimits' option. % \begin{macrocode} @@ -976,7 +1175,14 @@ Foreign command \@backslashchar#1;\MessageBreak \ams@newcommand{\iiiint}{\DOTSI\protect\MultiIntegral{4}} \newcommand{\idotsint}{\DOTSI\protect\MultiIntegral{0}} % \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} % +% \begin{macro}{\MultiIntegral} % If the \cs{limits} option is applied, use \cs{mathop} and fudge % the left-hand space a bit to make the subscript visually centered. % @@ -993,6 +1199,7 @@ Foreign command \@backslashchar#1;\MessageBreak \futurelet\@let@token\ints@a } % \end{macrocode} +% \end{macro} % % \begin{macrocode} \def\ints@a{% @@ -1058,6 +1265,19 @@ Foreign command \@backslashchar#1;\MessageBreak % hex digit 4 indicating `open delimiter'; this allows us to make a % relatively simple function to get the correct font and character % position. +% +% \changes{v2.15}{2016/02/20}{Modify \cs{resetMathstrut@} for Unicode \TeX} +% Original code assuming |\mathcode| is kept for 8bit \TeX. Unicode \TeX{} +% uses |\Umathcharnumdef| which works for xetex and luatex, which use +% different forms for |\mathchardef|. (New luatex always reports +% definitions using |\Umathchardef| syntax even if |\mathchardef| used.) +% +% The unicode vesrion uses e-tex |\fontcharht| to avoid boxing which +% could also be done for pdftex, but not done here. +% \begin{macrocode} +\ifx\Umathcharnumdef\@undefined +% \end{macrocode} +% Original code % \begin{macrocode} \def\resetMathstrut@{% \setbox\z@\hbox{% @@ -1065,11 +1285,27 @@ Foreign command \@backslashchar#1;\MessageBreak \def\@tempb##1"##2##3{\the\textfont"##3\char"}% \expandafter\@tempb\meaning\@tempa \relax }% + \ht\Mathstrutbox@\ht\z@ \dp\Mathstrutbox@\dp\z@ +} +\else % \end{macrocode} -% These height and depth assignments are implicitly global. +% xetex/luatex version % \begin{macrocode} - \ht\Mathstrutbox@\ht\z@ \dp\Mathstrutbox@\dp\z@ +\def\resetMathstrut@{% + \begingroup + \Umathcharnumdef\@tempa\Umathcodenum`\(\relax + \def\@tempb##1"##2"##3"##4\relax{% + \endgroup + \ht\Mathstrutbox@=\fontcharht\textfont"##3 "##4\relax + \dp\Mathstrutbox@=\fontchardp\textfont"##3 "##4\relax} + \expandafter\@tempb\meaning\@tempa \relax } +% \end{macrocode} +% \begin{macrocode} +\fi +% \end{macrocode} +% These height and depth assignments are implicitly global. +% \begin{macrocode} \addto@hook\every@math@size{\resetMathstrut@} % \end{macrocode} % \end{macro} @@ -1186,6 +1422,8 @@ Foreign command \@backslashchar#1;\MessageBreak \DeclareFontEncoding{OMS}{}{\noaccents@} % \end{macrocode} % +% \begin{macro}{\dddot} +% \begin{macro}{\ddddot} % Triple and quadruple dot accents. % \begin{macrocode} \ams@newcommand{\dddot}[1]{% @@ -1195,6 +1433,8 @@ Foreign command \@backslashchar#1;\MessageBreak {\mathop{#1}\limits^{\vbox to-1.4\ex@{\kern-\tw@\ex@ \hbox{\normalfont....}\vss}}}} % \end{macrocode} +% \end{macro} +% \end{macro} % % The following code deals with support for compound accents. % By redefining \cs{set@mathaccent} we ensure that @@ -1207,6 +1447,17 @@ Foreign command \@backslashchar#1;\MessageBreak } % \end{macrocode} % +% \begin{macro}{\hat} +% \begin{macro}{\check} +% \begin{macro}{\tilde} +% \begin{macro}{\acute} +% \begin{macro}{\grave} +% \begin{macro}{\dot} +% \begin{macro}{\ddot} +% \begin{macro}{\breve} +% \begin{macro}{\bar} +% \begin{macro}{\vec} +% \begin{macro}{\mathring} % We redefine the standard math accent commands to % call \cs{mathaccentV}, using the mathgroup/encoding-number % information embedded in their previous definitions. If the @@ -1222,18 +1473,41 @@ Foreign command \@backslashchar#1;\MessageBreak % Lucida Math or other math fonts package is loaded in addition to % \pkg{amsmath}, there are greater difficulties, but those are % addressed elsewhere. +% +% +% \changes{v2.15}{2016/02/20}{Detect \cs{Umathaccent} on package load} +% Adjust the test made at package load to recognise +% |\Umathaccent|. Although currently it is just used to give a +% modified warning that the accents will not be redefined. +% +% Note that the engines behave quite differently here, luatex +% even without these definitions using the OpenType accent set up by +% unicode-math stacks |\hat{hat{f}}| correctly but xetex acts like +% classic tex and needs this adjustment. This difference is not +% addressed here at all. +% +% This test is just at package loading and has no affect on the +% definitions used in 8bit TeX. % \begin{macrocode} \def\@tempa#1{\@xp\@tempb\meaning#1\@nil#1} \def\@tempb#1>#2#3 #4\@nil#5{% \@xp\ifx\csname#3\endcsname\mathaccent \@tempc#4?"7777\@nil#5% \else + \@xp\ifx\csname#3\endcsname\Umathaccent + \@tempd#4\@nil#5% + \else \PackageWarningNoLine{amsmath}{% Unable to redefine math accent \string#5}% - \fi -} + \fi\fi} \def\@tempc#1"#2#3#4#5#6\@nil#7{% \chardef\@tempd="#3\relax\set@mathaccent\@tempd{#7}{#2}{#4#5}} +\def\@tempd#1\@nil#2{% + \PackageWarningNoLine{amsmath}{% + Unable to redefine \string\Umathaccent\space\string#2}% +} +% \end{macrocode} +% \begin{macrocode} \@tempa{\hat} \@tempa{\check} \@tempa{\tilde} @@ -1252,6 +1526,17 @@ Foreign command \@backslashchar#1;\MessageBreak %%\@tempa\widetilde %%\@tempa\widehat % \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} % % Regression testing of amsmath 2.0 showed that in some documents % there occurred fragments of the form @@ -1535,6 +1820,10 @@ Foreign command \@backslashchar#1;\MessageBreak % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \section{Mods, continued fractions, etc.} % +% \begin{macro}{\bmod} +% \begin{macro}{\pmod} +% \begin{macro}{\pod} +% \begin{macro}{\mod} % The commands \cn{bmod}, \cn{pmod}, \cn{pod}, \cn{mod} aren't % currently robust. [mjd, 1994/09/05] % \begin{macrocode} @@ -1547,7 +1836,12 @@ Foreign command \@backslashchar#1;\MessageBreak \newcommand{\mod}[1]{\allowbreak\if@display\mkern18mu \else\mkern12mu\fi{\operator@font mod}\,\,#1} % \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} % +% \begin{macro}{\cfrac} % Continued fractions. The optional arg l or r controls horizontal % placement of the numerators. The |\kern-\nulldelimiterspace| % is needed in the definition if we want the right-hand sides of the @@ -1559,7 +1853,10 @@ Foreign command \@backslashchar#1;\MessageBreak \strut\ifx r#1\hfill\fi#2\ifx l#1\hfill\fi}{#3}}% \kern-\nulldelimiterspace} % \end{macrocode} +% \end{macro} % +% \begin{macro}{\overset} +% \begin{macro}{\underset} % \cn{overset} and \cn{underset} put symbols above, respectively % below, a symbol that is not a \cs{mathop} and therefore does not % naturally accept limits. \cs{binrel@@} uses information collected @@ -1574,7 +1871,10 @@ Foreign command \@backslashchar#1;\MessageBreak \newcommand{\underset}[2]{\binrel@{#2}% \binrel@@{\mathop{\kern\z@#2}\limits_{#1}}} % \end{macrocode} +% \end{macro} +% \end{macro} % +% \begin{macro}{\sideset} % \cn{sideset} allows placing `adscript' symbols at the four % corners of a \cs{mathop}, \emph{in addition to} limits. Left-side % adscripts go into arg \arg{1}, in the form |_{...}^{...}|, and @@ -1603,6 +1903,7 @@ Foreign command \@backslashchar#1;\MessageBreak \hbox to\dimen@{}\mathop{\kern-\dimen@\box4\box6}% } % \end{macrocode} +% \end{macro} % % \begin{macro}{\smash} % We add to the \cn{smash} command an optional argument @@ -1637,10 +1938,14 @@ Foreign command \@backslashchar#1;\MessageBreak } % \end{macrocode} % +% \begin{macro}{\relbar} +% \begin{macro}{\Relbar} % \begin{macrocode} \ams@def\relbar{\mathrel{\mathpalette\mathsm@sh\std@minus}} \ams@def\Relbar{\mathrel\std@equal} % \end{macrocode} +% \end{macro} +% \end{macro} % % \begin{macrocode} \def\arrowfill@#1#2#3#4{% @@ -1722,7 +2027,7 @@ Foreign command \@backslashchar#1;\MessageBreak % structures that allow \cn{tag}, there is some cross-influence in % the internal workings of the \cn{\\} command. % -% \subsection{The \cn{substack} command} +% \subsection{The \env{subarray} environment and \cn{substack} command} % % The \cn{substack} command can be used to set subscripts % and superscripts that consist of several lines. Usage: @@ -1960,6 +2265,7 @@ ill-advised in LaTeX.% }{} % \end{macrocode} % +% \begin{environment}{subequations} % \begin{macrocode} \newenvironment{subequations}{% % \end{macrocode} @@ -1989,6 +2295,7 @@ ill-advised in LaTeX.% \ignorespacesafterend } % \end{macrocode} +% \end{environment} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \section{Equation numbering} @@ -1999,6 +2306,7 @@ ill-advised in LaTeX.% % equation number for the current line will be processed and added to % the page. % +% \begin{macro}{\numberwithin} % Provide a convenient way to specify that equations should be % numbered within sections. % \begin{macrocode} @@ -2010,13 +2318,16 @@ ill-advised in LaTeX.% \@xp\@nx\csname the#3\endcsname .\@nx#1{#2}}}}% } % \end{macrocode} +% \end{macro} % +% \begin{macro}{\eqref} % To make references to equation numbers easier, we provide % \cn{eqref}. We almost don't need \cn{textup}, except that % \cs{tagform@} doesn't supply the italic correction. % \begin{macrocode} \newcommand{\eqref}[1]{\textup{\tagform@{\ref{#1}}}} % \end{macrocode} +% \end{macro} % % \subsection{Preliminary macros} % @@ -3151,8 +3462,8 @@ and fix things up.} % \end{macrocode} % \end{macro} % -% \begin{macro}{\math@cr@@@aligned} -% \cs{math@cr@@@aligned} checks to make sure the user hasn't put in +% \begin{macro}{\math@cr@@@alignedat} +% \cs{math@cr@@@alignedat} checks to make sure the user hasn't put in % too many \qc{\&}s in \env{alignedat}. Since \env{alignedat} % doesn't use \cs{displ@y@}, we also reset \cs{column@} here. Note % than in \env{aligned}, \cs{column@} will increase without bound, @@ -5831,4 +6142,4 @@ Cannot use `split' here;\MessageBreak trying to recover with `aligned'}% % changed in 1994 to make it user-oriented rather than % history-oriented. % -% \Finale +\endinput diff --git a/Master/texmf-dist/source/latex/amsmath/amsmath.ins b/Master/texmf-dist/source/latex/amsmath/amsmath.ins index 3ce6f639582..841088d84fc 100644 --- a/Master/texmf-dist/source/latex/amsmath/amsmath.ins +++ b/Master/texmf-dist/source/latex/amsmath/amsmath.ins @@ -1,19 +1,6 @@ -%% filename: amsmath.ins -%% version: 1.01 -%% date: 2013/01/14 -%% -%% 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 %% -%% Copyright 2010, 2013 American Mathematical Society. +%% Copyright 2010 American Mathematical Society. +%% Copyright 2016 LaTeX3 Project and American Mathematical Society. %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3c @@ -25,8 +12,7 @@ %% %% This work has the LPPL maintenance status `maintained'. %% -%% The Current Maintainer of this work is the American Mathematical -%% Society. +%% The Current Maintainer of this work is the LaTeX3 Project. %% %% ==================================================================== @@ -38,18 +24,8 @@ \preamble -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 +Copyright 1995, 1999, 2000, 2013 American Mathematical Society. +Copyright 2016 LaTeX3 Project and American Mathematical Society. This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c @@ -61,8 +37,7 @@ 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. +The Current Maintainer of this work is the LaTeX3 project. \endpreamble diff --git a/Master/texmf-dist/source/latex/amsmath/amsopn.dtx b/Master/texmf-dist/source/latex/amsmath/amsopn.dtx index 44ef923a39b..39c92f01bc8 100644 --- a/Master/texmf-dist/source/latex/amsmath/amsopn.dtx +++ b/Master/texmf-dist/source/latex/amsmath/amsopn.dtx @@ -1,21 +1,8 @@ -% \def\filename{amsopn.dtx} -% \def\fileversion{2.01} -% \def\filedate{1999/12/14} % % \iffalse meta-comment % -% 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 -% % Copyright 1995, 1999 American Mathematical Society. +% Copyright 2016 LaTeX3 Project and American Mathematical Society. % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -27,14 +14,23 @@ % % This work has the LPPL maintenance status `maintained'. % -% The Current Maintainer of this work is the American Mathematical -% Society. +% The Current Maintainer of this work is the LaTeX3 Project. % % \fi % %\iffalse %<*driver> \documentclass{amsdtx} +\def\MaintainedByLaTeXTeam#1{% +\begin{center}% +\fbox{\fbox{\begin{tabular}{@{}l@{}}% +This file is maintained by the \LaTeX{} Project team.\\% +Bug reports can be opened (category \texttt{#1}) at\\% +\url{http://latex-project.org/bugs.html}.\end{tabular}}}\end{center}} +\let\savedarg\arg +\usepackage{amsopn} +\let\arg\savedarg +\GetFileInfo{amsopn.sty} \begin{document} \title{The \pkg{amsopn} package} \author{Michael Downes} @@ -45,6 +41,7 @@ %\fi % % \maketitle +% \MaintainedByLaTeXTeam{amsmath} % % \MakeShortVerb\| % diff --git a/Master/texmf-dist/source/latex/amsmath/amsopn.ins b/Master/texmf-dist/source/latex/amsmath/amsopn.ins index e2c25bdccb4..f8b1d713fb1 100644 --- a/Master/texmf-dist/source/latex/amsmath/amsopn.ins +++ b/Master/texmf-dist/source/latex/amsmath/amsopn.ins @@ -1,19 +1,6 @@ -%% filename: amsopn.ins -%% version: 1.00 -%% date: 2010/08/13 -%% -%% 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 %% %% Copyright 2010 American Mathematical Society. +%% Copyright 2016 LaTeX3 Project and American Mathematical Society. %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3c @@ -25,8 +12,7 @@ %% %% This work has the LPPL maintenance status `maintained'. %% -%% The Current Maintainer of this work is the American Mathematical -%% Society. +%% The Current Maintainer of this work is the LaTeX3 Project. %% %% ==================================================================== @@ -39,17 +25,7 @@ \preamble Copyright 1995, 1999 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 +Copyright 2016 LaTeX3 Project and American Mathematical Society. This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c @@ -61,8 +37,7 @@ 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. +The Current Maintainer of this work is the LaTeX3 project. \endpreamble diff --git a/Master/texmf-dist/source/latex/amsmath/amstext.dtx b/Master/texmf-dist/source/latex/amsmath/amstext.dtx index 4abd0b84513..dae31efd464 100644 --- a/Master/texmf-dist/source/latex/amsmath/amstext.dtx +++ b/Master/texmf-dist/source/latex/amsmath/amstext.dtx @@ -1,21 +1,8 @@ -% \def\filename{amstext.dtx} -% \def\fileversion{2.01} -% \def\filedate{2000/06/29} % % \iffalse meta-comment % -% 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 -% % Copyright 1995, 1999 American Mathematical Society. +% Copyright 2016 LaTeX3 Project and American Mathematical Society. % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -27,15 +14,21 @@ % % This work has the LPPL maintenance status `maintained'. % -% The Current Maintainer of this work is the American Mathematical -% Society. +% The Current Maintainer of this work is the LaTeX3 Project. % % \fi % % \iffalse %<*driver> \documentclass{amsdtx} +\def\MaintainedByLaTeXTeam#1{% +\begin{center}% +\fbox{\fbox{\begin{tabular}{@{}l@{}}% +This file is maintained by the \LaTeX{} Project team.\\% +Bug reports can be opened (category \texttt{#1}) at\\% +\url{http://latex-project.org/bugs.html}.\end{tabular}}}\end{center}} \usepackage{amstext} +\GetFileInfo{amstext.sty} \begin{document} \title{The \pkg{amstext} package} \author{Frank Mittelbach \and Rainer Sch\"opf} @@ -46,6 +39,7 @@ % \fi % % \maketitle +% \MaintainedByLaTeXTeam{amsmath} % % \MakeShortVerb\| % @@ -83,7 +77,7 @@ % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) [1994/12/01]% LaTeX date must be December 1994 or later -\ProvidesPackage{amstext}[2000/06/29 v2.01] +\ProvidesPackage{amstext}[2000/06/29 v2.01 AMS text] % \end{macrocode} % % \section{The implementation} diff --git a/Master/texmf-dist/source/latex/amsmath/amstext.ins b/Master/texmf-dist/source/latex/amsmath/amstext.ins index 39334a35514..d97c166c36d 100644 --- a/Master/texmf-dist/source/latex/amsmath/amstext.ins +++ b/Master/texmf-dist/source/latex/amsmath/amstext.ins @@ -1,19 +1,6 @@ -%% filename: amstext.ins -%% version: 1.00 -%% date: 2010/08/13 -%% -%% 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 %% %% Copyright 2010 American Mathematical Society. +%% Copyright 2016 LaTeX3 Project and American Mathematical Society. %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3c @@ -25,8 +12,7 @@ %% %% This work has the LPPL maintenance status `maintained'. %% -%% The Current Maintainer of this work is the American Mathematical -%% Society. +%% The Current Maintainer of this work is the LaTeX3 Project. %% %% ==================================================================== @@ -39,17 +25,7 @@ \preamble Copyright 1995, 1999 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 +Copyright 2016 LaTeX3 Project and American Mathematical Society. This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c @@ -61,8 +37,7 @@ 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. +The Current Maintainer of this work is the LaTeX3 project. \endpreamble diff --git a/Master/texmf-dist/source/latex/amsmath/amsxtra.dtx b/Master/texmf-dist/source/latex/amsmath/amsxtra.dtx index 712d545dd8b..c9abb4585f3 100644 --- a/Master/texmf-dist/source/latex/amsmath/amsxtra.dtx +++ b/Master/texmf-dist/source/latex/amsmath/amsxtra.dtx @@ -1,21 +1,8 @@ -% \def\filename{amsxtra.dtx} -% \def\fileversion{1.2c} -% \def\filedate{1999/11/15} % % \iffalse meta-comment % -% 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 -% % Copyright 1995, 1999 American Mathematical Society. +% Copyright 2016 LaTeX3 Project and American Mathematical Society. % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -27,14 +14,21 @@ % % This work has the LPPL maintenance status `maintained'. % -% The Current Maintainer of this work is the American Mathematical -% Society. +% The Current Maintainer of this work is the LaTeX3 Project. % % \fi % %\iffalse %<*driver> \documentclass{amsdtx} +\def\MaintainedByLaTeXTeam#1{% +\begin{center}% +\fbox{\fbox{\begin{tabular}{@{}l@{}}% +This file is maintained by the \LaTeX{} Project team.\\% +Bug reports can be opened (category \texttt{#1}) at\\% +\url{http://latex-project.org/bugs.html}.\end{tabular}}}\end{center}} +\usepackage{amsxtra} +\GetFileInfo{amsxtra.sty} \begin{document} \title{The \pkg{amsxtra} package} \author{American Mathematical Society\\Michael Downes} @@ -45,6 +39,7 @@ %\fi % % \maketitle +% \MaintainedByLaTeXTeam{amsmath} % % \MakeShortVerb\| % @@ -61,7 +56,7 @@ % \StopEventually{} % % \begin{macrocode} -\ProvidesPackage{amsxtra}[1999/11/15 v1.2c] +\ProvidesPackage{amsxtra}[1999/11/15 v1.2c AMS extra commands] % \end{macrocode} % We need to ensure that either the \pkg{amstex} package or the % \pkg{amsmath} package is loaded. This means we need something a diff --git a/Master/texmf-dist/source/latex/amsmath/amsxtra.ins b/Master/texmf-dist/source/latex/amsmath/amsxtra.ins index 9edebd567dc..84e301b7b48 100644 --- a/Master/texmf-dist/source/latex/amsmath/amsxtra.ins +++ b/Master/texmf-dist/source/latex/amsmath/amsxtra.ins @@ -1,19 +1,6 @@ -%% filename: amsxtra.ins -%% version: 1.00 -%% date: 2010/08/13 -%% -%% 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 %% %% Copyright 2010 American Mathematical Society. +%% Copyright 2016 LaTeX3 Project and American Mathematical Society. %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3c @@ -25,8 +12,7 @@ %% %% This work has the LPPL maintenance status `maintained'. %% -%% The Current Maintainer of this work is the American Mathematical -%% Society. +%% The Current Maintainer of this work is the LaTeX3 Project. %% %% ==================================================================== @@ -39,17 +25,7 @@ \preamble Copyright 1995, 1999 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 +Copyright 2016 LaTeX3 Project and American Mathematical Society. This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c @@ -61,8 +37,7 @@ 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. +The Current Maintainer of this work is the LaTeX3 project. \endpreamble diff --git a/Master/texmf-dist/tex/latex/amsmath/amsbsy.sty b/Master/texmf-dist/tex/latex/amsmath/amsbsy.sty index afc9dc25b2b..f9db08a1da3 100644 --- a/Master/texmf-dist/tex/latex/amsmath/amsbsy.sty +++ b/Master/texmf-dist/tex/latex/amsmath/amsbsy.sty @@ -7,17 +7,7 @@ %% amsbsy.dtx %% %% Copyright 1995, 1999 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 +%% Copyright 2016 LaTeX3 Project and American Mathematical Society. %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3c @@ -29,12 +19,11 @@ %% %% This work has the LPPL maintenance status `maintained'. %% -%% The Current Maintainer of this work is the American Mathematical -%% Society. +%% The Current Maintainer of this work is the LaTeX3 project. %% \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) [1994/12/01]% LaTeX date must December 1994 or later -\ProvidesPackage{amsbsy}[1999/11/29 v1.2d] +\ProvidesPackage{amsbsy}[1999/11/29 v1.2d Bold Symbols] \RequirePackage{amsgen} \DeclareRobustCommand{\boldsymbol}[1]{% \begingroup diff --git a/Master/texmf-dist/tex/latex/amsmath/amscd.sty b/Master/texmf-dist/tex/latex/amsmath/amscd.sty index 7b8cbd91212..9e2cbdf1772 100644 --- a/Master/texmf-dist/tex/latex/amsmath/amscd.sty +++ b/Master/texmf-dist/tex/latex/amsmath/amscd.sty @@ -7,17 +7,7 @@ %% amscd.dtx %% %% Copyright 1995, 1999 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 +%% Copyright 2016 LaTeX3 Project and American Mathematical Society. %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3c @@ -29,12 +19,11 @@ %% %% This work has the LPPL maintenance status `maintained'. %% -%% The Current Maintainer of this work is the American Mathematical -%% Society. +%% The Current Maintainer of this work is the LaTeX3 project. %% \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) [1994/12/01]% LaTeX date must December 1994 or later -\ProvidesPackage{amscd}[1999/11/29 v2.0] +\ProvidesPackage{amscd}[1999/11/29 v2.0 AMS Commutatitive Diagrams] \RequirePackage{amsgen} \@ifundefined{math@cr}{% \def\math@cr{{\ifnum0=`}\fi diff --git a/Master/texmf-dist/tex/latex/amsmath/amsgen.sty b/Master/texmf-dist/tex/latex/amsmath/amsgen.sty index 03cd4772e51..5d329d3e610 100644 --- a/Master/texmf-dist/tex/latex/amsmath/amsgen.sty +++ b/Master/texmf-dist/tex/latex/amsmath/amsgen.sty @@ -7,17 +7,7 @@ %% amsgen.dtx %% %% Copyright 1995, 1999 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 +%% Copyright 2016 LaTeX3 Project and American Mathematical Society. %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3c @@ -29,12 +19,11 @@ %% %% This work has the LPPL maintenance status `maintained'. %% -%% The Current Maintainer of this work is the American Mathematical -%% Society. +%% The Current Maintainer of this work is the LaTeX3 project. %% \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) [1994/12/01]% LaTeX date must December 1994 or later -\ProvidesFile{amsgen.sty}[1999/11/30 v2.0] +\ProvidesFile{amsgen.sty}[1999/11/30 v2.0 generic functions] \providecommand{\@saveprimitive}[2]{\begingroup\escapechar`\\\relax \edef\@tempa{\string#1}\edef\@tempb{\meaning#1}% \ifx\@tempa\@tempb \global\let#2#1% diff --git a/Master/texmf-dist/tex/latex/amsmath/amsmath.sty b/Master/texmf-dist/tex/latex/amsmath/amsmath.sty index d9775df47a8..74e85c4c4f9 100644 --- a/Master/texmf-dist/tex/latex/amsmath/amsmath.sty +++ b/Master/texmf-dist/tex/latex/amsmath/amsmath.sty @@ -6,18 +6,8 @@ %% %% amsmath.dtx %% -%% 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 +%% Copyright 1995, 1999, 2000, 2013 American Mathematical Society. +%% Copyright 2016 LaTeX3 Project and American Mathematical Society. %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3c @@ -29,12 +19,11 @@ %% %% This work has the LPPL maintenance status `maintained'. %% -%% The Current Maintainer of this work is the American Mathematical -%% Society. +%% The Current Maintainer of this work is the LaTeX3 project. %% \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}[2013/01/14 v2.14 AMS math features] +\ProvidesPackage{amsmath}[2016/02/20 v2.15 AMS math features] \edef\@temp{\catcode 96=\number\catcode 96 } \catcode\string `\`=12 \def\do#1{\catcode\number`#1=\number\catcode`#1} @@ -226,8 +215,10 @@ Foreign command \@backslashchar#1;\MessageBreak \or\textstyle\or\scriptstyle\else\scriptscriptstyle\fi\fi} \begingroup \edef\@tempa{\string\mathchar"} +\edef\@tempd{\string\Umathchar"} \def\@tempb#1"#2\@nil{#1"} \edef\@tempc{\expandafter\@tempb\meaning\coprod "\@nil} +\ifx\@tempc\@tempd\let\@tempc\@tempa\fi \ifx\@tempa\@tempc \global\let\coprod@\coprod \gdef\coprod{\DOTSB\coprod@\slimits@} @@ -330,6 +321,27 @@ Foreign command \@backslashchar#1;\MessageBreak {\uccode`7=`c \uccode`8=`h \uccode`9=`\" \uppercase{\gdef\mathch@#1#2#3#4#5#6\mathch@{\gtest@false \ifx 7#1\ifx 8#2\ifx 9#5\gtest@true\xdef\meaning@{9#6}\fi\fi\fi}}} +{\uccode`(=`U \uccode`)=`m + \uppercase{\gdef\Umathch@#1#2#3#4"#5"#6\Umathch@{\gtest@false + \ifx(#2\ifx)#3\gtest@true + \ifcase"#5 \or\or\gdef\thedots@{\dotsb@}\or\gdef\thedots@{\dotsb@}\fi + \fi\fi + }}} +\ifx\Umathcharnumdef\@undefined +\gdef\thecharacter@#1\thecharacter@{} +\else +{\uccode`(=`t \uccode`)=`c + \uppercase{\gdef\thecharacter@#1#2#3#4#5\thecharacter@{% + \ifx(#1\ifx)#4% + \@xp\getmathcode@\meaning@\getmathcode@ + \fi\fi +}}} +\def\getmathcode@#1 #2 #3#4\getmathcode@{% + \Umathcharnumdef\@tempa\Umathcodenum`#3\relax + \edef\meaning@{\meaning\@tempa}% + \@xp\Umathch@\meaning@\Umathch@ +} +\fi \newcount\classnum@ \def\getmathch@#1.#2\getmathch@{\classnum@#1 \divide\classnum@4096 \ifcase\number\classnum@\or\or\gdef\thedots@{\dotsb@}\or @@ -369,6 +381,10 @@ Foreign command \@backslashchar#1;\MessageBreak \gtest@false\DN@##1\not@{}% \ifx 5#1\ifx 6#2\ifx 7#3\ifx 8#4\DN@{\FN@\nextii@}\fi\fi\fi \fi\next@}}} +{\uccode`9=`\l % + \uppercase{\gdef\striplong@#1#2#3\relax{% + \ifx9#2 \@xp\@xp\@xp\zap@to@space\fi}}} +\def\zap@to@space#1 {} \def\keybin@{\gtest@true \ifx\@let@token+\else\ifx\@let@token=\else \ifx\@let@token<\else\ifx\@let@token>\else @@ -390,30 +406,66 @@ Foreign command \@backslashchar#1;\MessageBreak \ \FN@\next@} \def\mdots@{\FN@\mdots@@} \def\mdots@@{\gdef\thedots@{\dotso@}% - \ifx\@let@token\boldsymbol \gdef\thedots@\boldsymbol{\boldsymboldots@}% - \else\ifx,\@let@token \gdef\thedots@{\dotsc}% - \else\ifx\not\@let@token \gdef\thedots@{\dotsb@}% - \else\keybin@ - \ifgtest@\gdef\thedots@{\dotsb@}% - \else\xdef\meaning@{\meaning\@let@token..........}% - \xdef\meaning@@{\meaning@}% - \@xp\math@\meaning@\math@ - \ifgtest@ - \@xp\mathch@\meaning@\mathch@ - \ifgtest@\@xp\getmathch@\meaning@\getmathch@\fi - \else\@xp\macro@\meaning@@\macro@ - \ifgtest@ - \@xp\not@\meaning@\not@\ifgtest@\gdef\thedots@{\dotsb@}% - \else\@xp\DOTS@\meaning@\DOTS@ - \ifgtest@ - \ifcase\number\DOTSCASE@\gdef\thedots@{\dotsb@}% - \or\gdef\thedots@{\dotsi}\else\fi - \else\@xp\math@\meaning@\math@ - \ifgtest@\@xp\mathbin@\meaning@\mathbin@ - \ifgtest@\gdef\thedots@{\dotsb@}% - \else\@xp\mathrel@\meaning@\mathrel@ - \ifgtest@\gdef\thedots@{\dotsb@}% - \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi + \ifx\@let@token\boldsymbol + \gdef\thedots@\boldsymbol{\boldsymboldots@}% + \else + \ifx,\@let@token \gdef\thedots@{\dotsc}% + \else + \ifx\not\@let@token + \gdef\thedots@{\dotsb@}% + \else + \keybin@ + \ifgtest@ % if \keybin@ test + \gdef\thedots@{\dotsb@}% + \else + \xdef\meaning@{\meaning\@let@token..........}% + \xdef\meaning@@{\@xp\striplong@\meaning@\relax\meaning@}% + \@xp\math@\meaning@\math@ + \ifgtest@ % if \mathxxx test + \@xp\mathch@\meaning@\mathch@ + \ifgtest@ % if \mathchar + \@xp\getmathch@\meaning@\getmathch@ + \fi % end if \mathchar + \else % \not \mathxxx + \@xp\Umathch@\meaning@"0"\Umathch@ + \ifgtest@ % if \Umathchar + \else % else not \Umathcar + \@xp\macro@\meaning@@\macro@ + \ifgtest@ % if macro test + \@xp\not@\meaning@\not@ + \ifgtest@ % if macro starts \not test + \gdef\thedots@{\dotsb@}% + \else% else not \not + \@xp\DOTS@\meaning@\DOTS@ + \ifgtest@ % \if DOTS + \ifcase\number\DOTSCASE@ %ifcase dots + \gdef\thedots@{\dotsb@}% + \or\gdef\thedots@{\dotsi}\else + \fi % endifcase dots + \else % not macro starts \DOTS + \@xp\math@\meaning@\math@ + \ifgtest@ % \if macro starts \mathxxxx + \@xp\mathbin@\meaning@\mathbin@ + \ifgtest@ % if macro starts \mathbin + \gdef\thedots@{\dotsb@}% + \else % not macro starting \mathbin + \@xp\mathrel@\meaning@\mathrel@ + \ifgtest@ % if macro starts \mathrel + \gdef\thedots@{\dotsb@}% + \fi % endif macro starts \mathrel (no else) + \fi % endif macro starts \mathbin + \fi % endif macro starts with \mathxxx (no else) + \fi % endif macro starts \DOTS else + \fi % end macro starting \not \ifgtest@ test (no else) + \else + \@xp\thecharacter@\meaning@\thecharacter@ + \fi % end macro \ifgtest@ test (no else) + \fi % end if \Umathchar test + \fi % end \math@ \ifgtest@ + \fi % end \keybin@ \ifgtest@ test (no else) + \fi % end if \not (no else) + \fi % end if comma (no else) + \fi % end if boldsymbol (no else) \thedots@} \def\boldsymboldots@#1{% \bold@true\let\@let@token=#1\let\delayed@=#1\mdots@@ @@ -532,6 +584,7 @@ Foreign command \@backslashchar#1;\MessageBreak \newbox\Mathstrutbox@ \setbox\Mathstrutbox@=\hbox{} \def\Mathstrut@{\copy\Mathstrutbox@} +\ifx\Umathcharnumdef\@undefined \def\resetMathstrut@{% \setbox\z@\hbox{% \mathchardef\@tempa\mathcode`\(\relax @@ -540,6 +593,17 @@ Foreign command \@backslashchar#1;\MessageBreak }% \ht\Mathstrutbox@\ht\z@ \dp\Mathstrutbox@\dp\z@ } +\else +\def\resetMathstrut@{% + \begingroup + \Umathcharnumdef\@tempa\Umathcodenum`\(\relax + \def\@tempb##1"##2"##3"##4\relax{% + \endgroup + \ht\Mathstrutbox@=\fontcharht\textfont"##3 "##4\relax + \dp\Mathstrutbox@=\fontchardp\textfont"##3 "##4\relax} + \expandafter\@tempb\meaning\@tempa \relax +} +\fi \addto@hook\every@math@size{\resetMathstrut@} \newbox\strutbox@ \def\strut@{\copy\strutbox@} @@ -580,12 +644,18 @@ Foreign command \@backslashchar#1;\MessageBreak \@xp\ifx\csname#3\endcsname\mathaccent \@tempc#4?"7777\@nil#5% \else + \@xp\ifx\csname#3\endcsname\Umathaccent + \@tempd#4\@nil#5% + \else \PackageWarningNoLine{amsmath}{% Unable to redefine math accent \string#5}% - \fi -} + \fi\fi} \def\@tempc#1"#2#3#4#5#6\@nil#7{% \chardef\@tempd="#3\relax\set@mathaccent\@tempd{#7}{#2}{#4#5}} +\def\@tempd#1\@nil#2{% + \PackageWarningNoLine{amsmath}{% + Unable to redefine \string\Umathaccent\space\string#2}% +} \@tempa{\hat} \@tempa{\check} \@tempa{\tilde} diff --git a/Master/texmf-dist/tex/latex/amsmath/amsopn.sty b/Master/texmf-dist/tex/latex/amsmath/amsopn.sty index a7fdc8edf7d..5c8adacebb8 100644 --- a/Master/texmf-dist/tex/latex/amsmath/amsopn.sty +++ b/Master/texmf-dist/tex/latex/amsmath/amsopn.sty @@ -7,17 +7,7 @@ %% amsopn.dtx %% %% Copyright 1995, 1999 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 +%% Copyright 2016 LaTeX3 Project and American Mathematical Society. %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3c @@ -29,8 +19,7 @@ %% %% This work has the LPPL maintenance status `maintained'. %% -%% The Current Maintainer of this work is the American Mathematical -%% Society. +%% The Current Maintainer of this work is the LaTeX3 project. %% \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) [1994/12/01]% LaTeX date must December 1994 or later diff --git a/Master/texmf-dist/tex/latex/amsmath/amstex.sty b/Master/texmf-dist/tex/latex/amsmath/amstex.sty index 5789770bb4e..edbea813bfa 100644 --- a/Master/texmf-dist/tex/latex/amsmath/amstex.sty +++ b/Master/texmf-dist/tex/latex/amsmath/amstex.sty @@ -1,21 +1,8 @@ -% \def\filename{amstex.sty} -% \def\fileversion{1.2f} -% \def\filedate{1999/11/15} % % \iffalse meta-comment % -% 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 -% % Copyright 1995, 1999 American Mathematical Society. +% Copyright 2016 LaTeX3 Project and American Mathematical Society. % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -27,8 +14,7 @@ % % This work has the LPPL maintenance status `maintained'. % -% The Current Maintainer of this work is the American Mathematical -% Society. +% The Current Maintainer of this work is the LaTeX3 Project. % % \fi % diff --git a/Master/texmf-dist/tex/latex/amsmath/amstext.sty b/Master/texmf-dist/tex/latex/amsmath/amstext.sty index a2629b6c732..99d94e6700d 100644 --- a/Master/texmf-dist/tex/latex/amsmath/amstext.sty +++ b/Master/texmf-dist/tex/latex/amsmath/amstext.sty @@ -7,17 +7,7 @@ %% amstext.dtx %% %% Copyright 1995, 1999 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 +%% Copyright 2016 LaTeX3 Project and American Mathematical Society. %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3c @@ -29,12 +19,11 @@ %% %% This work has the LPPL maintenance status `maintained'. %% -%% The Current Maintainer of this work is the American Mathematical -%% Society. +%% The Current Maintainer of this work is the LaTeX3 project. %% \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) [1994/12/01]% LaTeX date must be December 1994 or later -\ProvidesPackage{amstext}[2000/06/29 v2.01] +\ProvidesPackage{amstext}[2000/06/29 v2.01 AMS text] \RequirePackage{amsgen} \DeclareRobustCommand{\text}{% \ifmmode\expandafter\text@\else\expandafter\mbox\fi} diff --git a/Master/texmf-dist/tex/latex/amsmath/amsxtra.sty b/Master/texmf-dist/tex/latex/amsmath/amsxtra.sty index 8ee5b3cb819..892b6f2e983 100644 --- a/Master/texmf-dist/tex/latex/amsmath/amsxtra.sty +++ b/Master/texmf-dist/tex/latex/amsmath/amsxtra.sty @@ -7,17 +7,7 @@ %% amsxtra.dtx %% %% Copyright 1995, 1999 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 +%% Copyright 2016 LaTeX3 Project and American Mathematical Society. %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3c @@ -29,10 +19,9 @@ %% %% This work has the LPPL maintenance status `maintained'. %% -%% The Current Maintainer of this work is the American Mathematical -%% Society. +%% The Current Maintainer of this work is the LaTeX3 project. %% -\ProvidesPackage{amsxtra}[1999/11/15 v1.2c] +\ProvidesPackage{amsxtra}[1999/11/15 v1.2c AMS extra commands] \@ifpackageloaded{amstex}{}{% \RequirePackage{amsmath}[1996/10/01 v1.2]} \def\sphat{^{\mathchoice{}{}% |