## LaTeX forum ⇒ Graphics, Figures & Tables ⇒ Positions figures Topic is solved

Information and discussion about graphics, figures & tables in LaTeX documents.
nounouuuuu201186
Posts: 36
Joined: Sun May 20, 2012 6:28 am

### Positions figures

Hi all,

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?
Last edited by cgnieder on Sun Jun 23, 2013 3:59 pm, edited 1 time in total.
Reason: removed unnecessary bold typesetting of post

Tags:

cgnieder
Site Moderator
Posts: 1988
Joined: Sat Apr 16, 2011 7:27 pm
My wild guess would be that you allowed the float to be placed in the top area of the page, either explicitly by adding the t parameter to the float placement option, e.g.

\begin{figure}[ht]...\end{figure}

or implicitly by using the default

\begin{figure}...\end{figure}

If that is correct then try something like

\begin{figure}[hbp]...\end{figure}

Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

Johannes_B
Site Moderator
Posts: 4104
Joined: Thu Nov 01, 2012 4:08 pm
You should inform yourselve, why LaTeX does that to your figures.
Also, please have a look at How to influence the position of float environments like figure and table in LaTeX?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

nounouuuuu201186
Posts: 36
Joined: Sun May 20, 2012 6:28 am
I used this solution:
Placeins.sty keeps ﬂoats ‘in their place’, preventing them from ﬂoating past
a “\FloatBarrier” command into another section. To use it, declare
“\usepackage{placeins}” and insert “\FloatBarrier” at places that ﬂoats
should not move past

and it's OK