Graphics, Figures & Tablestable placement

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
silentboom
Posts: 11
Joined: Thu Sep 03, 2009 11:02 am

table placement

Post by silentboom »

Hello everyone!

I have got a placement problem, that realy annoys me.
I have two different subsections. The first one contains a table.
How can I achieve that the table is placed before the caption of the second subsection?


subsection[
...
...
[table]
]

subsection[
...
...
]

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

table placement

Post by Stefan Kottwitz »

Hi,

use positioning parameters to allow more possibilities for the placement of the table, like

Code: Select all

\begin{table}[!htbp]
...
\end{table}
or use \clearpage to force the output of the table.
Alternatively you could load the package placeins and use its command \FloatBarrier.

Perhaps see Prevent floating of figures or tables for more solutions.

Stefan
LaTeX.org admin
silentboom
Posts: 11
Joined: Thu Sep 03, 2009 11:02 am

Re: table placement

Post by silentboom »

Thanks! Solved it with \FloatBarrier, since I don't want to start a new page. [h] or [!h] or [!htbp] didn't work.

Have a nice day.
Post Reply