Blog Image

Notes

Location floating images

LaTeX Posted on Fri, January 18, 2008 11:20:34

To avoid that floating images are located after a certain point, e.g. you don’t want the image between the references, you can use the following statement that places a barrier beyond which floats may not pass.

\FloatBarrier

The following package have to be included:

\usepackage{placeins}



Two figures side by side

LaTeX Posted on Wed, December 19, 2007 11:43:39

To put two figures side by side you can use minipages inside the figure environment.

\begin{figure}[t]
\begin{minipage}[t]{0.48\textwidth}
\begin{center}
\includegraphics[width=0.92\textwidth]{images/picture1}
\caption{\label{fig:pic1}Caption 1}
\end{center}
\end{minipage}
\hfill
\begin{minipage}[t]{0.48\textwidth}
\begin{center}
\includegraphics[width=0.92\textwidth]{images/picture2}
\caption{\label{fig:pic2}Caption 2}
\end{center}
\end{minipage}
\end{figure}