# change position of figure in beamer

I need to put a figure in a specific position in a beamer presentation ... Does it have a solution using X and Y coordinate or another thing? What do I need to change in the following code?

\begin{figure}
\hspace{4cm}  \vspace{1cm}
\includegraphics[width=0.15\textwidth,natwidth=69,natheight=87]{images/logo.jpg}
\end{figure}

-

You could also use the textpos package.

\documentclass{beamer}

\usepackage[absolute,overlay]{textpos}
\usepackage{graphicx}

\begin{document}
\begin{frame}
\begin{textblock*}{5cm}(3cm,1cm) % {block width} (coords)
\includegraphics[width=5cm]{images/logo.jpg}
\end{textblock*}
\end{frame}
\end{document}

-
Welcome to TeX.SX! You may have a look on our starter guide. – mafp May 18 '13 at 10:08

beamer doesn't really support floats as they don't make sense in a presentation. The figure environment is allowed but doesn't really do much.

\vspace*{2cm}
\hspace*{3cm}\includegraphics[width=0.15\textwidth,natwidth=69,natheight=87]{images/logo.jpg}


would probably do what you want, adjust the lengths to fit. Leave blank lines before and after these two lines to ensure you are in vertical mode, otherwise the \vspace will do the wrong thing.

-
It worked .thank u – Emalka May 18 '13 at 8:46