Next / Previous / Index / TCC Help System / Publications / Site map / NM Tech homepage

Sizing a PostScript figure for use in TeX

Tech Computer Center logo

Before you insert your PostScript artwork into a TeX or LaTeX document, you should find out its natural size.

  1. You can use a text editor to look at the PostScript file to find the figure's size. Look for a line that looks similar to this:
                    %%BoundingBox: 0 0 360 72
    The numbers are given in ``big points'' (1/72" units), so the example would be 360/72 = 5 inches wide by 72/72 = 1 inch high.
  2. If your PostScript file comes from Interleaf, there may be two %%BoundingBox lines, one at the beginning of the file and another at the end. In this case, the one at the beginning looks like this:
                    %%BoundingBox: (atend)
    and the one near the end of the file has the actual size in it. If this is how your file looks, you cannot use the ``natural size'' option in the \epsfbox macro.

Next: Encoding PostScript graphics in Plain TeX
See also: Including PostScript images in Plain TeX
Site map
Index: Keyword index to help pages
Help: New Mexico Tech Computer Center: Help System
TCC Publications
Home: About New Mexico Tech

John Shipman, john@nmt.edu

Last updated: 1995/12/19 00:39:07 UT
URL: http://www.nmt.edu/tcc/help/dtp/tex/epssize.html