\documentclass[a4paper,twoside]{article}
%\documentclass[a4paper,twoside]{book}

% The "twoside" option allows to distinguish odd and even pages.
% (not useful in "book" mode, e.g. with thloria...)


\usepackage[utf8]{inputenc}
\usepackage{xspace}
\usepackage{url}

\usepackage{flipbook}

\graphicspath{{./}}

% Where animations are put in the corners.
\lhead[top left]{}
\rhead[]{top right}
\lfoot[bottom left \\ \fbImageF{./Images/Anims/an2/im}{pdf}{scale=0.18}]{}
\rfoot[]{bottom right
  \setlength\unitlength{1cm}
  \begin{picture}(0,0)
    \put(2.5,-2.5){
      \fbImageB{./Images/Anims/an3/im}{png}{scale=0.18}
    }
  \end{picture}
}

% One can use a higher footer if it looks nicer.
%\addtolength{\footskip}{1cm}

% A command to generate a nearly empty page (allows generating enough
% pages for a small flip book).

\newcommand\oneBigLetter[1]{
  {
    ~
    
    \vfill
    
    \Huge
    \centering #1
  
    \vfill
    
    ~
  }
  \newpage
}

\def\Flipbook{{\bf Flipbook}\xspace}
\def\flipbook{{\bf flipbook}\xspace}

\title{The \Flipbook Package\\
  --- Example File ---}
\author{Olivier Buffet}

\begin{document}

\maketitle

This is just an example document of the \flipbook package with two
animations in outside bottom corners.

More details on how to use the \flipbook package in the file {\tt
  flipbook-doc.pdf} .

\newpage

