Importing a figure
John C Frain
frainj at gmail.com
Wed Sep 25 19:24:46 CEST 2019
If you are using the standard pdflatex program to produce your pdf output
you will need to do something extra to import epd figures. The graphicx
package and pdflatex only support pdf, jpg and png formats. There should be
no problems including jpg files in your document using the graphicx
package, figure environment, and the includegraphics command.
to include eps files in this scheme you can use the epstopdf program
(included in your tex distribution) to convert your eps file to pdf or
include the epstopdf package in your preamble. When this is included in
the preamble and the pdflatex program encounters an eps file and no
corresponding pdf it generates the pdf and includes it in your document,
If you amend the eps file you must delete the generated pdf file as
otherwise it will not be regenerated.
Chapter 7 of my LaTeX notes contains more details (
John C Frain
3 Aranleigh Park
mailto:frainj at tcd.ie
mailto:frainj at gmail.com
On Wed, 25 Sep 2019 at 14:36, Trevor Marshall via texhax <texhax at tug.org>
> Please can anyone tell me how to import a figure, say as a eps or jpg
> file generated by OCTAVE or MATLAB?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the texhax