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

  • Context: LaTeX 
  • Thread starter Thread starter PhizKid
  • Start date Start date
  • Tags Tags
    Image Latex
Click For Summary
SUMMARY

The discussion focuses on positioning an image in LaTeX to ensure the top of the image aligns with the top of the page, specifically below the page number. The user initially attempts to use the \includegraphics command with a specified width, which results in the image being cut off. The recommended solution is to encapsulate the image within a figure environment using the command \begin{figure}[t], which positions the image at the top of the page. Additionally, using the scale option instead of width is suggested for better control over image placement.

PREREQUISITES
  • Familiarity with LaTeX document structure
  • Understanding of the \includegraphics command from the graphicx package
  • Knowledge of figure environments in LaTeX
  • Basic concepts of vertical spacing commands in LaTeX
NEXT STEPS
  • Explore the graphicx package documentation for advanced image handling
  • Learn about LaTeX figure placement options and their effects
  • Research the use of the scale option in \includegraphics for image resizing
  • Investigate vertical spacing commands like \vspace and their applications
USEFUL FOR

LaTeX users, document designers, and anyone looking to optimize image placement in academic or professional documents.

PhizKid
Messages
477
Reaction score
2
So I just have one line for the image:

Code:
\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{50mm} and \\[50\baselineskip] before the image code, but the image doesn't move up or down at all.
 
Last edited:
Physics news on Phys.org

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 1 ·
Replies
1
Views
5K