# Prevent latex from putting big figure alone on the page [duplicate]

I have a figure which occupies around 75% of the page and Latex keeps putting this figure alone on a page (in the middle of the page). What I want is to have some of the lines of the following paragraph right after the figure, even if there is space for only 4 or 5 lines. I tried with \nopagebreak and minipage, but nothing seems to work. Thanks!

EDIT: I fixed it by setting the [ht] parameters for the figure.

• You can do \begin{figure*} which will put the figure where LaTeX see fits and text should follow above or below it as much as possible. – dustin Jul 17 '13 at 19:37
• nope, not working – Vlad Jul 17 '13 at 19:39
• Can you post a picture of what it looks on the page? My guess would be with the margins and the size there is no feasible room to have any text. You could adjust the margins, check the bounding box of the figure, or scale down the figure. – dustin Jul 17 '13 at 19:43
• @dustin that is not what figure* does. – David Carlisle Jul 17 '13 at 19:47
• LaTeX does not allow floats on test pages to exceed a specified fraction of the page. see tex.stackexchange.com/questions/39017/… for the parameters you can set. – David Carlisle Jul 17 '13 at 19:49