失控的论点?

失控的论点?

这是最小示例。它给出错误 Runaway Argument?

{\includegraphics [width=3in]{readavail13.jpg} \label {最差法定人数 S\ETC。!扫描 \sf@@@subfloat 的使用时文件结束。 \par

\documentclass[final,leqno,onefignum,onetabnum]{siamltex1213}
\usepackage{amsmath}
\usepackage{subfig}
\title{USING SIAM'S \LaTeX\ MACROS\thanks{This work was
supported by the Society for Industrial and Applied
Mathematics}}
\begin{document}
\maketitle
\section{example}
\begin{figure}[H]
\subfloat[Read Availability (13 copies)]{\includegraphics[width=3in]{readavail13.jpg}
\label{Worst Quorum Size}
\hfil
\subfloat[Read Availability (40 copies)]{\includegraphics[width=3in]{readavail40.jpg}
\label{Optimal Quorum Size}
\caption{Read Availability}
\label{ra}
\end{figure}
\end{document} 

siamlatex1213.cls文件可以在以下位置找到http://www.siam.org/journals/auth-info.php

答案1

\PassOptionsToPackage{demo}{graphicx}%% DELETE it
\documentclass[final,leqno,onefignum,onetabnum]{siamltex1213}
\usepackage{amsmath}
\usepackage{subfig}
\title{USING SIAM'S \LaTeX\ MACROS\thanks{This work was
supported by the Society for Industrial and Applied
Mathematics}}
\begin{document}
\maketitle
\section{example}
\begin{figure}[!htb]
\subfloat[Read Availability (13 copies)]{\includegraphics[width=3in]{readavail13.jpg}}
\label{Worst Quorum Size}
\hfill
\subfloat[Read Availability (40 copies)]{\includegraphics[width=3in]{readavail40.jpg}}
\label{Optimal Quorum Size}
\caption{Read Availability}
\label{ra}
\end{figure}
\end{document} 

但是,仅当我删除类文件中的dvipsand选项时,此示例才会运行。默认情况下,它需要-> -> 。并且此路由不允许 jpg 图像。pdfmarklatexdvipsps2pdf

在此处输入图片描述

相关内容