LaTeX Inserting a picture into a latex document

  • Thread starter Thread starter jimmycricket
  • Start date Start date
  • Tags Tags
    Latex Picture
AI Thread Summary
Inserting images into LaTeX documents can lead to issues, particularly for beginners. A user reported an unexpected caption appearing next to an image when using pdftexify with the command \includegraphics[scale=2]{riemann sphere.jpg}. The discussion emphasizes the importance of including the graphicx package to properly handle JPEG images, as LaTeX typically supports only PS and EPS formats without it. To troubleshoot effectively, providing a complete .tex file is essential, as it allows others to identify the specific problem, especially since the nature of the unwanted caption was not clarified.
jimmycricket
Messages
115
Reaction score
2
I am trying to insert a picture into a document I am writing up but when I use pdftexify there seems to be a caption next to the image that I cannot remove. I am using winedt and am very new to Latex so bear that in mind. This is the operation I used:
\includegraphics[scale=2]{riemann sphere.jpg}
 
Physics news on Phys.org
Can you attach the .tex file for a complete (short) document that doesn't work properly? i.e something like
Code:
\documentclass{...}
\usepackage{...}
\begin{document}
\includegraphics[scale=2]{riemann sphere.jpg} 
\end{document}
Without that, we are guessing what the problem is - especially since you didn't tell us what the "caption" says.
 
You need the graphicx package for jpg images. I think without it, latex only accepts ps and eps?
Code:
\usepackage{graphicx}
 

Similar threads

Replies
3
Views
3K
Replies
2
Views
3K
Replies
3
Views
2K
Replies
5
Views
3K
Replies
7
Views
4K
Replies
2
Views
5K
Back
Top