June 11, 2009, 5:50 pm
The wrapfig package enables text wrapping around figures.
To include a wrapped figure we can use the \begin{wrapfigure} command. You have to specify the alignment (l, r) and the figure’s width. Here is an example:
\begin{wrapfigure}{r}{60mm}
\begin{center}
\includegraphics[scale=0.5]{images/nature_photography.jpg}
\end{center}
\caption{Wrapped image.}
\end{wrapfigure}
And the final result.

June 10, 2009, 7:30 pm
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.
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.
