This is the command I used to have the figures.
\begin{figure}[h]
\centering
\includegraphics[scale=0.2]{ch5}
\caption{lalalalal}
\label{llaa}
\end{figure}
However, there will too much gap between the last sentence of the paragraph before the figure and the figure. How do I omit it?
\usepackage[demo]{graphicx}option so we don't need the actual figures. using[h]on its own is usually a bad idea latex essentially changes it to[ht]Also ther eis a possibility that the space is inside the figure test this with `\fbox{\includegraphics[scale=0.2]{ch5}} does the space come inside the box? – David Carlisle May 22 '13 at 14:58\intextsepbut if the following text doesn't allow a good page break the whole page may be stretched if you have\flushbottomcan't guess without an example. – David Carlisle May 22 '13 at 15:49