Hi there,
On page 18 of the attached document I havea figure that appears on its own in the center of the page.
I slected position "t" but it still appears in the middle?
Please let me know how to move it to the top of P18.
Graphics, Figures & Tables ⇒ Picture not positioned properly
Picture not positioned properly
- Attachments
-
- Transfer Panel Document2.tex
- (103.81 KiB) Downloaded 351 times
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: Picture not positioned properly
This is not a minimal example! Remember that LaTeX makes a series of calculations when placing fonts. Just putting "t" does not force LaTeX to do that. Perhaps you want "t!" ( = really at the top). Even then, it still might not work if there are other floats causing problems.
Joseph Wright
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Picture not positioned properly
You should be aware of the fact that one single parameter is always overwritten by the compiler (see log file). A posteriori I would recommend [!ht].
Best regards
Thorsten
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Picture not positioned properly
note that if the figure is too big, it won't go at the top of ajosephwright wrote:This is not a minimal example! Remember that LaTeX makes a series of calculations when placing fonts. Just putting "t" does not force LaTeX to do that. Perhaps you want "t!" ( = really at the top). Even then, it still might not work if there are other floats causing problems.
page, regardless. (constraint is, picture must be at most
\topfraction * \textheight.) if the figure only has a "t"
qualifier, and can't be placed as such because of the constraint,
it will go on the list of unplaceable floats, and be placed, as a "p"
float when next a \clearpage (or equivalent, such as
\end{document}) happens.
looking at the op's example, there's the alternative possibility
that a preceding float has been deemed unplaceable. if a figure
is unplaceable, no other figure will be placed until the stuck one
is (typically at \clearpage or...).
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=floats
gives a recipe for avoiding this sort of problem, but there's
more i need to do in that area (the actual meaning of all the
parameters would help). in particular, i want to explain what
"!" does (and more importantly, doesn't) do; and _that_ will
involve me re-reading the latex output routine, which is
indigestible at best. (it contains lots of comments, of the
form "lots changed here". left to myself, i would delete all
of those...)