Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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}
share|improve this question
    
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
add comment

migrated from stackoverflow.com Feb 26 '13 at 16:47

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

1 Answer

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.

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.