Skip to content

Commit 159da8e

Browse files
committed
[tables] Avoid whitespace around float placement by disallowing float pages
This is particularly noticeable for Table 1 (basic character set).
1 parent 508c4f9 commit 159da8e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

source/lib-intro.tex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1850,7 +1850,6 @@
18501850
\tcode{<} is a strict weak ordering relation\iref{alg.sorting} \\
18511851
\end{oldconcepttable}
18521852

1853-
\enlargethispage{-3\baselineskip}
18541853
\begin{oldconcepttable}{DefaultConstructible}{}{cpp17.defaultconstructible}
18551854
{x{2.15in}p{3in}}
18561855
\topline

source/tables.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
% by LaTeX.
8686
\newenvironment{floattable}[3]
8787
{
88-
\begin{floattablebase}{#1}{#2}{#3}{htbp}
88+
\begin{floattablebase}{#1}{#2}{#3}{htb}
8989
}
9090
{
9191
\end{floattablebase}
@@ -124,7 +124,7 @@
124124
% by vertical lines. Used in the "Alternative tokens" table.
125125
\newenvironment{tokentable}[4]
126126
{
127-
\begin{floattablebase}{#1}{#2}{cc|cc|cc}{htbp}
127+
\begin{floattablebase}{#1}{#2}{cc|cc|cc}{htb}
128128
\topline
129129
\hdstyle{#3} & \hdstyle{#4} &
130130
\hdstyle{#3} & \hdstyle{#4} &

0 commit comments

Comments
 (0)