From c360b5d9d2ff7075cf63bf9c24781cf25c9a75bd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 8 Sep 2017 21:22:37 +0000 Subject: amsmath (8sep17) git-svn-id: svn://tug.org/texlive/trunk@45246 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/amsmath/README.txt | 104 ++------------------- Master/texmf-dist/doc/latex/amsmath/amsbsy.pdf | Bin 161337 -> 161325 bytes Master/texmf-dist/doc/latex/amsmath/amscd.pdf | Bin 165754 -> 165741 bytes Master/texmf-dist/doc/latex/amsmath/amsgen.pdf | Bin 164356 -> 164345 bytes Master/texmf-dist/doc/latex/amsmath/amsldoc.pdf | Bin 391694 -> 391683 bytes Master/texmf-dist/doc/latex/amsmath/amsmath.pdf | Bin 378943 -> 378844 bytes Master/texmf-dist/doc/latex/amsmath/amsopn.pdf | Bin 129166 -> 129154 bytes Master/texmf-dist/doc/latex/amsmath/amstext.pdf | Bin 193904 -> 193892 bytes Master/texmf-dist/doc/latex/amsmath/amsxtra.pdf | Bin 104547 -> 104539 bytes Master/texmf-dist/doc/latex/amsmath/changes.txt | 71 +++++++++++++- Master/texmf-dist/doc/latex/amsmath/subeqn.pdf | Bin 101296 -> 101285 bytes Master/texmf-dist/doc/latex/amsmath/technote.pdf | Bin 130475 -> 130465 bytes Master/texmf-dist/doc/latex/amsmath/testmath.pdf | Bin 428676 -> 428683 bytes Master/texmf-dist/source/latex/amsmath/amscd.dtx | 2 +- Master/texmf-dist/source/latex/amsmath/amsmath.dtx | 17 +++- Master/texmf-dist/tex/latex/amsmath/amsmath.sty | 8 +- 16 files changed, 97 insertions(+), 105 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/amsmath/README.txt b/Master/texmf-dist/doc/latex/amsmath/README.txt index 71e335105a5..ceee2968d15 100644 --- a/Master/texmf-dist/doc/latex/amsmath/README.txt +++ b/Master/texmf-dist/doc/latex/amsmath/README.txt @@ -1,8 +1,8 @@ -README for latex-amsmath bundle [2017/04/14] - American Mathematical Society, LaTeX3 Project +README for latex-amsmath bundle +American Mathematical Society, LaTeX3 Project Copyright 2001-2004, 2007, 2008, 2010, 2011, 2013 American Mathematical Society. -Copyright 2016 LaTeX3 Project and American Mathematical Society. +Copyright 2016-2017 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 @@ -90,100 +90,16 @@ Check first to see whether your question has already been answered. ======================================================================== IV. REMARKS ON THIS RELEASE -Version 2.16 adds some control over spacing around aligned/gathered and -adjustments to the generalized fraction code so that it works in xetex. +Version 2.17 +Fixes a bug in the spacing around the closing delimiter in generalised +fractions in xetex and luatex version added in release 2.16. +Fixes a bug that overfull lines did not always produce warnings. -======================================================================== -V. CHANGE LOG (REVERSE CHRONOLOGICAL ORDER) - - -2017-04-14 David Carlisle - - * amscd.dtx: typo fix in ProvidesPackage line. - -2016-11-05 amsmath.dtx 2.16a - alignedleftspace[yes|no|yesifneg] package options - New genfrac implementation for XeTeX and LuaTeX - Delete obsolete install.txt file. - - -2016-06-28 amsmath.dtx 2.15d - avoid error on \dots \left .... - -2016-05-26 amsmath.dtx 2.15c - ignore spaces at start of \intertext - -2016-03-10 amsmath.dtx 2.15b - Preserve box0 in \resetMathstrut@ - In xetex, and luatex, add version of \newmcodes@ - that works even if - has a \Umathcode definition. - -2016-03-03 amsmath.dtx 2.15a - One missing % added to mathstrut handling. - - -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 - -- Minimal changes to make amsmath compatible with stix.sty. -2000-07-18 amsmath.dtx 2.13 - -- After the numbering patches in 2.11, \notag failed in certain - circumstances: introduce some more auxiliary functions to sort - things out, and redefine \nonumber. - -2000-06-29 amstext.dtx 2.01 - -- Use \f@size instead of \tf@size because they are not - necessarily the same and the former is better for putting a few - words into a display. - -2000-06-06 amsmath.dtx 2.12 - -- Fix transposed lines in 2.11 patch. - -2000-06-02 amsmath.dtx 2.11 - - * amsmath.sty 2.11 - -- Prevent "Arithmetic overflow" error by guarding against - divide-by-zero in \x@calc@shift@lc (align environment). - - * amsdtx.dtx - -- Moved to the amscls distribution. - -2000-05-25 amsmath.dtx 2.10 - -- Clear up error message for \allowdisplaybreaks[0]. - -- Make mathdisplay re-entrant by introducing mathdisplay@stack, - to clear up numbering problems in unusual circumstances such as - \[ \] nested inside minipage inside equation. - -2000-04-21 amsmath.dtx 2.09 - -- Ensure good catcodes for " etc. - -2000-03-16 amsmath.dtx 2.08 - -- Fixed erroneous tag placement on split with fleqn/tbtags options. - -2000-03-15 amsmath.dtx 2.07 - -- Add \reset@strutbox@ to deal with the following bug: After - $...\mbox{\Huge $...$}...$, line spacing is wrong in a - following "gather" or other environment that uses \strut@. - -- Patch to fix bug with intlimits option: too much space in the - middle of \iint. - -- Overhaul math accents again to fix a couple of bugs reported by - Thimm. - -2000-03-10 amsmath.dtx 2.06 - -- Change \MathAccent to \mathaccentV so \DeclareMathAccent won't - give an error when redefining an accent. +======================================================================== +V. CHANGE LOG -2000-01-06 amsmath.dtx 2.05 - -- Fixed incorrect placement of fleqn/reqno equation numbers - inside indented lists (displaywidth < columnwidth). Changed the - multline/fleqn/leqno indent to match mathmargin when possible - instead of always just using multlinetaggap. +The file changes.txt lists recent changes in reverse chronological order. The file diffs-m.txt contains information on development and changes prior to 2000. diff --git a/Master/texmf-dist/doc/latex/amsmath/amsbsy.pdf b/Master/texmf-dist/doc/latex/amsmath/amsbsy.pdf index 87bae178e28..b7649d8d501 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/amsbsy.pdf and b/Master/texmf-dist/doc/latex/amsmath/amsbsy.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/amscd.pdf b/Master/texmf-dist/doc/latex/amsmath/amscd.pdf index f008db43bd7..4b4e9723fb0 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/amscd.pdf and b/Master/texmf-dist/doc/latex/amsmath/amscd.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/amsgen.pdf b/Master/texmf-dist/doc/latex/amsmath/amsgen.pdf index dfc0d0eca8a..1719ddee46a 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/amsgen.pdf and b/Master/texmf-dist/doc/latex/amsmath/amsgen.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/amsldoc.pdf b/Master/texmf-dist/doc/latex/amsmath/amsldoc.pdf index 1b3e767e5ff..d589e2612fd 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/amsldoc.pdf and b/Master/texmf-dist/doc/latex/amsmath/amsldoc.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/amsmath.pdf b/Master/texmf-dist/doc/latex/amsmath/amsmath.pdf index d214962fff2..452f47ca321 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/amsmath.pdf and b/Master/texmf-dist/doc/latex/amsmath/amsmath.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/amsopn.pdf b/Master/texmf-dist/doc/latex/amsmath/amsopn.pdf index bbe3b2a5c8b..76b2c89bb72 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/amsopn.pdf and b/Master/texmf-dist/doc/latex/amsmath/amsopn.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/amstext.pdf b/Master/texmf-dist/doc/latex/amsmath/amstext.pdf index b3e66eecd43..c402d33c6de 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/amstext.pdf and b/Master/texmf-dist/doc/latex/amsmath/amstext.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/amsxtra.pdf b/Master/texmf-dist/doc/latex/amsmath/amsxtra.pdf index 4461c77c2ac..2d34a0870a0 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/amsxtra.pdf and b/Master/texmf-dist/doc/latex/amsmath/amsxtra.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/changes.txt b/Master/texmf-dist/doc/latex/amsmath/changes.txt index 9fc5d60c732..398763e13cf 100644 --- a/Master/texmf-dist/doc/latex/amsmath/changes.txt +++ b/Master/texmf-dist/doc/latex/amsmath/changes.txt @@ -1,9 +1,19 @@ +2017-09-02 David Carlisle + + * amsmath.dtx: ensure that overfull alignments give warnings in more cases + https://tex.stackexchange.com/questions/141287/addmargin-enumerate-and-align-miss-an-overfull-hbox + + * amsmath.dtx: move the nulldelimiterspace correction for closing + delimiters in \genfrac for extended TeXs to the line before + \nulldelimiterspace is locally set to 0pt. + 2017-04-14 David Carlisle * amscd.dtx: typo fix in ProvidesPackage line. 2016-11-05 David Carlisle - * alignedleftspace[yes|no|yesifneg] package options + + * alignedleftspace[yes|no|yesifneg] package options * New genfrac implementation for XeTeX and LuaTeX * Delete obsolete install.txt file. @@ -31,3 +41,62 @@ 2016-02-20 David Carlisle * amsmath.dtx: update to support \Umathchardef and \long macros in \dots. + +2013-01-14 amsmath.dtx 2.14 + + * amsmath.sty 2.14 + -- Minimal changes to make amsmath compatible with stix.sty. + +2000-07-18 amsmath.dtx 2.13 + -- After the numbering patches in 2.11, \notag failed in certain + circumstances: introduce some more auxiliary functions to sort + things out, and redefine \nonumber. + +2000-06-29 amstext.dtx 2.01 + -- Use \f@size instead of \tf@size because they are not + necessarily the same and the former is better for putting a few + words into a display. + +2000-06-06 amsmath.dtx 2.12 + -- Fix transposed lines in 2.11 patch. + +2000-06-02 amsmath.dtx 2.11 + + * amsmath.sty 2.11 + -- Prevent "Arithmetic overflow" error by guarding against + divide-by-zero in \x@calc@shift@lc (align environment). + + * amsdtx.dtx + -- Moved to the amscls distribution. + +2000-05-25 amsmath.dtx 2.10 + -- Clear up error message for \allowdisplaybreaks[0]. + -- Make mathdisplay re-entrant by introducing mathdisplay@stack, + to clear up numbering problems in unusual circumstances such as + \[ \] nested inside minipage inside equation. + +2000-04-21 amsmath.dtx 2.09 + -- Ensure good catcodes for " etc. + +2000-03-16 amsmath.dtx 2.08 + -- Fixed erroneous tag placement on split with fleqn/tbtags options. + +2000-03-15 amsmath.dtx 2.07 + -- Add \reset@strutbox@ to deal with the following bug: After + $...\mbox{\Huge $...$}...$, line spacing is wrong in a + following "gather" or other environment that uses \strut@. + -- Patch to fix bug with intlimits option: too much space in the + middle of \iint. + -- Overhaul math accents again to fix a couple of bugs reported by + Thimm. + +2000-03-10 amsmath.dtx 2.06 + -- Change \MathAccent to \mathaccentV so \DeclareMathAccent won't + give an error when redefining an accent. + +2000-01-06 amsmath.dtx 2.05 + -- Fixed incorrect placement of fleqn/reqno equation numbers + inside indented lists (displaywidth < columnwidth). Changed the + multline/fleqn/leqno indent to match mathmargin when possible + instead of always just using multlinetaggap. + diff --git a/Master/texmf-dist/doc/latex/amsmath/subeqn.pdf b/Master/texmf-dist/doc/latex/amsmath/subeqn.pdf index 8cc898463db..d2f123820a4 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/subeqn.pdf and b/Master/texmf-dist/doc/latex/amsmath/subeqn.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/technote.pdf b/Master/texmf-dist/doc/latex/amsmath/technote.pdf index 90f7eb123c4..9c9f67047dc 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/technote.pdf and b/Master/texmf-dist/doc/latex/amsmath/technote.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsmath/testmath.pdf b/Master/texmf-dist/doc/latex/amsmath/testmath.pdf index 1054151afae..34742b83df6 100644 Binary files a/Master/texmf-dist/doc/latex/amsmath/testmath.pdf and b/Master/texmf-dist/doc/latex/amsmath/testmath.pdf differ diff --git a/Master/texmf-dist/source/latex/amsmath/amscd.dtx b/Master/texmf-dist/source/latex/amsmath/amscd.dtx index 251b3ae396b..47cae0595d2 100644 --- a/Master/texmf-dist/source/latex/amsmath/amscd.dtx +++ b/Master/texmf-dist/source/latex/amsmath/amscd.dtx @@ -2,7 +2,7 @@ % \iffalse meta-comment % % Copyright 1995, 1999 American Mathematical Society. -% Copyright 2016 LaTeX3 Project and American Mathematical Society. +% Copyright 2016-2017 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 diff --git a/Master/texmf-dist/source/latex/amsmath/amsmath.dtx b/Master/texmf-dist/source/latex/amsmath/amsmath.dtx index 64b3d8073fc..3fbfe5b6c0b 100644 --- a/Master/texmf-dist/source/latex/amsmath/amsmath.dtx +++ b/Master/texmf-dist/source/latex/amsmath/amsmath.dtx @@ -2,7 +2,7 @@ % \iffalse meta-comment % % Copyright 1995, 2000, 2013 American Mathematical Society. -% Copyright 2016 LaTeX3 Project and American Mathematical Society. +% Copyright 2016-2017 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 @@ -74,7 +74,7 @@ Bug reports can be opened (category \texttt{#1}) at\\% % \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}[2016/11/05 v2.16a AMS math features] +\ProvidesPackage{amsmath}[2017/09/02 v2.17a AMS math features] % \end{macrocode} % % \section{Catcode defenses} @@ -635,9 +635,12 @@ Foreign command \@backslashchar#1;\MessageBreak % \begin{macrocode} \def\genfrac@choice#1#2{% \ifx @#2@\else +% \end{macrocode} +% \changes{v2.17a}{2017/09/02}{move \cs{nulldelimiterspace} correction} +% \begin{macrocode} +\ifx c#1\kern-\nulldelimiterspace\fi {\delimitershortfall\z@\delimiterfactor\@m \mathsurround\z@\nulldelimiterspace\z@ -\ifx c#1\kern-\nulldelimiterspace\fi \mathchoice {\genfrac@rule{#2}{20}\textfont{2.39}}% {\genfrac@rule{#2}{21}\textfont{1}}% @@ -678,9 +681,12 @@ Foreign command \@backslashchar#1;\MessageBreak % \begin{macrocode} \def\genfrac@choice#1#2{% \ifx @#2@\else +% \end{macrocode} +% \changes{v2.17a}{2017/09/02}{move \cs{nulldelimiterspace} correction} +% \begin{macrocode} +\ifx c#1\kern-\nulldelimiterspace\fi {\delimitershortfall\z@\delimiterfactor\@m \mathsurround\z@\nulldelimiterspace\z@ -\ifx c#1\kern-\nulldelimiterspace\fi \mathchoice {\genfrac@rule{#2}\displaystyle{2.39}}% {\genfrac@rule{#2}\textstyle{1}}% @@ -3336,6 +3342,7 @@ and fix things up.} % \end{macro} % % \begin{macro}{\black@} +% \changes{v2.17a}{2017/09/02}{add fixed width box so overfull warning generated in centred environments in lists} % This macro is made to produce an overfull box message and % possibly (depending on the value of \cs{overfullrule}) % a rule in the margin if the total width of an alignment @@ -3348,7 +3355,7 @@ and fix things up.} \nointerlineskip \vskip-\ht\strutbox@ \vskip-\dp\strutbox@ - \vbox{\noindent\hbox to#1{\strut@\hfill}}% + \vbox{\noindent\hbox to\displaywidth{\hbox to#1{\strut@\hfill}}}% \prevdepth\dimen@ \fi }% diff --git a/Master/texmf-dist/tex/latex/amsmath/amsmath.sty b/Master/texmf-dist/tex/latex/amsmath/amsmath.sty index 6835f3ce120..638103c0c82 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/11/05 v2.16a AMS math features] +\ProvidesPackage{amsmath}[2017/09/02 v2.17a AMS math features] \edef\@temp{\catcode 96=\number\catcode 96 } \catcode\string `\`=12 \def\do#1{\catcode\number`#1=\number\catcode`#1} @@ -236,9 +236,9 @@ Foreign command \@backslashchar#1;\MessageBreak }\right.$}} \def\genfrac@choice#1#2{% \ifx @#2@\else +\ifx c#1\kern-\nulldelimiterspace\fi {\delimitershortfall\z@\delimiterfactor\@m \mathsurround\z@\nulldelimiterspace\z@ -\ifx c#1\kern-\nulldelimiterspace\fi \mathchoice {\genfrac@rule{#2}{20}\textfont{2.39}}% {\genfrac@rule{#2}{21}\textfont{1}}% @@ -267,9 +267,9 @@ Foreign command \@backslashchar#1;\MessageBreak }\right.$}} \def\genfrac@choice#1#2{% \ifx @#2@\else +\ifx c#1\kern-\nulldelimiterspace\fi {\delimitershortfall\z@\delimiterfactor\@m \mathsurround\z@\nulldelimiterspace\z@ -\ifx c#1\kern-\nulldelimiterspace\fi \mathchoice {\genfrac@rule{#2}\displaystyle{2.39}}% {\genfrac@rule{#2}\textstyle{1}}% @@ -1268,7 +1268,7 @@ and fix things up.} \nointerlineskip \vskip-\ht\strutbox@ \vskip-\dp\strutbox@ - \vbox{\noindent\hbox to#1{\strut@\hfill}}% + \vbox{\noindent\hbox to\displaywidth{\hbox to#1{\strut@\hfill}}}% \prevdepth\dimen@ \fi }% -- cgit v1.2.3