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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10358
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