Home > Latex > Subfigures in Latex

Subfigures in Latex

It took me so long to identify how to include subfigures. I have used the subfig package for this. Include the following in your document class to use subfigures.

\usepackage{subfig}

To define subfigures use the following steps to configure it.

%%% %%             Starts of a table                      %%% %%

\begin{figure}[h]

%%% %%           Center alignment                       %%% %%

\centering

%%% %%           starting first subfigure and a line break after the first figure. Starts with \subfloat tag  and command shown below                         %%% %%

\subfloat[Title] {{\label{subfig:lable_name}}\includegraphics[width=0.6\textwidth]{pic location}

} \linebreak

%%% %%           starting second subfigure and a line break           %%% %%

\subfloat[Title] {{\label{subfig:lable_name}}\includegraphics[width=0.6\textwidth]{pic location}

} \linebreak

}\linebreak

\subfloat[Title] {{\label{subfig:lable_name}}\includegraphics[width=0.6\textwidth]{pic location}

} \linebreak

%%% %%          Caption of all the images     %%%%%

\caption{(a)Title 1; (b) Title 2; and (c) Title 3}

%%% %%         End of Figure tag    %%%%%

\end{figure}

Image below shows an example of subfigures in latex:

Categories: Latex Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.

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 )

Connecting to %s

Follow

Get every new post delivered to your Inbox.