LaTeX Adding Images to LaTeX: A Quick Guide

  • Thread starter Thread starter qspeechc
  • Start date Start date
  • Tags Tags
    Latex Pictures
AI Thread Summary
To insert images into a LaTeX document, users can utilize the \includegraphics command from the graphicx package. While some users are accustomed to converting images to PostScript format, it is possible to include non-PostScript formats like PNG and JPEG directly in certain setups, particularly with pdflatex. Users employing MikTeX can include PNG files without conversion, and EPS files generated from tools like gnuplot or Maple are also compatible. However, non-bitmapped images may require conversion to EPS for proper handling. Some IDEs, like WinEdt, provide a pdflatex button that simplifies the process of compiling documents with non-PostScript images. Overall, understanding the specific capabilities of one's LaTeX setup is crucial for successfully including images.
qspeechc
Messages
839
Reaction score
15
Hello everyone. How do you insert pictures into a LaTeX document? Say I have a jpeg, gif, or whatever, file, and I want the image to show up in my document, how do I insert it? Thanks.
 
Physics news on Phys.org
Wow, thanks, I never knew that.


Looking at this site: http://amath.colorado.edu/documentation/LaTeX/reference/figures.html#pdf
under "Only non-PostScript images", it only talks about Unix and Macintosh.

Does that mean then I must use the first option "Only PostScript images", and convert the files (.jpg,.gif etc) to postscript files?

Can you directly get the graphics output from Matlab and gnuplot into a latex file? How?

Thanks again for tolerating my stupid questions.
 
I use MikTeX... and I use latex, then dvips, then ghostscript (ps2pdf?) to get a .pdf file.
I don't use pdflatex.

With my setup, I routinely include .png files... without any conversion to .eps.
I also include .eps files produced by gnuplot and by Maple.

The URL you gave suggests that you can include .png and .jpg, as well as .eps.
It does also suggest that any non-bitmapped images (e.g. non-.eps vector graphics or some other layered-format) be converted to .eps first... i.e. don't expect that those other formats will be handled corectly by your latex setup,
 
ok, i have no idea what you just said, I am not a computer guy, I just use them to write reports. I also use MiKTeX btw.
 
qspeechc said:
ok, i have no idea what you just said, I am not a computer guy, I just use them to write reports. I also use MiKTeX btw.

some ide's such as winedt or others have the Button " pdflatex " in the toolbar which could compile the tex file whth non-PostScript images.
 

Similar threads

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