Graphics, Figures & TablesLast Image/Figure centers on last page?

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
ruffles
Posts: 2
Joined: Thu Oct 22, 2009 1:08 pm

Last Image/Figure centers on last page?

Post by ruffles »

Hi Guys,

Sorry for coming straight in here with a question however I really can't find an answer to this anywhere.

Every time I have a document with images the last image wants to centre its self vertically on the last page. In all cases it should be on the last page as it happened to work out that way but I want it at the TOP of the page not in the middle.

I have tried [T!] and every other combination of permissions on the figure but LATEX keeps wanting to place the image in the centre. I assume this is because it the only thing on the page but still not what i want.

Can anyone give me an insight as to why this is happening and how to get around this.

Thanks

Russell

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

Last Image/Figure centers on last page?

Post by Stefan Kottwitz »

Hi Russell,

welcome to the board!
Try this in your preamble:

Code: Select all

\makeatletter
\setlength{\@fptop}{0pt}
\makeatother
Perhaps adjust the value 0pt if the figure would bee too high, you could set 5pt etc.

Stefan
LaTeX.org admin
ruffles
Posts: 2
Joined: Thu Oct 22, 2009 1:08 pm

Re: Last Image/Figure centers on last page?

Post by ruffles »

Thank you very much Stefan,

That worked perfectly and has solved my problem. I have been reading and trying to understand how that works and I think I will manage to.

Thanks Again

Russell
Post Reply