[Tex/LaTex] Vertical space between figures


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.

Best Answer

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.

Related Question