first post!
I'm trying to put an animated GIF into a bounding box generated by tikZ but the image is always positioned outside the box. If I use the
\includegraphics
command the image has the right positioning. Here's a my code.
Can anybody help me solve this problem?
Code: Select all
\documentclass[t]{beamer}
\usepackage{animate}
\usepackage{tikz}
\usetikzlibrary{shapes}
\tikzstyle{mybox} = [draw=blue, fill=white!20, very thick,
rectangle, rounded corners, inner sep=10pt, inner ysep=10pt]
\begin{document}
\frame{
\begin{tikzpicture}[remember picture, overlay]
\node at (current page.center) [mybox,below right,xshift=-6cm,yshift=0cm] (box_1){
\begin{minipage}{\textwidth}
\animategraphics[autoplay,loop,width=0.4\textwidth]{3}{img_}{0}{7}
\end{minipage}
};
\end{tikzpicture}
}
\end{document}