I am a new user and I am trying to include my first picture in a latex document. I have coded something like this:
Code: Select all
\begin{figure}[lineheight]
\vspace{-20pt}
\centering
\includegraphics[scale=0.45]{JKR.eps}
\vspace{-20pt}
\caption{JKR theory versus Hertz theory}
\label{fig:JKR}
\vspace{-10pt}
\end{figure}
How can I avoid that? I want the picture in the center but only horizontally.
Thanks for your help (sorry if the question is too basic).
Regards,
Chiara