[latex3-commits] [git/LaTeX3-latex3-latex2e] gh682: removed some of the worse overfull hboxes in documentation (26d7702b)

Frank Mittelbach frank.mittelbach at latex-project.org
Mon Oct 4 09:55:17 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh682
Link       : https://github.com/latex3/latex2e/commit/26d7702bb98c2e19039b7af18fc116d14dac142b

>---------------------------------------------------------------

commit 26d7702bb98c2e19039b7af18fc116d14dac142b
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Mon Oct 4 09:55:17 2021 +0200

    removed some of the worse overfull hboxes in documentation


>---------------------------------------------------------------

26d7702bb98c2e19039b7af18fc116d14dac142b
 required/tools/multicol.dtx | 60 +++++++++++++++++++++++++++++----------------
 1 file changed, 39 insertions(+), 21 deletions(-)

diff --git a/required/tools/multicol.dtx b/required/tools/multicol.dtx
index 25d4bc68..bc306073 100644
--- a/required/tools/multicol.dtx
+++ b/required/tools/multicol.dtx
@@ -98,7 +98,7 @@
 %<driver> \ProvidesFile{multicol.drv}
 % \fi
 %         \ProvidesFile{multicol.dtx}
-          [2021/07/06 v1.8z  multicolumn formatting (FMi)]
+          [2021/10/02 v1.8z  multicolumn formatting (FMi)]
 %
 %
 %%
@@ -981,7 +981,8 @@
 % \changes{v1.8x}{2019/10/15}{Use \cs{@maxdepth} not \cs{maxdepth} (gh/190)}
 %    \begin{macrocode}
 \let\mc at gridwarn\maxdimen
-\DeclareOption{grid}{\def\mc at gridwarn{\@maxdepth}}
+\DeclareOption{grid}
+    {\def\mc at gridwarn{\@maxdepth}}
 %    \end{macrocode}
 %
 % \changes{v1.8e}{2014/04/23}{Support \cs{docolaction}}
@@ -1071,7 +1072,8 @@
 % \changes{v1.6e}{2004/02/14}{Avoid self-referencing definition of
 %    \cs{@footnotetext} (pr/3618)}.
 %    \begin{macrocode}
-     \ifx\@footnotetext\mult at footnotetext\else
+     \ifx\@footnotetext\mult at footnotetext
+     \else
        \let\orig at footnotetext\@footnotetext
        \let\@footnotetext\mult at footnotetext
      \fi
@@ -1512,10 +1514,13 @@
    \def\clearpage{%
      \ifx\@deferlist\@empty\else
        \PackageError{multicol}%
-          {Deferred floats not cleared}%
-          {A \string\clearpage\space inside multicols acts like
-           \string\newpage\space and doesn't clear floats.\MessageBreak
-           Move it before the multicols environment if you need it.}%
+        {Deferred floats not cleared}%
+        {A \string\clearpage\space inside
+         multicols acts like
+         \string\newpage\space and doesn't
+         clear floats.\MessageBreak
+         Move it before the multicols
+         environment if you need it.}%
      \fi
     \newpage}%
 %    \end{macrocode}
@@ -1701,7 +1706,8 @@
 %   for later.
 % \changes{v1.8r}{2018/01/28}{Macro added}
 %    \begin{macrocode}
-\mathchardef\@Mvi=10006  % 10005 is \columnbreak
+\mathchardef\@Mvi=10006  % 10005 is
+                         % \columnbreak
 %    \end{macrocode}
 %  \end{macro}
 %
@@ -1724,7 +1730,8 @@
 % \changes{v1.8c}{2013/11/03}{Add \cs{color at endgroup} to prevent color leak}
 % \changes{v1.8f}{2014/06/19}{Discard spaces before adding \cs{color at endgroup}}
 %    \begin{macrocode}
-    \remove at discardable@items\color at endgroup\egroup
+    \remove at discardable@items
+    \color at endgroup\egroup
 %    \end{macrocode}
 %    Now we call |\balance at columns| the routine that balances material
 %    stored in the box |\mult at box|.
@@ -1754,7 +1761,7 @@
       {Restore kept marks to\MessageBreak
        first: \meaning\kept at firstmark
        \MessageBreak bot\space\space:
-                     \meaning\kept at botmark }%
+              \meaning\kept at botmark }%
 %</marktrace>
 %    \end{macrocode}
 %    This finishes the code for the ``boxed'' case.
@@ -2203,7 +2210,7 @@
 % \changes{v1.8x}{2019/10/15}{Use \cs{@maxdepth} not \cs{maxdepth} (gh/190)}
 %    \begin{macrocode}
 \def\vfilmaxdepth{\vskip \z@ \@plus .0001fil
-                           \@minus \@maxdepth}
+                         \@minus \@maxdepth}
 %    \end{macrocode}
 % \end{macro}
 %
@@ -2335,7 +2342,8 @@
             \setbox\count@
                  \vbox to\dimen@
                   {\unvbox\count@
-                   \ifshr at nking\vfilmaxdepth\fi}%
+                   \ifshr at nking
+                    \vfilmaxdepth\fi}%
            }%
 %    \end{macrocode}
 %    Then the last column follows.
@@ -2615,7 +2623,8 @@
 % \changes{v1.8r}{2018/01/28}{Handling end of env through special penalty}
 %    \begin{macrocode}
        \ifnum\outputpenalty = -\@Mvi
-         \mult at info\@ne{End penalty of multicols seen}%
+         \mult at info\@ne{End penalty of
+                        multicols seen}%
 %    \end{macrocode}
 %    If we are at this point then we have to run the balancing code
 %    (which was previously its own output routine). First we pretend
@@ -2626,7 +2635,9 @@
 %    in a better way; basically it is like this, because of the older
 %    code was using different ORs and I simply reused most of it.
 %    \begin{macrocode}
-         \outputpenalty\@M   % pretend we had a natural forced break
+         \outputpenalty\@M % pretend we had
+                           % a natural
+                           % forced break
          \balance at columns@out
        \else
 %    \end{macrocode}
@@ -2647,7 +2658,8 @@
 %    this is possible with |\xdef|.)
 % \changes{v1.2a}{1990/02/05}{Float boxes freed.}
 %    \begin{macrocode}
-        \xdef\@freelist{\@freelist\@currlist}%
+        \xdef\@freelist{\@freelist
+                        \@currlist}%
         \gdef\@currlist{}%
       \fi
     \fi
@@ -2822,8 +2834,9 @@
 %    |\enlargethispage| command.
 % \changes{v1.8a}{2011/12/20}{Support for \cs{enlargethispage}}
 %    \begin{macrocode}
-     \ifvbox\@kludgeins\insert\@kludgeins
-                        {\unvbox\@kludgeins}\fi
+     \ifvbox\@kludgeins
+        \insert\@kludgeins
+               {\unvbox\@kludgeins}\fi
 %    \end{macrocode}
 %    Then we |\unvbox| the |\partial at page| (which may be void if we
 %    are not processing the first page of this \mc{} environment.
@@ -2833,7 +2846,8 @@
 %    Then we return the first and bottom mark and the gathered
 %    material to the main vertical list.
 %    \begin{macrocode}
-     \return at nonemptymark{first}\kept at firstmark
+     \return at nonemptymark{first}%
+                         \kept at firstmark
      \return at nonemptymark{bot}\kept at botmark
      \page at sofar
 %    \end{macrocode}
@@ -2960,12 +2974,14 @@
 % \changes{v1.8w}{2019/03/01}{Provide minrows counter for balancing}
 %    \begin{macrocode}
    \@tempdima\dimexpr
-       \topskip +\c at minrows\baselineskip-\baselineskip\relax
+      \topskip +\c at minrows\baselineskip
+               -\baselineskip\relax
    \ifnum\dimen@<\@tempdima
      \mult at info\@ne
        {Start value
           \the\dimen@  \space ->
-          \the\@tempdima \space (corrected for minrows)}%
+          \the\@tempdima \space
+          (corrected for minrows)}%
      \dimen@\@tempdima
    \fi
 %    \end{macrocode}
@@ -3466,7 +3482,9 @@
 %    directly at the values of the allocation counters.
 % \changes{v1.8y}{2019/12/09}{Allow for 20 columns (gh/237)}
 %    \begin{macrocode}
-\ifnum\numexpr \count20-\count14-1<41   % = 2 * 20 + 1
+\ifnum\numexpr
+        \count20-\count14-1<41
+        % this is = 2 * 20 + 1
   \count14=\@cclv
 \fi
 %    \end{macrocode}





More information about the latex3-commits mailing list.