# Subfigure Labeling Latex

I have a quick question about labeling subfigures: I am putting in figures side-by-side using the subfigure package, but I don't want the labelling to be included in the caption (i.e (a), (b), (c), etc). How do I go about doing this?

\begin{figure}[h!]

\hfill

\subfigure[caption 1]

{\includegraphics[width = 0.45\textwidth]{fig1.png}}

\hfill

\subfigure[caption 2]{\includegraphics[width = 0.45\textwidth]{fig2.png}}

\hfill

\caption{Title for both}

\end{figure}

-

## migrated from stackoverflow.comFeb 26 '13 at 16:47

This question came from our site for professional and enthusiast programmers.

Welcome to TeX.sx! Your post was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. –  Werner Feb 26 '13 at 16:50
Please update your question to include a full, minimal working example (MWE). For example, do you also use hyperref? Ideally, your MWE should start with \documentclass and end with \end{document}. –  Werner Feb 26 '13 at 17:12

I did not try this but here it says that you can use \caption* command instead of \caption provided by the caption package.
Or to change the options at a specific point use \captionsetup{labelformat=empty}. See the caption manual.