Mini Blog‎ > ‎

Latex and Figure Placement

posted May 6, 2009, 8:56 PM by Paul Sroufe   [ updated May 7, 2009, 12:07 PM ]
If you are coming from MS Word like me and are used to knowing exactly where your figures and tables (known as floats in Latex) are going to show up in your paper, try adding these two lines to the top of your Latex document:

\usepackage{float}
\restylefloat{figure}

Now when you put a figure down you can use a new placement modifier "H" (note that this is different from "h").   The new "H" modifier tells Latex to place the figure "here and only HERE".

EXAMPLE:

 \begin{figure}[H]
  % Requires \usepackage{graphicx}
  \includegraphics[width=]{}\\
  \caption{}\label{}
\end{figure}

 
Comments