summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/flipbook/flipbook-ex.tex
blob: d8657010de5687aa9bce5abe72384fbeee2583d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
\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.)