New York University
NYU
PHYSICS
DEPARTMENT
PEOPLE
RESEARCH
EVENTS
COURSES
RESOURCES
Graduate School of Arts and Science
GSAS
College of Arts and Science
CAS

How to include EPS figures in LaTeX/TeX documents

P H Y S I C S

  1. If you use LaTeX, put following line in preamble.
    \usepackage{epsfig}      
    
    If you use TeX, put following line before you include the figures.
    \input epsf 
    
  2. At the place where you want to include the figure, add
    \epsfxsize=5in   
    
    to set the width of your figure (here I use 5in), or
    \epsfysize=5in
    
    to set the height of your figure (here I use 5in), then use
    \epsfbox{fig1.eps}      
    
    to include your EPS figure file (here I use fig1.eps).

Note: If you transfer (email) the document to another place, please include all the EPS files with the LaTeX/TeX source, otherwise, transfer the final PS file. The DVI file does not include all the figures.


Revised: Fri Sep 22 20:29:40 2000
webmaster@physics.nyu.edu
© 1999 Physics Department, New York University. All rights reserved.