Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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}
share|improve this question

2 Answers 2

up vote 7 down vote accepted

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}
share|improve this answer
    
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.

share|improve this answer
    
It worked .thank u –  Emalka May 18 '13 at 8:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.