Generalfloat in between sections

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
waxranger
Posts: 27
Joined: Tue Jan 22, 2008 11:58 pm

float in between sections

Post by waxranger »

Hello folks

I'm writing some labreports and some sections contain only few text with sometimes floating figure environments. does latex take the right to place figures in other sections, even if the figure environment is set in another section? is that because of the floating parameter? in my case I use [!htb]

I tried to set no float parameters but the result is the same. how can I prevent latex doing so?

thanks for taking the time
Fab

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

float in between sections

Post by Stefan Kottwitz »

Hi Fab,

you could use the placeins package:

Code: Select all

\usepackage[section]{placeins}
Stefan
LaTeX.org admin
waxranger
Posts: 27
Joined: Tue Jan 22, 2008 11:58 pm

float in between sections

Post by waxranger »

Stefan_K wrote:Hi Fab,

you could use the placeins package:

Code: Select all

\usepackage[section]{placeins}
Stefan
thank you! much appreciated!

I have to dig deeper in ctan! can you recommend some other catalogue to find such particular packages?

best regards
Fab
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

float in between sections

Post by Stefan Kottwitz »

Hi Fab,

yes: The TeX Catalogue Online.

It has a very useful topical index where you can find packages related to certain topics, a brief and an alphabetical index.

Stefan
LaTeX.org admin
waxranger
Posts: 27
Joined: Tue Jan 22, 2008 11:58 pm

Re: float in between sections

Post by waxranger »

fantastic!

thank you
Post Reply