[latex3-commits] [git/LaTeX3-latex3-latex2e] gh517: changes entry (96f4b69c)
Frank Mittelbach
frank.mittelbach at latex-project.org
Sun Sep 4 12:13:14 CEST 2022
Repository : https://github.com/latex3/latex2e
On branch : gh517
Link : https://github.com/latex3/latex2e/commit/96f4b69c037279dee03dfdca7695c53bd2a53f57
>---------------------------------------------------------------
commit 96f4b69c037279dee03dfdca7695c53bd2a53f57
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Sun Sep 4 12:13:14 2022 +0200
changes entry
>---------------------------------------------------------------
96f4b69c037279dee03dfdca7695c53bd2a53f57
base/changes.txt | 5 +++++
base/doc/ltnews36.tex | 8 ++++----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/base/changes.txt b/base/changes.txt
index a52076d2..3121b843 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,11 @@ completeness or accuracy and it contains some references to files that
are not part of the distribution.
================================================================================
+2022-09-03 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
+
+ * ltmath.dtx (subsubsection{The UNSORTED Rest}):
+ Guard \smash against reboxing (gh/517)
+
2022-09-03 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
* docstrip.dtx (subsection{The handling of options}):
diff --git a/base/doc/ltnews36.tex b/base/doc/ltnews36.tex
index 19ca8e08..148106c0 100644
--- a/base/doc/ltnews36.tex
+++ b/base/doc/ltnews36.tex
@@ -274,12 +274,12 @@ approach.
\subsection{Prevent \TeX{} from loosing a \cs{smash}}
-When \TeX{} is typesetting a a fraction it will rebox the material in
+When \TeX{} is typesetting a fraction, it will rebox the material in
either numerator or the denumerator depending on which is wider. If
-the repackaged part consists of a single box that box gets new
+the repackaged part consists of a single box, that box gets new
dimensions and if it was build using a \cs{smash} that effect vanishes
(because a smash is nothing other than zeroing some box dimension,
-which not got undone). For example, in the line
+which now got undone). For example, in the line
\begin{verbatim}
\frac{1}{2} = \frac{1}{\smash{2^X}}
\neq \frac{100}{\smash{2^X}}
@@ -295,7 +295,7 @@ the second \cs{smash} was ignored due to reboxing:
\frac{100}{\smash{2^X}}
\]
The differences are subtle but noticeable. This is now corrected and the \cs{smash} is always
-honored, so you now get this output:
+honored. Thus now you get this output:
\[
\newcommand*\drawbaseline{\rlap{\vrule width 60pt height 0.1pt depth 0pt }}
\frac{1}{\drawbaseline2} = \frac{1}{\smash{2^X}} \neq
More information about the latex3-commits
mailing list.