| 1 |
\documentclass[a4paper]{article} |
| 2 |
\usepackage{lucidabr} |
| 3 |
\usepackage{amsmath} |
| 4 |
\usepackage[contnav]{pdfslide} |
| 5 |
\usepackage{pause} |
| 6 |
\pagestyle{title} |
| 7 |
|
| 8 |
\begin{document} |
| 9 |
|
| 10 |
\orgname{Indian \TeX{} Users Group} |
| 11 |
\orgurl{\protect\color{white}http://www.river-valley.com/tug/} |
| 12 |
|
| 13 |
\title{\scalebox{1}[1.3]{Presentations with pdf\TeX}} |
| 14 |
\author{\scalebox{1}[1.3]{C.~V.~Radhakrishnan}} |
| 15 |
\address{River Valley Technologies\\ |
| 16 |
{\realfootnotesize(Development Division of Focal Image (India) Pvt. Ltd.)}\\ |
| 17 |
Software Technology Park, |
| 18 |
Trivandrum, India\\ |
| 19 |
email: {\tt [email protected]}} |
| 20 |
|
| 21 |
\notes{This is for public consumption and for release to |
| 22 |
Comprehensive \TeX{} Archive Network} |
| 23 |
|
| 24 |
\overlay{d12.jpg} |
| 25 |
\maketitle |
| 26 |
|
| 27 |
\pagedissolve{Wipe /D 3 /Dm /V /M /O} |
| 28 |
\overlay{metablue.pdf} |
| 29 |
\sffamily\large |
| 30 |
\color{section0} |
| 31 |
|
| 32 |
\section{Objectives} |
| 33 |
\begin{itemize} |
| 34 |
|
| 35 |
\item to devise a method for easier technical presentation.\pause |
| 36 |
|
| 37 |
\item to help the mix of mathematical formulae with text and graphics |
| 38 |
which the present day \textsc{wysiwyg} tools fail to\linebreak accomplish.\pause |
| 39 |
|
| 40 |
\item to exploit the platform independence of \TeX{} so that |
| 41 |
presentation documents become portable.\pause |
| 42 |
|
| 43 |
\item to offer the freedom and possibilities of using various |
| 44 |
backgrounds and other embellishments that a user can imagine to have in |
| 45 |
his presentation. |
| 46 |
|
| 47 |
\end{itemize} |
| 48 |
|
| 49 |
\headskip=48pt |
| 50 |
\section{Methodology} |
| 51 |
\pagedissolve{Glitter /D 3 /Di /V /M /O} |
| 52 |
\overlay{metalgray.pdf} |
| 53 |
|
| 54 |
\color{section2} |
| 55 |
\begin{enumerate} |
| 56 |
|
| 57 |
\item Make a \LaTeX{} document in the usual way.\pause |
| 58 |
|
| 59 |
\item In the preamble load the slide package with the command\\ |
| 60 |
\color{red}\verb+ \usepackage{pdfslide}+\color{section2} |
| 61 |
|
| 62 |
This shall be loaded as the last package. |
| 63 |
You must have \textcolor{red}{hyperref.sty} version 6.60 or above |
| 64 |
installed in your system.\pause |
| 65 |
|
| 66 |
\item Run pdf\LaTeX{} over your document and you get the pdf output |
| 67 |
which you can view with Acrobat Reader. |
| 68 |
\end{enumerate} |
| 69 |
|
| 70 |
|
| 71 |
\section{Backgrounds} |
| 72 |
\overlay{bg.jpg} |
| 73 |
\pagedissolve{Wipe /D 1 /Di /H /M /O} |
| 74 |
\color{white} |
| 75 |
\begin{itemize} |
| 76 |
\item You can create your own background graphics with your preferred |
| 77 |
packages and include them using the command\\ |
| 78 |
\color{yellow} |
| 79 |
\verb+\overlay{+\textless\emph{filename}\textgreater\verb+}+% |
| 80 |
\color{white}.\pause |
| 81 |
|
| 82 |
\item pdf\TeX{} supports three graphic file formats \emph{viz.}, |
| 83 |
\textcolor{yellow}{\tt pdf, jpeg, png}. If you have \textcolor{yellow}{\tt eps} files |
| 84 |
you can distill them with Acrobat Distiller or use Ghostscript to |
| 85 |
convert them to pdf format.\pause |
| 86 |
|
| 87 |
\item You can change backgrounds for each page, there is no limit. |
| 88 |
|
| 89 |
\end{itemize} |
| 90 |
|
| 91 |
\section{Page Transition} |
| 92 |
\pagedissolve{Wipe /D 1 /Di /H /M /O} |
| 93 |
\overlay{bg.jpg} |
| 94 |
\color{white} |
| 95 |
\begin{itemize} |
| 96 |
\item You can exploit the page transition facilities in the Acrobat. |
| 97 |
Specify your choice by using the command\\ \color{yellow} |
| 98 |
\verb+\pagedissolve{+\textless\emph{option}\textgreater\verb+}+% |
| 99 |
\color{white}\pause |
| 100 |
|
| 101 |
\item A list of page dissolve options and keys are given in the user |
| 102 |
manual of \textcolor{yellow}{\tt pdfslide.sty}. |
| 103 |
|
| 104 |
\end{itemize} |
| 105 |
|
| 106 |
\headskip30pt |
| 107 |
\section{Some Math Equations} |
| 108 |
\pagedissolve{Wipe /D 1 /Di /H /M /O} |
| 109 |
\overlay{mpgraph.pdf} |
| 110 |
\color{section1} |
| 111 |
|
| 112 |
\begin{align} |
| 113 |
\begin{split} |
| 114 |
|I_l| &=\left|\int_\Omega gRu\,\Omega\right|\\ \pause |
| 115 |
&\le C_3\left[\int_\Omega \left(\int_{a}^x |
| 116 |
g(xi,t)\, d\xi\right)^2d \Omega\right]^{1/2}\\ \pause |
| 117 |
&\quad\times\left[\int_\Omega \left\{u^2_x+\frac{1}{k} |
| 118 |
\left(\int_{a}^x cu_t \, d\xi \right)^2\right\} |
| 119 |
c \Omega\right]^{1/2} \\ \pause |
| 120 |
&\le C_4\left|\left| f\left|\widetilde{S}^{-1,0}_{a,-} |
| 121 |
W_2(\Omega,\Gamma_1) \right|\right| |
| 122 |
\left||u|\overset{\circ}\to W_2^{\widetilde{A}} |
| 123 |
\Omega;\Gamma_r,T)\right|\right|. |
| 124 |
\end{split} |
| 125 |
\end{align} |
| 126 |
|
| 127 |
\headskip0pt |
| 128 |
\section{Extra facilities} |
| 129 |
\pagedissolve{Wipe /D 1 /Di /H /M /O} |
| 130 |
\overlay{metalgray.pdf} |
| 131 |
\color{black}\rmfamily |
| 132 |
\realnormalsize |
| 133 |
\subsection{Fonts} |
| 134 |
All the font attributes have been redefined to make them larger than |
| 135 |
the usual size. However, if you want to revert to the original size, |
| 136 |
you will have to add the word \verb+real+ before the font size command, |
| 137 |
i.e., for \verb+\normalsize+, use \verb+\realnormalsize+; for |
| 138 |
\verb+\large+ it is \verb+\reallarge+ and so forth. |
| 139 |
|
| 140 |
\subsection{Headings} |
| 141 |
\verb+\section{...}+ may be used for first level heading for the |
| 142 |
slides. If you need more skip before the heading so as to make the |
| 143 |
whole matter vertically centered, you can change the dimension with the |
| 144 |
command, \verb+\headskip={<+new dimension\verb+>}+. This command shall |
| 145 |
be placed before the section heading and shall be reset at the end of |
| 146 |
the current slide, if you do not want the current skip further. |
| 147 |
|
| 148 |
\subsection{Post-processing} |
| 149 |
The postprocessor \emph{viz.}, \verb+PPower4+ can be applied to the pdf |
| 150 |
generated with this package, so that incremental additions to the pages |
| 151 |
are possible. \verb+PPower4+ is available at |
| 152 |
\href{ftp://ftp.dante.de/support/PPower4}{\textsc{ctan}}. You may need Java |
| 153 |
Virtual Machine running in your system to work with \verb+PPower4+. |
| 154 |
|
| 155 |
\subsection{Page Transition} |
| 156 |
|
| 157 |
Following portion from the well known book, \emph{Web Publishing with |
| 158 |
Acrobat/PDF} by Thomas Merz will largely help to know the options for |
| 159 |
\verb+\pagedissolve+ function. |
| 160 |
|
| 161 |
\definecolor{gray9}{rgb}{1,.894,.769} |
| 162 |
\subsubsection{Keys for page transitions} |
| 163 |
\sffamily\itshape |
| 164 |
\setlength\arrayrulewidth{0pt} |
| 165 |
\def\dash{\noalign{\vskip1.5pt}\hline\noalign{\vskip1.5pt}} |
| 166 |
$$\begin{tabular}{@{}p{1in}p{5in}@{}} |
| 167 |
\rowcolor{section1}Key & Explanation\\\dash |
| 168 |
\rowcolor{gray9} /Split & Two lines sweep across the screen to reveal |
| 169 |
the new page similar to opening a curtain.\\\dash |
| 170 |
\rowcolor{buttondisable} /Blinds & Similar to /Split, but with several lines |
| 171 |
resembling ``venetian blinds''\\\dash |
| 172 |
\rowcolor{gray9} /Box & A box enlarges from the center of the old |
| 173 |
page to reveal the new one.\\\dash |
| 174 |
\rowcolor{buttondisable} /Wipe & A single line ``wipes'' across the old page |
| 175 |
to reveal the new one.\\\dash |
| 176 |
\rowcolor{gray9} /Dissolve & The old page ``dissolves'' to reveal the |
| 177 |
new one.\\\dash |
| 178 |
\rowcolor{buttondisable} /Glitter& Similar to /Dissolve, except the effect |
| 179 |
sweeps from one edge to another.\\\dash |
| 180 |
\rowcolor{gray9} /R (Replace) & The old page is simply replaced with |
| 181 |
the new one without any special effect. |
| 182 |
This is the default. |
| 183 |
\end{tabular}$$ |
| 184 |
\rmfamily\normalfont |
| 185 |
For some of the transitions additional parameters may be specified. The |
| 186 |
following code results in a split effect with the lines moving |
| 187 |
horizontally (/H) from the inner parts of the page to the outer parts |
| 188 |
(/O). The duration of the effect is two seconds (/D): |
| 189 |
\begin{verbatim} |
| 190 |
/S /Split /D 2 /Dm /H /M /O |
| 191 |
\end{verbatim} |
| 192 |
Given below are all supported parameters for page dissolve, along with |
| 193 |
the kind of transition on which the parameters may be applied. |
| 194 |
|
| 195 |
\subsubsection{Additional parameters for page transitions} |
| 196 |
\sffamily\itshape |
| 197 |
$$\begin{tabular}{@{}p{1in}p{5in}@{}} |
| 198 |
\rowcolor{section1}Key & Explanation\\ \dash |
| 199 |
\rowcolor{gray9} /D & Duration of the transition effect in |
| 200 |
seconds (applies to all effects)\\ \dash |
| 201 |
\rowcolor{buttondisable} /Di\hfill\break |
| 202 |
(Direction) & Direction of the movement (multiples of |
| 203 |
90$^\circ$ only). Values increase in a |
| 204 |
counterclockwise fashion, 0$^\circ$ |
| 205 |
points to the right (for /Wipe and |
| 206 |
/Glitter).\\\dash |
| 207 |
\rowcolor{gray9} /Dm\hfill\break |
| 208 |
(Dimension) & Possible values are /H or /V for a |
| 209 |
horizontal or vertical effect, |
| 210 |
respectively (for /Split and |
| 211 |
/Blinds).\\\dash |
| 212 |
\rowcolor{buttondisable} /M \hfill\break |
| 213 |
(Motion) & Specifies whether the effect is |
| 214 |
performed from the center out or |
| 215 |
the edges in. Possible values are |
| 216 |
/I for in and /O for out (for /Split |
| 217 |
and /Box). |
| 218 |
\end{tabular}$$ |
| 219 |
\rmfamily\normalfont |
| 220 |
|
| 221 |
\subsection{Navigation buttons} |
| 222 |
There are two options available \emph{viz}., \verb+contnav+ and |
| 223 |
\verb+ams+. For the first option to work smoothly, |
| 224 |
you need to have the \verb+contnav+ fonts installed in your \TeX{} |
| 225 |
system to have the navigation buttons in the side panel. This font is |
| 226 |
part of the Con\TeX{}t macro package. Navigation buttons from |
| 227 |
top to bottom correspond to first page, previous page, next page, last |
| 228 |
page, go back, go forward and close file respectively. The button below |
| 229 |
the pine tree indicate the current slide number and clicking at it will |
| 230 |
open you the Acrobat window to go to a particular slide. |
| 231 |
|
| 232 |
\TeX{}Live4 has \verb+contnav+ fonts installed, but will have to add |
| 233 |
the following line to the \verb+hoekwater.map+ |
| 234 |
\begin{verbatim} |
| 235 |
contnav ContextNavigation <contnav.pfb |
| 236 |
\end{verbatim} |
| 237 |
so that it will be available to the pdf\TeX. |
| 238 |
|
| 239 |
If \verb+contnav+ font is not available in your \TeX{} distribution, |
| 240 |
you can choose the option \verb+ams+ so that AMS fonts will be used for |
| 241 |
the navigation buttons. |
| 242 |
|
| 243 |
\subsection{\tt pdfslide.cfg} |
| 244 |
There is a configuration file, \verb+pdfslide.cfg+ in which you can |
| 245 |
change all the font attributes for caption, title, author, address, notes, |
| 246 |
all section level headings, change the side panel color, button color, |
| 247 |
button disabled color, button background, button shadow color and button |
| 248 |
text (for languages other than English). |
| 249 |
|
| 250 |
If you don't want \verb+pdfslide.sty+ to read |
| 251 |
the configuration file, you can invoke \verb+nocfg+ as an option to the |
| 252 |
package loading command. |
| 253 |
|
| 254 |
\subsubsection{Acknowledgements} |
| 255 |
Various users of \verb+pdfscreen.sty+ have asked me to write a slide |
| 256 |
package and I drew considerable quantum of inspiration from all those |
| 257 |
who send me kind words of compliments for the \verb+pdfscreen.sty+. |
| 258 |
My special thanks are to Kaveh Bazargan of Focal Image Ltd., London and |
| 259 |
Sebastian Rahtz of Oxford University Computing Services who were |
| 260 |
instrumental in making this package a reality. |
| 261 |
|
| 262 |
\subsubsection{Bug Reports:} |
| 263 |
|
| 264 |
Punch me with your bug reports and I am available at: |
| 265 |
\begin{center} |
| 266 |
\href{mailto:[email protected]}{{\color{red}\tt |
| 267 |
[email protected]}}. |
| 268 |
\end{center} |
| 269 |
\end{document} |
| 270 |
|