[Tex/LaTex] Remove (a), (b) from subfigure numbering, but keep the subfigure caption

subfloats

I've a question on the labels in the subfigure environment. I would like to remove the (a) and (b) and insert something else instead. This 'new' caption is different for every subfigure and not a logical counter (so not i, ii or so).
Can any body help me?

I've added a figure showing the current situation (top) and how I would like it to be (bottom).

The top row in the figure is how I have got it now, the bottom row is how I would like it to be!

Best Answer

Just stack the subcaption text under the subfigure. You can change the fontsize of the subcaptions just by changing the \footnotesize to the desired size. The gap between figure and caption is controlled by the optional argument to \stackunder and is, in this example, set to 5pt (the default is 3pt).

Note that the subcaptions in this technique, will not automatically word-wrap. In your case, there was no need for wrapping, since they were short labels. If wrapping were needed, the last argument to \stackunder could be a \parbox.

I further assumed, that since you wished to remove the (a), (b), that you had no desire to separately reference the individual subfigures. You can still reference the overall figure with \ref{}.

\documentclass{article}
\usepackage{stackengine}
\usepackage[demo]{graphicx}
\begin{document}
\begin{figure}
\footnotesize
\stackunder[5pt]{\includegraphics[width=2in,height=.7in]{fileA}}{MRI-CGCM3}%
\hspace{1cm}%
\stackunder[5pt]{\includegraphics[width=2in,height=.7in]{fileB}}{NorESM1-M}
\caption{November to April}
\end{figure}
\end{document}

enter image description here