File: beamer.tex

package info (click to toggle)
whizzytex 1.5.0-0.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,536 kB
  • sloc: lisp: 3,668; sh: 1,768; makefile: 227
file content (184 lines) | stat: -rw-r--r-- 5,552 bytes parent folder | download | duplicates (2)
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
%; whizzy -pdf llpp

\documentclass{beamer}
\usepackage{hyperref}


%% Beamer settings 
\beamertemplatenavigationsymbolsempty
\usetheme{Warsaw}

\usepackage[USenglish,francais]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}

%% PGF packages (for this file)

\usepackage{pgf,pgfarrows,pgfnodes,pgfautomata,pgfheaps,pgfshade}

%% %% PStricks packages (for this file)

%% \usepackage{pstcol}
%% \usepackage{pst-node}
%% \usepackage{pst-tree}


\title{Beamer Presentations with Whizzytex}
\author{Didier R{\'{e}}my\inst{1}}
\institute{\inst{1}INRIA-Rocquencourt}

\date{September, 2007}
\subject{ML}

\def \WhizzyTeX {{Whizzy\kern -0.3ex\raise 0.2ex\hbox{\let \@\relax\TeX}}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\frame{\titlepage}
\begin{frame}{Outline}
\tableofcontents
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section[Intro]{Introduction}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Beamer}
\begin{itemize}
\item Beamer is a powerful latex class for presentations.
\item Beamer is aimed at generating PDF output, even though it can also
  generate Postscript output.
\end{itemize}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Whizzytex}
\begin{itemize}
\item<1-> {\WhizzyTeX} is a useful tool for preparing latex documents
\\   and especially... for preparing presentations. 

\item<2->
{\WhizzyTeX} is works with different previewers: ghostview, xpdf, xdvi, 
and, gets even more expressive when used wiht Advi.

\end{itemize}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Combining the two}
\relax
{\WhizzyTeX} works with the beamer class either 
with xpdf, or  with advi. 


However, previewing with advi requires some minor configuration. 
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Xpdf}
\begin{frame}{Using \WhizzyTeX with Xpdf}
This pauses no major problem.
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Advi}
\begin{frame}{Using \WhizzyTeX with Advi}
Previewing with advi requires some minor configuration. 
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile=singleslide]{Configuration}
\begin{itemize}
\item This requires a version of advi  dated from Sep 7th, 2007 or later.
\item This requires version of whizzytex dated from Sep 7th, 2007 or later. 
\end{itemize}
Documentclass should be called with option hypertex:
\begin{verbatim}
        \documentclass[hypertex]{beamer}
\end{verbatim}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Testing}
\begin{frame}[fragile=singleslide]{Using PStricks with advi}

You may need the following option (depending on your version of PStricks). 
\begin{verbatim}
        \documentclass[xcolor=pst]{beamer}
\end{verbatim}

Another tricks: by the way, we recommend calling
\begin{verbatim}
        \beamertemplatenavigationsymbolsempty
\end{verbatim}
To get read of useless anchors.

See also 
\href{http://www.giref.ulaval.ca/~ctibirna/work/readings/beamer_pstricks.pdf}
{this document} 
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{An example with Overlays}
\begin{itemize}
\item<1-> This is shown on overlays 1 and greater (thus all)
\item<2> This is shown on overlay 2 only
\item<3-> This is shown on overlay 3 and greater
\item<4-> This is shown on overlay 4 and greater, thus  4 only.
\end{itemize}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile=singleslide]{Fragile frame with single slide}

This works well
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile]
\frametitle{Fragile (with no argument)}
\begin{itemize}

\item <1->
This frame works well written as
 \begin{verbatim}
    \begin{frame}[fragile]
    \frametitle{Fragile (with no argument)}
    ...
\end{verbatim}
\item <2-> 
But it would brake if written as
 \begin{verbatim}
    \begin{frame}[fragile]{Fragile (with no argument)}
    ...
\end{verbatim}
This seems to be a problem with beamer, independant of whizzytex.
\end{itemize}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% \begin{frame}{An example with PStricks}
%% \begin{block}{Using colors}
%% Named colors should work fine.
%%  \ovalnode*[fillcolor=orange]{A}{AAAA} \hfil
%%   \ovalnode*[fillcolor={red}]{B}{BBB}\ncarc{A}{B}
%% \end{block}

%% \begin{block}{Un arbre}
%% \pstree[treesep=2em,levelsep=2.5em]{\Toval A}
%%   {\pstree {\Toval B} {
%%      \Ttri*[fillcolor=blue] x
%%      \Ttri* y 
%%      \Ttri*[fillcolor=red] z}}
%% \end{block}
%% \end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{An frame with some PGF}

\begin{pgfpicture}
\pgfseteorule
\pgfsetfillcolor{red}
\pgfpathcircle{\pgfpoint{0mm}{0mm}}{1cm}
\pgfusepath{fill}
\pgfsetcolor{green}
\pgfpathcircle{\pgfpoint{5mm}{0mm}}{1cm}
\pgfusepath{fill}
\end{pgfpicture}

\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



\end{document}