General ⇒ How to force placing the figure in the given section?
How to force placing the figure in the given section?
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: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to force placing the figure in the given section?
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: How to force placing the figure in the given section?
I am going to test why placeins does not work.
Thank you both for replies to my question. Marek.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to force placing the figure in the given section?
The \clear(double)page command forces the output of all float environments defined up to this point.Marek wrote:[...] But the ...{figure}[!ht] fully suffices to solve my problem though I have probably not understood the meaning of \clearpage (in Thorsten advice) and simply I did not use it. [...]
The package defines the \FloatBarrier command which restricts the floating of these environments. Refer to the package documentation to learn more.Marek wrote:[...] I am going to test why placeins does not work. [...]
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10