# LaTeX creating unnecessary space

I'm getting unnecessary white spaces as in the snapshot.

It's mainly because of my figures. I'm putting my figures as

\begin{figure}[H]
\centering
\input{figures/,,,,,,.tex}
\caption[h]{....}
\end{figure}


I'm putting with the [H] only because I want them to be the order I'm adding them. Is there any way to achieve the same thing but not have the white spaces?

• Not really, without switching to \raggedbottom. Leave figures float: reference to them with \ref, the caption serves exactly to the purpose of explaining the figure even if it's not at the point its referenced. – egreg Apr 27 '13 at 14:53
• LaTeX never re-orders figures, H just means that you want massive white space rather than let latex move the figures (keeping the order) to get better page breaks, H was not one of my better ideas, don't use it:-) – David Carlisle Apr 27 '13 at 16:21

LaTeX never re-orders figures, H just means that you want massive white space rather than let latex move the figures (keeping the order to get better page breaks.
H was not one of my better ideas, don't use it:-)