It can be frustrating trying to get your figures and
tables to appear where you want them in a LaTeX document.
Sometimes, they just seem to float off onto another page of their
own accord. Here is a collection of tools and ideas that help you
get control of those pesky floats.
Use the placement options: h, t, b and p. For example
\begin{figure}[htb]
causes LaTeX to try to fit the float “here”, or at the “top”
of the current page (or the next page), or at the “bottom” of the
current page (or the next page). If “p” is specified, it will
allow the float to take a whole page to itself. You can’t specify
only “h” as that is too restrictive, and LaTeX will
automatically change it to “ht”. The default setting is
“tbp”.
One of the reasons that the floats won’t go where you want
them is that there are a l