I wanted to do something similar like here:
Improving typewriter animation
But using the animate package. I managed to get a very poor solution:
\documentclass{article}
\usepackage[latin1]{inputenc}
\usepackage{animate}
\usepackage{amsmath}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{animateinline}
\begin{document}
\begin{center}
\fboxsep1mm
\begin{animateinline}[autoplay,loop]{2}
% one frame per second
$\phantom{\text{Alles Gute zum Geburtstag!}}$
\newframe
$\text{Alles}\phantom{\text{ Gute zum Geburtstag!}}$
\newframe
$\text{Alles Gute}\phantom{\text{ zum Geburtstag!}}$
\newframe
$\text{Alles Gute zum}\phantom{\text{ Geburtstag!}}$
\newframe
$\text{Alles Gute zum Geburtstag}\phantom{\text{!}}$
\newframe
$\text{Alles Gute zum Geburtstag!}\phantom{\text{}}$
\end{animateinline}
\end{center}
\end{document}
The \phantom is in my experience needed to reserve in all frames the same space. Otherwise the text gets distorted.
Here is the result:
http://www.bipede.de/Downloads/HB.pdf
Has someone an idea how to get the very cool solution in
Improving typewriter animation
to work here?
By the way, Alles Gute zum Geburtstag means Happy Birthday in German.
