Code: Select all
\begin{figure}[htb]
\centering
\begin{subfigure}{0.40\textwidth}
\includegraphics[width=\linewidth]{ind1_9.jpg}
\caption{Greenough Interview (Quirk 1971).}
\label{fig:subfig1}
\end{subfigure}
\hfill
\begin{subfigure}{0.40\textwidth}
\includegraphics[width=\linewidth]{ind1_10.jpg}
\caption{Tracks Design page (Unknown 1972). }
\label{fig:subfig2}
\end{subfigure}
\caption{Source: Photos courtesy Tracks magazine.}
\label{fig:two_images}
\end{figure}
I have two questions. How best to fix this issue? Is it a matter of manually renaming each subfigure1 and subfigure2 to the respective consecutive numbers, from subfig1 and subsfig2, to subfig1000 and subsfig1001? Is there a simpler post hoc way? Sometimes figures have to be moved around in the compiling process, so numbers will be out of consecutive order. Does this matter?LaTeX Warning: Label `fig:subfig1' multiply defined.
LaTeX Warning: Label `sub@fig:subfig1' multiply defined.
LaTeX Warning: Label `fig:subfig2' multiply defined.
LaTeX Warning: Label `sub@fig:subfig2' multiply defined.
LaTeX Warning: Label `fig:two_images' multiply defined.
Any advice is appreciated.
Bob