dvips: \includegraphics

 
 5.1.2 The \includegraphics macro for LaTeX
 ------------------------------------------
 
 Once the figure file has a bounding box comment (see the previous
 section) you are ready to import the graphic into a LaTeX document.  For
 LaTeX2e, you can use the epsf, graphics or graphicx packages, but the
 last is recommended--it has the most flexible syntax, and is briefly
 described here.  Further information can be found in 'grfguide' or
 'epslatex', which should be included in your LaTeX distribution in DVI,
 PDF, or other formats.  (If you are still using LaTeX 2.09, use
 epsf.sty).
 
    Just put the following command into your preamble:
 
      \usepackage[dvips]{graphicx}
 
    Depending on your system, a suitable driver setup may already be
 present, so that LaTeX automatically produces DVI files suitable for
 Dvips.  In this case you can leave out the '[dvips]' parameter.
 
    Now, at the point you want to include a file 'foo.eps', enter a line
 such as:
 
      \includegraphics{foo.eps}
 
    However, it is usually best to omit the file extension and only use
 
      \includegraphics{foo}
 
 because then you can process the same LaTeX file with different TeX
 engines or DVI converters if you also provide suitable graphics files
 for them, e.g., 'foo.pdf' or 'foo.png'.
 
    The \includegraphics command has many options, specified in
 'key=value' syntax, to allow you to resize, rotate or trim the included
 graphic--see 'grfguide' or 'epslatex'.  If your file does not have a
 bounding box comment, you can supply the numbers as determined in the
 previous section, in the same order they would have been in a normal
 bounding box comment:
 
      \includegraphics[bb=100 100 500 500]{foo.ps}
 
 Now, save your changes and run LaTeX and Dvips; the output should have
 your graphic positioned at precisely the point you indicated, occupying
 the proper amount of space.
 
    PostScript graphics have their origin in the lower left corner.
 Therefore, in TeX, a graphic will occupy a box that extends far above
 the line where it is put in, but has depth zero below it.  Combining
 '\includegraphics' with '\parbox' commands or minipages can sometimes be
 confusing when this is not taken into account.