LaTeX forum ⇒ Graphics, Figures & TablesPositions 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

Postby nounouuuuu201186 » Sun Jun 23, 2013 2:12 pm

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:

User avatar
cgnieder
Site Moderator
Posts: 1988
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Sun Jun 23, 2013 4:05 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.

  1. \begin{figure}[ht]
  2. ...
  3. \end{figure}


or implicitly by using the default

  1. \begin{figure}
  2. ...
  3. \end{figure}


If that is correct then try something like

  1. \begin{figure}[hbp]
  2. ...
  3. \end{figure}


If it isn't correct or this doesn't help you please post a Infominimal working example.

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

User avatar
Johannes_B
Site Moderator
Posts: 4104
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sun Jun 23, 2013 8:35 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

Postby nounouuuuu201186 » Mon Jun 24, 2013 10:04 pm

I used this solution:
Placeins.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

and it's OK :)


Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 4 guests