I really want to get rid of some of the whitespace between figures and subfigures, it is completley unecessary and sometimes causes a page of figures with a third landing on page two with text, while all could be on the same page, caption included if I could just remove some of the vertical whitespace...


  \caption{Tidsutvikling bakgrunnstøy}

I tried raisebox with minus value, pdflatex doesn't want, I have been googling for hours with no solution. How in gods name do I do this.

Edit: Answer to below question


If I use subfigure the figures are so large that one of them gets cut off in the middle, if I use seperate \begin{figure} I will have the initial problem of too much white space. Two figures on a page then a third on page with text looks very bad.

  • 2
    Could you turn your snippet into a complete MWE including documentclass and the necessary packages?
    – cmhughes
    Commented Mar 5, 2012 at 1:24
  • 1
    \raisebox takes a dimension like 3pt not number like -100 however you may just want \vspace{-1cm} or whatever rather than raising the box. If you are getting excessive space around the figures the most likely cause is that the png files themselves have white space in them. Finally figure[H] disables the float mechanism so its main function is to add vertical space to set of the figure, If you don't want the figure to float and don't want the space the figure environment is doing nothing. capt-of package will allow you to use captions without this. Commented Mar 5, 2012 at 1:32
  • 1
    It would also help if you provide a screen shot of the current (undesirable) output. Even though you may not have enough privileges, insert the image and remove the preceding !. Someone with edit privileges will re-embed the image in the post.
    – Werner
    Commented Mar 5, 2012 at 6:17

1 Answer 1


A reason for undesirable space often is caused by white space around the image. Putting the \includegraphics command inside an \fbox can reveal if this is the case, by showing the real bounding box:


When one discovers this to be the case, there are two strategies:

  1. crop the graphics with some appropriate application, so that it has the correct bounding box;

  2. crop the graphics within TeX by adding options such as viewport or trim (check the documentation of graphicx).

The second strategy requires usually a bit of trial and error.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .