I have a non-EPS PostScript file which I wish to include in my document. What do I need to do to fool LaTeX into thinking it is an Encapsulated PostScript (EPS) file?
Frequently, all that is necessary is to insert an appropriate bounding box comment near the beginning of the PostScript file. LaTeX uses the BoundingBox to determine the size and location of the figure on the page. The BoundingBox line consists of four consecutive numbers specifying the lower left corner and upper right corner of the figure on the page. You can use Ghostview to obtain these numbers for a figure by placing the cursor in each corner and noting the coordinate Ghostview gives. Then, insert a comment line near the top of the PostScript file (after the Creator comment or Pages comment, for example), which looks like: %%BoundingBox: LLX LLY URX URY where LLX, LLY, URX, and URY are the coordinates. Chances are good that this is all that is necessary to include the figure in a LaTeX document. You can check your work by reloading your figure in Ghostview. Ghostview should scale its viewing window such that only the bounding box area is shown (which should be your figure with ver
Related Questions
- I have a non-EPS PostScript file which I wish to include in my document. What do I need to do to fool LaTeX into thinking it is an Encapsulated PostScript (EPS) file?
- How do I include an encapsulated PostScript file from NCL in a LaTex document?
- How do I create a postscript file of my LaTeX document under UNIX?