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

Sizing a PostScript figure for use in LaTeX

Tech Computer Center logo

Before you insert your PostScript artwork into a 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 must specify the size of the figure explicitly; this will be explained in the next section.

Next: Encoding PostScript images in LaTeX
See also: Including PostScript images in LaTeX
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/latexsize.html