TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 4 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.