Multiple images in one figure by using subfig Latex

I found a package “subfig” which can be used to create “subfigures” within one floating figure in Latex. To do this simply type

\usepackage{subfig}
in the preamble, and then create a floating figure
\begin{figure}
\centering
\subfloat[]{\includegraphics[width=3.1in]{figures/gpEcUND.eps}}
\subfloat[]{\includegraphics[width=3.1in]{figures/gpgTND.eps}}
\caption{Potential for 0.5 V bias.}
\label{fig:EcUND}
\end{figure}

This will create figures (a) and (b) side by side. For more info, you can read the manual of subfig.

About these ads

2 Responses

  1. cheers just what i was looking for.

  2. [...] Multiple images in one figure by using subfig Latex October 20081 comment 3 [...]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: