attach consultThe . is important, and tells cp to copy the files to the current working directory.
cp /mit/consult/lib/tex/macros/ps*.sty .
\documentstyle[]{report}change it to:
\documentstyle[psbox]{report}
\PSbox{/mit/username/filename.PS}{1.7in}{0.25in}Where the first argument is the filename of the postscript file, the second is the width of the graphic, and the third argument is the height of the graphic. The dimensions can be specified in any format that LaTeX accepts. So, for example, a dimension such as 4cm will also work.
This PSbox can be centered, included in a figure, or anything else you want!
b) If you were unfortunate enough as to be unable to get the graphic in the lower-left-hand corner, all is not lost. However, you will need to do a bit more work. Take the distance from the left-hand side of the page (which you measured in inches, right?) and multiply by -72. Call this number the $hoffset. Take the distance form the bottom of the page to the bottom of the graphic (also measured inches), multiply it by -72, and call it the $voffset. Then the PSbox command should be modified to be:
\PSbox{/mit/username/filename hoffset=$hoffset voffset=$voffset}{$width}{$length}For example, to include a file which is 4 inches high and 5 inches wide, which is located 3 inches from the bottom of the page and 2 inches from the left side of the page, the PSbox would be:
\PSbox{/mit/username/filename.PS hoffset=-144 voffset=-216}{5in}{4in}
\PSbox{/mit/username/filename.PS hscale=0.5 vscale=0.5}{2.5in}{2in}(with the dimensions being the size of the figure once it has been scaled to half size in each direction). Note that it's possible to shrink your figure in one direction and not the other; in most cases, though, you want to scale it equally both horizontally and vertically.
Another note: these scale values are for use with dvi2ps ONLY. See the stock answer on How to use dvips, if you are using dvips instead.
If you want to preview where the postscript image will appear using xdvi, you can change the psbox in your documentstyle line to be psframe.
Assuming that you have specified the arguments to \PSbox correctly, this will result in a box being drawn around the area where the postscript image will appear. However, when you print your latex document, the box will appear on the printed output as well. You will need to change the psframe back to psbox and re-latex your file to make the box go away when you want to print your final copy.
If you have troubles when you use the above procedures and things do not print well, try using the dvips program instead of dvi2ps. dvips is a newer .dvi to PostScript converter that has better support for PostScript inserts. To find out more information about it, type:
add sipbTo run it, type:
man dvips
add sipbYou are STRONGLY advised, however, to read the man page and/or the stock answer on it first, as the syntax between the two programs is VERY different. The stock answer What is DVIPS? can be found in the LaTeX submenu.
dvips -Pprinter filename.dvi