# [texhax] (no subject)

Robin Fairbairns Robin.Fairbairns at cl.cam.ac.uk
Fri Jun 6 01:01:31 CEST 2003

> Thanks to Phill that answered a part of my question.
> what is the command any way? where should it go? I know the follwing command
> should work :
> \begin{figure}
> \subfigure[A graphic]{\epsfig{file=graphic.eps,width=2in}}
> \subfigure[A second graphic]{\epsfig{file=nextgraphic.eps,width=2in}}
> \label{figure:twographics}
> \caption{Two examples of graphics}
> \end{figure}
>
> but it gives back an error message to me like undefined control sequence
> <argument>{\epsfig}.....
> Any body knows how to solve the problem...?

well, a good start would be to define the command \epsfig.

or better still, switch to the standard graphicx package command
\includegraphics

so:

\usepackage{graphicx}
....

\subfigure[A graphic]{\includegraphics[width=2in]{graphic.eps}}
....