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 four figures and want to put them together as subfigures. However, I don't want the first one to have a caption. Can anybody figure it out please?

Thank you in advance!

\begin{figure}[t!]
\centering
\subfigure[]{
\includegraphics[width=5.2in]{legend.eps}
}\\
\subfigure[]{
\label{fig:1}
\includegraphics[width=4.8in]{fig1.eps}
}\\
\subfigure[]{
\label{fig:2s}
\includegraphics[width=4.8in]{fig2.eps}
}
\subfigure[]{
\label{fig:3}
\includegraphics[width=4.8in]{fig3.eps}
}
\caption{something and something}
\label{fig:Simulation}
\end{figure}
share|improve this question
2  
You should use the subcaption package (included in caption). It lets you have no caption for subfigures but still have a label to cross-reference them. –  Bernard Oct 3 '13 at 0:45

1 Answer 1

up vote 3 down vote accepted

The key is syntax. The optional argument of the subfigure macro sets the caption. If you drop it, there won't be any caption. So the solution looks like:

\documentclass{article}
\usepackage{subfigure}
\usepackage[pdftex]{graphicx}

\begin{document}
\begin{figure}[t!]
\centering
\subfigure{
\includegraphics[width=5.2in]{legend.eps}  %legend.eps does not have a caption
}\\
\subfigure[]{
\label{fig:1}
\includegraphics[width=4.8in]{fig1.eps}    %fig1.eps has one
}
\end{figure}
\end{document}
share|improve this answer
1  
The subfigure package is obsolete; use subfig (and the \subfloat command that has the same syntax) or subcaption. –  egreg Oct 3 '13 at 9:26

Your Answer

 
discard

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

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