DormanResearch : SubFigure?

Referers: LatexHints :: SubCaption :: (Remote :: Orphans :: Tree )

Dorman Wiki
Dorman Lab Wiki
Depecrated:  use SubCaption


\usepackage{subfigure}

\begin{figure}
\centering
\subfigure[subfigure caption]{\label{sfig:label1} figure code}
\subfigure[subfigure caption]{\label{sfig:labelb} figure code}
\caption{whole figure legend}
\label{fig:label}
\end{figure}
\subref{}: like \ref{} for referring to subfigure labels only


\subfiglabelskip=0pt
...
\listoffigures
...
\begin{figure}%
  \centering
  \subfigure[][]{%
\label{fig:ex3-a}%
...figure code...}%
  \hspace{8pt}%
  \subfigure[][]{%
\label{fig:ex3-b}%
...figure code...}\\
  \subfigure[][]{%
\label{fig:ex3-c}%
...figure code...}%
  \hspace{8pt}%
  \subfigure[][]{%
\label{fig:ex3-d}%
...figure code...}%
  \caption[A set of four subfigures.]{A set of four subfigures:
  \subref{fig:ex3-a} describes the first subfigure;
  \subref{fig:ex3-b} describes the second subfigure;
  \subref{fig:ex3-c} describes the third subfigure; and,
  \subref{fig:ex3-d} describes the last subfigure.}%
  \label{fig:ex3}%
\end{figure}
...
The text references the main figure as figure~\ref{fig:ex3} or part
of it as figures~\ref{fig:ex3-a}--\subref{fig:ex3-c}.
There is no comment on this page. [Display comments/form]