[latex3-commits] [latex2e-public] r1513 - force overfull box warning on (more) overfull boxes

noreply at latex-project.org noreply at latex-project.org
Thu Sep 7 22:44:46 CEST 2017


Author: carlisle
Date: 2017-09-07 22:44:46 +0200 (Thu, 07 Sep 2017)
New Revision: 1513

Modified:
   trunk/required/amsmath/README.txt
   trunk/required/amsmath/amsmath.dtx
Log:
force overfull box warning on (more) overfull boxes

Modified: trunk/required/amsmath/README.txt
===================================================================
--- trunk/required/amsmath/README.txt	2017-09-02 21:42:55 UTC (rev 1512)
+++ trunk/required/amsmath/README.txt	2017-09-07 20:44:46 UTC (rev 1513)
@@ -90,9 +90,12 @@
 ========================================================================
 IV. REMARKS ON THIS RELEASE
 
-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
+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
 

Modified: trunk/required/amsmath/amsmath.dtx
===================================================================
--- trunk/required/amsmath/amsmath.dtx	2017-09-02 21:42:55 UTC (rev 1512)
+++ trunk/required/amsmath/amsmath.dtx	2017-09-07 20:44:46 UTC (rev 1513)
@@ -3342,6 +3342,7 @@
 % \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
@@ -3354,7 +3355,7 @@
             \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
     }%



More information about the latex3-commits mailing list