18

I have a figure in a whole page, even though I do not intend it to capture a whole page. There is a lot of white space around it, and I definitely think there could be some text surrounding it. Is there a way to force a figure not to use a whole page if there is still some white space around?

(this is a two column document, if that helps. I am using figure* to stretch the figure across the two columns.)

Stefan Kottwitz
  • 231,401
kloop
  • 9,684

1 Answers1

23
  • By default, full-width figures are only allowed at the top or at float pages, which obiously is the case for you. Try to solve it using placement options, such as

    \begin{figure}[!ht]

  • Bottom placement is possible using the stfloats package. Further you might have a look at Placing two-column floats at bottom of page in the TeX FAQ.

  • Ensure that the figure is not too wide. Check if there's white space, if the figure has a margin. This is sometimes overlooked when PDF figures are included.

  • Check for warnings regarding an overfull \hbox concerning that figure, which may cause that it's been deferred to the next page. If necessary, scale the figure.

Stefan Kottwitz
  • 231,401
  • 3
    Note: if the figure is to wide wrap its content (not the whole figure environment) in a \makebox[h]{\textwidth}{...} macro call. This makes it officially only \textwidth wide and centers it. – Martin Scharrer Mar 01 '11 at 18:49
  • @MartinScharrer That doesn't seem to work when the content is an equation or gather or any math environment. What should I do in that case? – Bakuriu Mar 22 '14 at 08:28
  • 1
    @Bakuriu: For such environments (which require a paragraph and don't work in the restricted horizontal mode created by \makebox) use a {minipage}{\textwidth} environment instead. – Martin Scharrer Mar 23 '14 at 19:37