\oneBigLetter{$\leftarrow$ \vfill \thepage \vfill $\rightarrow$ }
\oneBigLetter{$\nwarrow$ \vfill \thepage \vfill $\searrow$ }
\oneBigLetter{$\uparrow$ \vfill \thepage \vfill $\downarrow$ }
\oneBigLetter{$\nearrow$ \vfill \thepage \vfill $\swarrow$ }
\oneBigLetter{$\rightarrow$ \vfill \thepage \vfill $\leftarrow$ }
\oneBigLetter{$\searrow$ \vfill \thepage \vfill $\nwarrow$ }
\oneBigLetter{$\downarrow$ \vfill \thepage \vfill $\uparrow$ }
\oneBigLetter{$\swarrow$ \vfill \thepage \vfill $\nearrow$ }
\oneBigLetter{$\leftarrow$ \vfill \thepage \vfill $\rightarrow$ }
\oneBigLetter{$\nwarrow$ \vfill \thepage \vfill $\searrow$ }
\oneBigLetter{$\uparrow$ \vfill \thepage \vfill $\downarrow$ }
\oneBigLetter{$\nearrow$ \vfill \thepage \vfill $\swarrow$ }
\oneBigLetter{$\rightarrow$ \vfill \thepage \vfill $\leftarrow$ }
\oneBigLetter{$\searrow$ \vfill \thepage \vfill $\nwarrow$ }
\oneBigLetter{$\downarrow$ \vfill \thepage \vfill $\uparrow$ }
\oneBigLetter{$\swarrow$ \vfill \thepage \vfill $\nearrow$ }
\oneBigLetter{$\leftarrow$ \vfill \thepage \vfill $\rightarrow$ }
\oneBigLetter{$\nwarrow$ \vfill \thepage \vfill $\searrow$ }
\oneBigLetter{$\uparrow$ \vfill \thepage \vfill $\downarrow$ }
\oneBigLetter{$\nearrow$ \vfill \thepage \vfill $\swarrow$ }
\oneBigLetter{$\rightarrow$ \vfill \thepage \vfill $\leftarrow$ }
\oneBigLetter{$\searrow$ \vfill \thepage \vfill $\nwarrow$ }
\oneBigLetter{$\downarrow$ \vfill \thepage \vfill $\uparrow$ }
\oneBigLetter{$\swarrow$ \vfill \thepage \vfill $\nearrow$ }
\oneBigLetter{$\leftarrow$ \vfill \thepage \vfill $\rightarrow$ }
\oneBigLetter{$\nwarrow$ \vfill \thepage \vfill $\searrow$ }
\oneBigLetter{$\uparrow$ \vfill \thepage \vfill $\downarrow$ }
\oneBigLetter{$\nearrow$ \vfill \thepage \vfill $\swarrow$ }
\oneBigLetter{$\rightarrow$ \vfill \thepage \vfill $\leftarrow$ }
\oneBigLetter{$\searrow$ \vfill \thepage \vfill $\nwarrow$ }
\oneBigLetter{$\downarrow$ \vfill \thepage \vfill $\uparrow$ }
\oneBigLetter{$\swarrow$ \vfill \thepage \vfill $\nearrow$ }
\oneBigLetter{$\leftarrow$ \vfill \thepage \vfill $\rightarrow$ }
\oneBigLetter{$\nwarrow$ \vfill \thepage \vfill $\searrow$ }
\oneBigLetter{$\uparrow$ \vfill \thepage \vfill $\downarrow$ }
\oneBigLetter{$\nearrow$ \vfill \thepage \vfill $\swarrow$ }
\oneBigLetter{$\rightarrow$ \vfill \thepage \vfill $\leftarrow$ }
\oneBigLetter{$\searrow$ \vfill \thepage \vfill $\nwarrow$ }
\oneBigLetter{$\downarrow$ \vfill \thepage \vfill $\uparrow$ }
\oneBigLetter{$\swarrow$ \vfill \thepage \vfill $\nearrow$ }
\oneBigLetter{$\leftarrow$ \vfill \thepage \vfill $\rightarrow$ }
\oneBigLetter{$\nwarrow$ \vfill \thepage \vfill $\searrow$ }
\oneBigLetter{$\uparrow$ \vfill \thepage \vfill $\downarrow$ }
\oneBigLetter{$\nearrow$ \vfill \thepage \vfill $\swarrow$ }
\oneBigLetter{$\rightarrow$ \vfill \thepage \vfill $\leftarrow$ }
\oneBigLetter{$\searrow$ \vfill \thepage \vfill $\nwarrow$ }
\oneBigLetter{$\downarrow$ \vfill \thepage \vfill $\uparrow$ }
\oneBigLetter{$\swarrow$ \vfill \thepage \vfill $\nearrow$ }
\oneBigLetter{$\leftarrow$ \vfill \thepage \vfill $\rightarrow$ }
\oneBigLetter{$\nwarrow$ \vfill \thepage \vfill $\searrow$ }
\oneBigLetter{$\uparrow$ \vfill \thepage \vfill $\downarrow$ }
\oneBigLetter{$\nearrow$ \vfill \thepage \vfill $\swarrow$ }
\oneBigLetter{$\rightarrow$ \vfill \thepage \vfill $\leftarrow$ }
\oneBigLetter{$\searrow$ \vfill \thepage \vfill $\nwarrow$ }
\oneBigLetter{$\downarrow$ \vfill \thepage \vfill $\uparrow$ }
\oneBigLetter{$\swarrow$ \vfill \thepage \vfill $\nearrow$ }
\oneBigLetter{$\leftarrow$ \vfill \thepage \vfill $\rightarrow$ }
\oneBigLetter{$\nwarrow$ \vfill \thepage \vfill $\searrow$ }
\oneBigLetter{$\uparrow$ \vfill \thepage \vfill $\downarrow$ }
\oneBigLetter{$\nearrow$ \vfill \thepage \vfill $\swarrow$ }
\oneBigLetter{$\rightarrow$ \vfill \thepage \vfill $\leftarrow$ }
\oneBigLetter{$\searrow$ \vfill \thepage \vfill $\nwarrow$ }
\oneBigLetter{$\downarrow$ \vfill \thepage \vfill $\uparrow$ }
\oneBigLetter{$\swarrow$ \vfill \thepage \vfill $\nearrow$ }

\end{document}


% Local IspellDict:        american
% (The above line tells ispell to run by default with an american dictionary.)
