Graphics, Figures & Tables ⇒ Positions figures
-
- Posts: 36
- Joined: Sun May 20, 2012 6:28 am
Positions figures
I inserted a figure after a paragraph. But the problem is that the figure is displayed at the beginning of the page while the paragraph in the middle of the page. Thus, the figure does not follow the relevant paragraph. How to insert the figure immediately after the relevant paragraph?
Reason: removed unnecessary bold typesetting of post
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Positions figures
top
area of the page, either explicitly by adding the `t` parameter to the float placement option, e.g.Code: Select all
\begin{figure}[ht]
...
\end{figure}
Code: Select all
\begin{figure}
...
\end{figure}
Code: Select all
\begin{figure}[hbp]
...
\end{figure}

Regards
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Positions figures
Also, please have a look at How to influence the position of float environments like figure and table in LaTeX?
-
- Posts: 36
- Joined: Sun May 20, 2012 6:28 am
Positions figures
and it's OKPlaceins.sty keeps floats ‘in their place’, preventing them from floating past
a “\FloatBarrier” command into another section. To use it, declare
“\usepackage{placeins}” and insert “\FloatBarrier” at places that floats
should not move past
