|
|
|||
![]() |
Department of Engineering |
| University of Cambridge > Engineering Department > computing help |
\documentclass{article}
\usepackage{graphicx}
then include the postscript file using the following commands
\begin{figure}[htbp]
\includegraphics{yourfile.eps}
\end{figure}
LATEX can cope with compressed postscript files too, but since latex can't read the BoundingBox line from the compressed file, you need to provide it. If your compressed file's called yourfile.ps.gz, copy the BoundingBox line into a file called yourfile.ps.bb. Then the following works
\begin{figure}[htbp]
\includegraphics{yourfile.ps.gz}
\end{figure}
Just about all of the following facilities use postscript. You'll need to run latex to generate `foo.dvi', then run dvips -o foo.ps foo.dvi to convert the resulting DVI/postscript file to pure postscript. This will produce a file that can be previewed with ghostview or gs.
| | computing help | |