TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I looked at a SIAM template example to understand how to insert a figure. In this template, it codes:

\caption{{\rm Log}$_{10}$ of the residual norm versus the number of
{\rm GMRES$(m)$} iterations for the finite difference methods.}

However, it never seems to indicate a specific file to upload the image. A long time ago, i wrote a paper in the IEEE SIGS conference proceedings format, which used a command akin to:

\psfig{file=network_model.eps, height=2in, width=2in,}

inside the \begin{figure}...\end{figure} block. I tried using it in my AMS paper, but it produces an undefined control sequence error. What is the appropriate command to insert the figure from a local file?

UPDATE: Sorry, I erroneously stated earlier that the template was from AMS, when it was truly from SIAM.

share|improve this question
up vote 2 down vote accepted

You want




A detailed manual called Using Imported Graphics in LATEX and pdfLATEX is freely available.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.