Graphics, Figures & Tables ⇒ Put Float on Page where referenced or earlier
-
- Posts: 156
- Joined: Sat Jan 22, 2011 9:55 pm
Put Float on Page where referenced or earlier
In the epslatex document (p. 58, #3) I see that a float is always placed on the page where it is referenced, or a following page. I hate that. When I'm reading something, I like pictures to appear on the same page or on an earlier page, so I don't have to go searching for them.
Is there any (easy, non-time consuming) way to get floats to appear on the page where it's referenced or earlier?
Thanks.
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Put Float on Page where referenced or earlier
Regarding float placement some additional remarks. Due to the fact the typesetting with LaTeX is a linear process, floating environment can never appear before they are declared in the source. To minimize the "distance" between declaration in the source and appearance in the output you should start with appropriate placement parameters for floats.
Code: Select all
\begin{figure}[!ht]
% figure content
\end{figure}
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10