Graphics, Figures & Tables ⇒ Keep Figure in Section
Keep Figure in Section
in my text i have several "floating figure" i like this method but i don't know how i can impose to this figures to stay in the current section ... ?
of course, \clearpage works but i don't want to skip a page: i just want to keep all the images in its section without clearpage.
can you help me please ?
ps: sorry for my english...
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
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Keep Figure in Section
you could use the placeins package:
Code: Select all
\usepackage[section]{placeins}
Stefan
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Keep Figure in Section
Code: Select all
\begin{figure}[!ht]
% figure content
\end{figure}
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Keep Figure in Section
i will try this things
see you later
