This page was edited more than a year ago (2009-11-01), content might not be relevant or accurate anymore.

Anchoring LaTeX floats (figures, tables)

There is a way to anchor float strictly to the place where it appears. In Debian you will need to install texlive-latex-recommended (for float.sty).

\usepackage{float}
\restylefloat{figure}

Now you can anchor figure exactly to the place where it appears in the text by using [H] position:

\begin{figure}[H]
\begin{center}
\includegraphics[scale=0.4]{image.png}
\end{center}
\caption{Figure caption}
\end{figure}

float documentation can be find on CTAN:

 
Back to top
howto/anchoring_latex_floats_figures_tables.txt · Last modified: 2009/11/01 23:39 by disorder
 
 
disorder's homepage Valid CSS Valid XHTML 1.0 Recent changes RSS feed