为什么我的桌子分散了?

为什么我的桌子分散了?

我的表格分散在一页上,使用tfor 放置不起作用。我该怎么办?我试过了\raggedbottom,但不起作用。

梅威瑟:

\usepackage{array}
\usepackage{booktabs}
\usepackage{placeins}
\begin{document}
Blah blah blah.
\FloatBarrier
\newpage %Here the pages with tables begins.
\begin{table}[b]
... Tabular Blah Blah ...
\end{table}
\begin{table}[b]
... Tabular Blah Blah ...
\end{table} % Lots of the tables
\FloatBarrier
\newpage %Following this page is something that's not tables.
Blah blah blah.

提前致谢!

答案1

为了保证两个tabular环境的排版紧密结合,只需使用单一table环境。

在此处输入图片描述

请注意,table页面上的浮动元素默认会垂直居中。


\documentclass{article}

\begin{document}

Some blah blah blah.

\clearpage % force page break and flush the float stack

\begin{table}
\centering
... tabular bla bla ...
\caption{bla bla}

\vspace{2cm} % set the amount of vertical whitespace separation
... tabular ble ble ...
\caption{ble ble}
\end{table} 

\clearpage % force another page brea and flush the float stack

More blah blah blah.

\end{document}

相关内容