13

If i have in my beamer presentation some list of items and on that slide i wanna add a picture, which i want to be aligned e.g. to right top corner.

\begin{frame}[fragile]{III. Override pages}
\begin{enumerate}
    \item Bookmark manager
    \item History
    \item New tab
\end{enumerate}
    % image aligned to top right corner
\end{frame}

How can i do that?

9

You could use one of the packages eso-pic, atbegshi, textpos or everyshi. textpos is easy to use, though a bit older just like everyshi.

Here's a way using TikZ and the current page node for positioning:

\documentclass[demo]{beamer}
\usepackage{tikz}
\begin{document}
\begin{frame}[fragile]{III. Override pages}
\begin{enumerate}
    \item Bookmark manager
    \item History
    \item New tab
\end{enumerate}
\begin{tikzpicture}[remember picture,overlay]  
  \node [xshift=-2cm,yshift=-2cm] at (current page.north east)
    {\includegraphics[width=4cm,height=4cm]{file}};
\end{tikzpicture}
\end{frame}
\end{document}

beamer example

You could also use the node anchor for positioning besides that shifting.

6

You could use the textpos package to place the picture in the desired position.

Here's an example:

\documentclass{beamer}
\usepackage[absolute,overlay]{textpos}

\begin{document}

\begin{frame}{III. Override pages}
    \begin{enumerate}
      \item Bookmark manager
      \item History
      \item New tab
  \end{enumerate}
  \begin{textblock*}{20mm}(\textwidth,0mm)%
    \rule{2cm}{4cm}
  \end{textblock*}
\end{frame}

\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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