1

Below given example gives this error. ! SIAM Label Error: There were multiply-defined labels. Correct multiply-defined labels.

\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}


\begin{figure}[H]
\subfloat[Write Availability (13 copies)]{\includegraphics[width=3in]{writeavailthrt.jpg}}
\label{Worst Quorum Size}
\hfil
\subfloat[Write Availability (40 copies)]{\includegraphics[width=3in]{writeavailforty.jpg}}
\label{Optimal Quorum Size}
\caption{Write Availability}
\label{figsim}
\end{figure}
\end{document} 

All labels defined are unique and not repeated.The siamlatex1213.cls file can be found at http://www.siam.org/journals/auth-info.php.

  • Multiply-defined labels are no errors in itself, but rather confusing. – user31729 Jul 2 '14 at 15:01
3

It should be rather a comment, but the code is too long.

\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}
% The first occurence of this label
\hfil
\subfloat[Read Availability (40 copies)]{\includegraphics[width=3in]{readavail40.jpg}}
\label{Optimal Quorum Size}
% The first occurence of this label
\caption{Read Availability}
\label{ra}
\end{figure}


\begin{figure}[H]
\subfloat[Write Availability (13 copies)]{\includegraphics[width=3in]{writeavailthrt.jpg}}
\label{Worst Quorum Size}
% The second occurence of this label
\hfil
\subfloat[Write Availability (40 copies)]{\includegraphics[width=3in]{writeavailforty.jpg}}
\label{Optimal Quorum Size}
% The second occurence of this label
\caption{Write Availability}
\label{figsim}
\end{figure}
\end{document} 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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