Graphics, Figures & TablesHow do I put the top of an image at the top of a page

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
PhizKid
Posts: 2
Joined: Fri Nov 23, 2012 4:01 pm

How do I put the top of an image at the top of a page

Post by PhizKid »

So I just have one line for the image:

Code: Select all

\includegraphics[width=10mm]{C:/Users/PhizKid/Desktop/image1.png}\\
And then some text to explain the image below it.

But when I try to print it out, approximately top half of the image is cut off and it runs off the top of the page.

How do I move the image down so that the top of the image is at the top of the page, but below the page number at the top of the page (where the text usually starts if you begin to type in a new page)?

I tried using \vspace and \\[50\baselineskip] before the image code, but the image doesn't move up or down at all.
Last edited by cgnieder on Fri Nov 23, 2012 4:45 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

How do I put the top of an image at the top of a page

Post by cgnieder »

Welcome to the LaTeX community!

Information for potential helpers: this question has also been asked on TeX.sx.

Our board rules state (emphasis by me):
A crossposting is always contra-productive. But there is nothing really against it as long as it is mentioned. This means that a direct link has to be added. So other users who want to help are preserved from double efforts and waste of time.
Regards
site moderator & package author
PhizKid
Posts: 2
Joined: Fri Nov 23, 2012 4:01 pm

Re: How do I put the top of an image at the top of a page

Post by PhizKid »

Oh, apologies
Post Reply