From 3e0e4d6412a2140852c0e771ccfe523e093a9913 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 6 Dec 2011 00:01:54 +0000 Subject: new latex package flipbook (5dec11) git-svn-id: svn://tug.org/texlive/trunk@24775 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/flipbook/flipbook-ex.tex | 133 +++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/flipbook/flipbook-ex.tex (limited to 'Master/texmf-dist/doc/latex/flipbook/flipbook-ex.tex') diff --git a/Master/texmf-dist/doc/latex/flipbook/flipbook-ex.tex b/Master/texmf-dist/doc/latex/flipbook/flipbook-ex.tex new file mode 100644 index 00000000000..83b6aeb0b6a --- /dev/null +++ b/Master/texmf-dist/doc/latex/flipbook/flipbook-ex.tex @@ -0,0 +1,133 @@ +\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{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} -- cgit v1.2.3