2

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.com Feb 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
2

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.

  • 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:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.