Placing subfigures in Latex documents
Sometimes you need to place two or more figures side by side or you just need to include a figure composed of many subfigures. To place the images in your Latex document this way, you can use the subfig package.
\usepackage{subfig}
The command subfloat is used to specify the subfigures.
\begin{figure}[!h] \centering \subfloat[NP Server's certificate]{label{fig:gull} \includegraphics[width=0.4\textwidth] {images/npservercert.png}} \qquad \subfloat[SP Server's certificate]{label{fig:gull} \includegraphics[width=0.4\textwidth] {images/spservercert.png}} \caption{} \label{fig:} \end{figure}
And this is the final result.

Get Jorge Martinez de Salinas delivered by email