summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex-dev/base/ltmath.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-02-24 14:24:44 +0000
committerKarl Berry <karl@freefriends.org>2020-02-24 14:24:44 +0000
commit294bedbdf9c5683f570db4670f5b5d54e4b3fbcb (patch)
treea090ea734880e8726c54c8d42d3fc5b7b5fd203e /Master/texmf-dist/source/latex-dev/base/ltmath.dtx
parent06b48ae1e077c886a68fba11d3b936eea1760303 (diff)
latex-base-dev (23feb20)
git-svn-id: svn://tug.org/texlive/trunk@53885 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex-dev/base/ltmath.dtx')
-rw-r--r--Master/texmf-dist/source/latex-dev/base/ltmath.dtx14
1 files changed, 11 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex-dev/base/ltmath.dtx b/Master/texmf-dist/source/latex-dev/base/ltmath.dtx
index 18688068b04..86e62e7bf52 100644
--- a/Master/texmf-dist/source/latex-dev/base/ltmath.dtx
+++ b/Master/texmf-dist/source/latex-dev/base/ltmath.dtx
@@ -38,7 +38,7 @@
%<*driver>
% \fi
\ProvidesFile{ltmath.dtx}
- [2019/08/27 v1.2c LaTeX Kernel (Math Setup)]
+ [2020/02/18 v1.2d LaTeX Kernel (Math Setup)]
% \iffalse
%</driver>
%
@@ -1009,9 +1009,11 @@
%
% \begin{macro}{\mathindent}
% The amount of indentation of the equations is stored in a register.
+% \changes{v1.2d}{2020/02/18}{Make \cs{mathindent} a skip register to match
+% amsmath (gh/252)}
% \begin{macrocode}
%<*fleqn>
-\newdimen\mathindent
+\newskip\mathindent
% \end{macrocode}
% The setting of |\mathindent| has to be deferred until the class
% file has been processed, because |\leftmargini| is still 0pt
@@ -1097,7 +1099,13 @@
\hb@xt@\linewidth\bgroup $\m@th% $
\displaystyle
\hskip\mathindent}%
- {$\hfil % $
+% \end{macrocode}
+% Ensure that there is at least a space between formula and
+% equation number so that they don't bump in each other.
+% \changes{v1.2d}{2020/02/18}{Separate formula and eqn number by at
+% least a space in fleqn option}
+% \begin{macrocode}
+ {$\hskip .3em minus.3em\hfil % $
\displaywidth\linewidth\hbox{\@eqnnum}%
\egroup
\endtrivlist}