Positioning PostScript graphics in Plain TeX |
|
If you want to provide your own bounding box (figure size), or if the figure comes from Interleaf (see `Sizing a PostScript figure for use in TeX'), use a call something like this:
\epsfbox[10 30 150 80]{whatever.eps}
The four numbers in square brackets tell TeX to use only part of the
size of the graphic. In this example, TeX would pretend that only
the rectangle from (10,30) to (150,80) is actually used. The dimensions
are points, so the graphic would have an effective size (for TeX's
purposes) of (150-10) or 140 points wide by (80-30) or 50 points tall.
The graphic is not actually cropped to the given size, it is only shifted on the page so that the lower left corner of the bounding box coincides with the lower left corner of the area TeX reserves for it. In the example above, location (10,30) in the figure would be located at the lower left corner of the box in which TeX places the figure, but any part of the image outside the rectangle from (10,30) to (150,80) would still appear on the page.