# [Tugindia] Figure insertion - Removal of blank space

Kannan Moudgalya kannan at iitb.ac.in
Sun May 28 17:34:11 CEST 2006

Did you see the figure separately and make sure that it does not have
spaces around it?

I have the following comments about the way you have included the figure -
this may not be relevant to your problem, but you may find them useful.
(1) Specifying both the width and height could distort the figure and
hence, unless you have a specific reason, you should specify only one of
them.  This will allow LaTeX to scale the figure in a proportionate
manner.  (2) The command \centering should come before the
\includegraphics command.  If you do this, the figure will get centered.

Kannan

>  .
>  \begin{figure}[ht]
>  \includegraphics[width=6cm, height=5cm]{figure.pdf}
>  \centering \caption{....} \label{...}
>  \end{figure}
>  .
>
> And compiled this file using the command 'pdflatex'. Eventhough the figure
> gets placed, there is lot of blank space left surrounding the figure;
> particularly, between the lower end of the figure and the caption, and
> above the figure.