next up previous contents index
Next: Using plt with pdfLATEX Up: Preparing Printed Output Previous: Margins, cropping, and bounding boxes


Processing, previewing and printing

LATEX documents with included plt figures can be processed, previewed, and printed without special treatment. Typically, your LATEX source file has a name of the form myfile.tex, and you use latex to produce a .dvi file:

latex myfile

Once you have a .dvi file, you can view it with xdvi, as in:

xdvi myfile
Recent versions of xdvi include a View PS button that toggles display of included PostScript figures. Note that some older versions of xdvi are not able to display rotated or anisotropically scaled plots.

Use dvips to create a printable PostScript file from the .dvi file:

dvips myfile

The PostScript file generated by dvips can be previewed using gv (under MS-Windows, GSView) or printed directly using lpr:

gv myfile.ps
lpr myfile.ps


next up previous contents index
Next: Using plt with pdfLATEX Up: Preparing Printed Output Previous: Margins, cropping, and bounding boxes
George B. Moody (george@mit.edu)
2005-04-26