how to add a subtitle to my figure which consists of two separate figures? I want the subtitle to be under each of the two figures.
many thanks for your help in advance!
\begin{figure}[ht]
\caption{XX}
\centering
\subfloat[XXX1]{\includegraphics[width=0.5\textwidth]{Figure1a.jpg}\label{fig:f1}}
\hfill
\subfloat[XXX2]{\includegraphics[width=0.5\textwidth]{Figure1b.jpg}\label{fig:f2}}
\end{figure}
Best Answer
Like this?
it is obtained by use of package
stackengine
:Or with use of package
\copyrightbox
:Addedndum: in case that image has two sub-figures. With use of
\copyrightbox[b]{...}{...}
and optionposition=top
forsubfig
package:Addedndum (2): it seems that package
\copyrightbox
not enable to center text with source information below the image. Use ofstackengine
haven't this limitation. An example with it and optionposition=top
forsubfig
package is below:The right image has text below image in gray color (for comparison only). MWE: