In my thesis, I label the subfigures with the \subfigure command, in order to have nice captions with (a), (b) etc. I also know how to use the overpic command to write text over a figure.
I would like to use both commands to place text over a subfigure, however I do not know how to do that, since the figure itself is an input for both commands.
I tried the following
Code: Select all
\begin{figure}
\subfigure[first caption]{\includegraphics[width=0.98\textwidth]{Figures/figure1}}
\begin{overpic
\put(10,10){set}
\end{overpic}
\subfigure[seconds caption]{\includegraphics[width=0.98\textwidth]{Figures/figure2}}
\begin{overpic
\put(20,20){specimen}
\end{overpic}
\caption{caption}
\end{figure}
Thanks in advance