Adding Images to LaTeX: A Quick Guide

  • Context: LaTeX 
  • Thread starter Thread starter qspeechc
  • Start date Start date
  • Tags Tags
    Latex Pictures
Click For Summary

Discussion Overview

The discussion centers around the process of inserting images into LaTeX documents, including various file formats such as JPEG and GIF. Participants explore different methods and tools for including graphics, as well as the compatibility of these formats with different LaTeX setups.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant inquires about the method to insert images in LaTeX documents, specifically mentioning JPEG and GIF formats.
  • Another participant provides a link to a resource on using the includegraphics command.
  • A participant expresses confusion regarding the compatibility of image formats, questioning whether they need to convert images to PostScript format based on the documentation they found.
  • One user describes their workflow using MikTeX, noting they can include PNG files without conversion to EPS and mentioning the inclusion of EPS files from gnuplot and Maple.
  • Another participant expresses a lack of technical understanding, indicating they primarily use computers for writing reports.
  • A similar sentiment is echoed by another participant who also mentions using MiKTeX and notes that some IDEs have a button for compiling with non-PostScript images.

Areas of Agreement / Disagreement

There is no clear consensus on the best method for including images in LaTeX, as participants express differing experiences and technical setups. Some participants agree on the use of MikTeX and the ability to include certain image formats, while others remain uncertain about the requirements for image conversion.

Contextual Notes

Participants mention various tools and workflows, indicating that the process may depend on specific LaTeX distributions and configurations. There is also uncertainty regarding the handling of non-bitmapped images and the necessity of conversion to EPS format.

Who May Find This Useful

This discussion may be useful for individuals looking to understand how to include images in LaTeX documents, particularly those using MikTeX or similar setups, as well as those who are less technically inclined and seeking straightforward guidance.

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 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
9K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K