diff options
author | Karl Berry <karl@freefriends.org> | 2016-04-02 22:19:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-04-02 22:19:48 +0000 |
commit | 54aa09d5d6925008eb25609ce953c1b99fd2d2c7 (patch) | |
tree | d8e052725306f427e156556aeb2bec689f8245cc /Master/texmf-dist/source/latex/amsmath/amsmath.dtx | |
parent | 54e58adfc76118f03b1bd2f7dedfb2140dce7696 (diff) |
latex2e (1apr16), now including amsmath
git-svn-id: svn://tug.org/texlive/trunk@40218 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/amsmath/amsmath.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/amsmath/amsmath.dtx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/amsmath/amsmath.dtx b/Master/texmf-dist/source/latex/amsmath/amsmath.dtx index ea9498f7a15..d40598054dc 100644 --- a/Master/texmf-dist/source/latex/amsmath/amsmath.dtx +++ b/Master/texmf-dist/source/latex/amsmath/amsmath.dtx @@ -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/03/03 v2.15a AMS math features] +\ProvidesPackage{amsmath}[2016/03/10 v2.15b AMS math features] % \end{macrocode} % % \section{Catcode defenses} @@ -1267,12 +1267,13 @@ Foreign command \@backslashchar#1;\MessageBreak % position. % % \changes{v2.15}{2016/02/20}{Modify \cs{resetMathstrut@} for Unicode \TeX} +% \changes{v2.15b}{2016/03/10}{Modify \cs{resetMathstrut@} for classic \TeX\ to preserve box 0} % 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 +% The unicode version uses e-tex |\fontcharht| to avoid boxing which % could also be done for pdftex, but not done here. % \begin{macrocode} \ifx\Umathcharnumdef\@undefined @@ -1280,12 +1281,16 @@ Foreign command \@backslashchar#1;\MessageBreak % Original code % \begin{macrocode} \def\resetMathstrut@{% + \begingroup \setbox\z@\hbox{% \mathchardef\@tempa\mathcode`\(\relax \def\@tempb##1"##2##3{\the\textfont"##3\char"}% \expandafter\@tempb\meaning\@tempa \relax }% - \ht\Mathstrutbox@\ht\z@ \dp\Mathstrutbox@\dp\z@ + \edef\@tempa{% + \ht\Mathstrutbox@\the\ht\z@\relax + \dp\Mathstrutbox@\the\dp\z@\relax}% + \expandafter\endgroup\@tempa } \else % \end{macrocode} |