summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex-dev/amsmath/amsmath.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-09-20 20:07:55 +0000
committerKarl Berry <karl@freefriends.org>2021-09-20 20:07:55 +0000
commite024a58f1f127a9723f5e381efcedead06cb0373 (patch)
tree1b3e7814df155c17969f6612176e523b64238809 /Master/texmf-dist/tex/latex-dev/amsmath/amsmath.sty
parentd291f73c830f767b003eabd72656e171ef0e4597 (diff)
latex-dev (20sep21)
git-svn-id: svn://tug.org/texlive/trunk@60566 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex-dev/amsmath/amsmath.sty')
-rw-r--r--Master/texmf-dist/tex/latex-dev/amsmath/amsmath.sty15
1 files changed, 14 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex-dev/amsmath/amsmath.sty b/Master/texmf-dist/tex/latex-dev/amsmath/amsmath.sty
index 196660228a9..0db74feb9a1 100644
--- a/Master/texmf-dist/tex/latex-dev/amsmath/amsmath.sty
+++ b/Master/texmf-dist/tex/latex-dev/amsmath/amsmath.sty
@@ -27,7 +27,7 @@
\providecommand\DeclareCurrentRelease[2]{}
\DeclareRelease{}{2018-12-01}{amsmath-2018-12-01.sty}
\DeclareCurrentRelease{}{2019-04-01}
-\ProvidesPackage{amsmath}[2021/04/20 v2.17j AMS math features]
+\ProvidesPackage{amsmath}[2021/08/28 v2.17k AMS math features]
\edef\@temp{\catcode 96=\number\catcode 96 }
\catcode\string `\`=12
\def\do#1{\catcode\number`#1=\number\catcode`#1}
@@ -2901,6 +2901,7 @@ Cannot use `split' here;\MessageBreak trying to recover with `aligned'}%
}
\let\mathdisplay@pop\@empty
\def\mathdisplay@@pop{\the\mathdisplay@stack}
+\if@fleqn
\renewenvironment{equation}{%
\incr@eqnum
\mathdisplay@push
@@ -2911,6 +2912,18 @@ Cannot use `split' here;\MessageBreak trying to recover with `aligned'}%
\mathdisplay@pop
\ignorespacesafterend
}
+\else
+\renewenvironment{equation}{%
+ \mathdisplay@push
+ \st@rredfalse \global\@eqnswtrue
+ \mathdisplay{equation}%
+ \incr@eqnum\mathopen{}%
+}{%
+ \endmathdisplay{equation}%
+ \mathdisplay@pop
+ \ignorespacesafterend
+}
+\fi
\newenvironment{equation*}{%
\mathdisplay@push
\st@rredtrue \global\@eqnswfalse