-1

I am new to Latex and want to insert a figure into my document. I used following commands:

\begin{figure}[hbtp]
\centering
\includegraphics[scale=0.5]{PTS.eps}
\caption{Figure PTS}
\end{figure}

After compiling to pdf there is a large space between the figure and the caption. There is also a space of almost 5 lines at the top of figure. I am using 2 column format with 10 pt font and A4 size paper. Please guide what should I do?

Regards Ehsa

yo'
  • 51,322
Ehsa
  • 1,423

2 Answers2

2

What I've done with figures in the past is use a negative vspace in my document so that would yield something like:

\includegraphics[scale=0.5]{PTS.eps}

\vspace{-0.3cm}
\caption{Figure PTS}

You would just have to play around with the value of the \vspace to whatever you want. Keep in mind a negative value will decrease the space and a positive will add more space.

David Carlisle
  • 757,742
cbutcher12
  • 177
  • 1
  • 9
  • Thanks it worked. But if I want the image to occupy both columns and keep text in two columns , what should be done. – Ehsa Jan 25 '15 at 18:38
  • @Ehsa \begin{figure*}\includegraphics[width=\linewidth]{PTS} .... \end{figure*} – Fran Jan 26 '15 at 22:37
0

I initially used following command to look for the size of image \fbox{\includegraphics[scale=0.150,angle=0]{imagefilename.eps}}

Then I used following to remove extra space in the image: \includegraphics[scale=0.150,trim=300 450 300 500,clip]{imagefilename.eps} It worked fine. Detailed information is given at following link An .eps image, whose caption is too separated from the image.

Ehsa
  • 1,423