I want to put two images next to each other and in order to do that I have written these code:
\begin{figure}[h]
\begin{minipage}{16pc}
\includegraphics[width=16pc]{P_1.eps}
\caption{\label{fig4} Caption of the first image.
\end{minipage}\hspace{2pc}%
\begin{minipage}{16pc}
\includegraphics[width=16pc]{P_2.eps}
\caption{\label{fig4} Caption of the second image.
\end{minipage}
\end{figure}
But in pdf I see
Figure 4: Caption of the first image. Figure 5: Caption of the second image.
How I can change it so that it was
Figure 4-a: Caption of the first image. Figure 4-b: Caption of the second image.
or
Figure 4.a: Caption of the first image. Figure 4.b: Caption of the second image.
Thanks!
\renewcommand\subfigurename{\figurename}(or\renewcommand\subfigurename{Figure}) after\DeclareCaptionSubType*{figure}instead of defining and using an own caption format calledsubfig, because this would make it possible to use other caption formats as well. I just see that I have forgotton to document this one (sorry for that), will do this in the very next version. – Mar 16 '11 at 18:54