在 SIAM 模板中插入图形

在 SIAM 模板中插入图形

我查看了 SIAM 模板示例,以了解如何插入图形。在此模板中,它编码:

\begin{figure}[ht]
\vspace{2.5in}
\caption{{\rm Log}$_{10}$ of the residual norm versus the number of
{\rm GMRES$(m)$} iterations for the finite difference methods.}
\label{diff}
\end{figure}

但是,它似乎从未指示要上传图像的特定文件。很久以前,我以 IEEE SIGS 会议论文集格式写了一篇论文,其中使用了类似于以下命令:

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

在 \begin{figure}...\end{figure} 块内。我尝试在我的 AMS 论文中使用它,但它会产生未定义的控制序列错误。从本地文件插入图形的适当命令是什么?

更新: 抱歉,我之前错误地说该模板来自 AMS,但实际上它来自 SIAM。

答案1

你要

\usepackage{graphicx}

...

\includegraphics[options]{myfile}

一份详细的手册在 LATEX 和 pdfLATEX 中使用导入的图形是免费提供的。

相关内容