LaTex subfigure example

This is an example that shows how to use the LaTex subfigure package.

Using sub-figures in your LaTex document


Include the subfigure package

\usepackage{subfigure}

Adding sub-figures

 
\begin{figure}[ht]
\centering

\subfigure[Subfigure 1 caption]{
   \includegraphics[scale =1] {subfigure1.eps}
   \label{fig:subfig1}
 }

 \subfigure[Subfigure 2 caption]{
   \includegraphics[scale =1] {subfigure2.eps}
   \label{fig:subfig2}
 }

 \subfigure[Subfigure 3 caption]{
   \includegraphics[scale =1] {subfigure3.eps}
   \label{fig:subfig3}
 }


\label{myfigure}
\caption{Global figure caption}
\end{figure}


Referring to sub-figures

In the text, you can refer to subfigures as follows \ref{fig:subfig1}, \ref{fig:subfig2} \ref{fig:subfig3}.

你可能感兴趣的:(example)