2

Is there any way to overlay an image over an animation (like in webpages) in beamer using either

ainmategraphics,\begin{animateinline},\movie or \includegraphics

together with

tikzpicture
3

1 Answer 1

1

Any plugin-based animation (multimedia, media9, movie15) plays in a separate layer on top of the page content and cannot be overlaid by typeset material or embedded graphics or images, irrespective of the order of occurrence in the document source file. It always bubbles up to the top layer (foreground) when activated.

animate-generated animations can play in the background of other material if the OCG method is used (package or command/environment option method=ocg). However, achievable frame rates may become lower as compared to the standard icon animation method, in particular when combining complex animations and rich page content, because the complete page has to be re-rendered with every animation frame refresh.

Example (↗ShareLaTeX):

\documentclass{article}
\usepackage{animate}
\usepackage{graphicx,color}

\begin{document}
\makebox[0pt][l]{\begin{animateinline}[autoplay,width=3cm,loop,method=ocg]{2}\multiframe{10}{i=0+1}{\strut\i}\end{animateinline}}
\rotatebox{60}{\makebox[0pt][l]{\Huge\color{red}Hello World}}
\end{document}
9
  • This is what i got by compiling using Lualatex May 31, 2017 at 5:38
  • Fine! I get the same.
    – AlexG
    May 31, 2017 at 7:00
  • :( So its impossible :( May 31, 2017 at 11:50
  • What is impossible? The example overlays "Hello World" on top of an animation. This is what you requested.
    – AlexG
    May 31, 2017 at 12:08
  • 1
    @Vishnu You are using an old, possibly bugged version of animate. I inserted a link to ShareLaTeX in my answer.
    – AlexG
    Jun 1, 2017 at 7:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .