Using the package psfig
- First of all you need to include the file psfig.tex in your
source code.
- using the comment to import a ps file:
\begin{figure}[htbp]
\psfig{figure=b.ps}
\caption{This is a PSFIG. }
\end{figure}
- The following example includes the graphs b.ps and
b_new.ps in your text.
\documentstyle[12pt]{article}
\begin{document}
Here is an example for importing graphs using the style: psfig.tex.
\begin{figure}[htbp]
\par
\centerline{\psfig{figure=b.ps}}
\par
\caption{This is a better PSFIG. }
\end{figure}
Here is another example.
\begin{figure}[htbp]
\par
\centerline{\psfig{figure=b_new.ps}}
\par
\caption{This is a better PSFIG. }
\end{figure}
\end{document}
View the example
Previous