\documentclass{svproc}

\begin{document}
\mainmatter             
\title{Figure numbers are wrong}
\author{Michael Weeks}
\maketitle              

\begin{abstract}
Problem with figure numbering, and how to fix it.
\end{abstract}


\section{One}
I ran across a problem with figure numbering in \LaTeX.
This uses the ``documentclass'' \verb"svproc.cls". I have not tried it on others.

\section{Two}
Figure~\ref{fig:one} should be Figure 1.
This is what the figure code looks like:
\begin{verbatim}
        \begin{figure}
          \vspace{1cm}
          \label{fig:one}
          \caption{Blank figure}
        \end{figure}
\end{verbatim}
The second figure is the same, except that it uses \verb"\label{fig:two}".


\section{Three}
Figure~\ref{fig:two} should be Figure 2.
{\bf This is what the figure code should look like to fix the problem}:
\begin{verbatim}
        \begin{figure}
          \vspace{1cm}
          \caption{Blank figure}
          \label{fig:one}
        \end{figure}
\end{verbatim}
The only difference is that the \verb"caption" comes before the \verb"label".

\begin{figure}
  \vspace{1cm}
  \caption{Blank figure}
  \label{fig:one}
\end{figure}

\begin{figure}
  \vspace{1cm}
  \caption{Another blank figure}
  \label{fig:two}
\end{figure}


\end{document}
