Subfigure: error "Missing number, treated as zero"
This is how you should be using it.
\documentclass{article}
\usepackage{graphicx,subfigure}
\begin{document}
\begin{figure}
\centering %%% not \center
\subfigure[Figure A]{\label{fig:a}\includegraphics[width=60mm]{example-image-a}}
\subfigure[Figure B]{\label{fig:b}\includegraphics[width=60mm]{example-image-b}}
\caption{my caption}
\end{figure}
\end{document}
Note: subfigure
is outdated and new one is subfig
which introduces subfloat
command. You may consider using subfig
instead of subfigure
.
I believe you're using the subcaption
package. The problem you have is that as a second argument to \begin{subfigure}
you should tell it how wide you want your figure to be; e.g.
\begin{figure} \centering
\begin{subfigure}[b]{\linewidth}
\includegraphics[width=60mm]{a}
\label{fig:a}
\end{subfigure} %
\begin{subfigure}[b]{\linewidth}
\includegraphics[width=60mm]{b}
\label{fig:b}
\end{subfigure}
\caption{my caption}
\end{figure}
If you have further problems you can refer to the package documentation.
Hope that helps!