| 1 |
\documentclass[a4paper]{article} |
| 2 |
\usepackage{xspace,colortbl} |
| 3 |
\usepackage[print,panelright,code,paneltoc,sectionbreak]{pdfscreen} |
| 4 |
\begin{screen} |
| 5 |
\margins{.65in}{.65in}{.65in}{.65in} |
| 6 |
\screensize{6.25in}{8in} |
| 7 |
\changeoverlay |
| 8 |
\paneloverlay{but.pdf} |
| 9 |
\overlay{logo.pdf} |
| 10 |
\def\pfill{\vskip6pt} |
| 11 |
\end{screen} |
| 12 |
|
| 13 |
\renewcommand\floatpagefraction{1} |
| 14 |
\renewcommand\textfraction{0} |
| 15 |
\def\pdfscreen{\texttt{\small\color{section1}pdfscreen}\xspace} |
| 16 |
|
| 17 |
\begin{print} |
| 18 |
\notesname{Notes:} |
| 19 |
\makeatletter |
| 20 |
\def\@seccntformat#1{\llap{\scshape\color{section\thesection@level} |
| 21 |
\csname the#1\endcsname.\hspace*{6pt}}} |
| 22 |
\makeatother |
| 23 |
\end{print} |
| 24 |
|
| 25 |
\begin{document} |
| 26 |
|
| 27 |
\begin{screen} |
| 28 |
\title{\color{section0}\Huge Manual} |
| 29 |
\end{screen} |
| 30 |
|
| 31 |
\begin{print} |
| 32 |
\title{\Huge\texttt{pdfscreen.sty} --- Manual} |
| 33 |
\end{print} |
| 34 |
|
| 35 |
\author{\color{section1}\Large C.~V.~Radhakrishnan\\ |
| 36 |
{\small\href{mailto:[email protected]} |
| 37 |
{\color{section1}\texttt{[email protected]}}}} |
| 38 |
\maketitle |
| 39 |
\begin{screen} |
| 40 |
\vfill |
| 41 |
|
| 42 |
\end{screen} |
| 43 |
|
| 44 |
\begin{abstract} |
| 45 |
\noindent \pdfscreen package helps to redesign the pdf output of your normal |
| 46 |
documents fit to be read in a computer monitor while retaining the |
| 47 |
freedom to format it for conventional printing. This has been brought |
| 48 |
about by redefining the margins and page height/\allowbreak width and |
| 49 |
related dimensions to fit into that of the computer screen. By |
| 50 |
changing the options to \verb+print+ you can switch the package to |
| 51 |
format the document in the conventional way as your class file |
| 52 |
dictates. |
| 53 |
\end{abstract} |
| 54 |
|
| 55 |
\begin{print} |
| 56 |
\tableofcontents |
| 57 |
\end{print} |
| 58 |
\begin{screen} |
| 59 |
|
| 60 |
\vfill |
| 61 |
\end{screen} |
| 62 |
|
| 63 |
\section{Setup}\label{setup} |
| 64 |
|
| 65 |
An elaborate manual is not needed for using \pdfscreen, since |
| 66 |
it is nothing but an extension of the \verb+hyperref.sty+ of |
| 67 |
\href{mailto:[email protected]}{Sebastian Rahtz}. |
| 68 |
The primary aim of the package is to change the dimensions of the width |
| 69 |
and height of the page so as to provide an ideal dimension |
| 70 |
that is fit for screen viewing rather than printing. As such, all those |
| 71 |
dimensions that control the page shape are redefined to result the |
| 72 |
desired screen size. The preamble portion requires the package loading |
| 73 |
command as given below: |
| 74 |
\begin{decl} |
| 75 |
|\usepackage|\Oarg{screen,panelleft}\Arg{pdfscreen} |
| 76 |
\end{decl} |
| 77 |
There is no need to specify the |
| 78 |
\verb+\usepackage{hyperref}+ with its options, since \verb+hyperref+ is |
| 79 |
loaded by the \pdfscreen. Unlike previous verions you can load |
| 80 |
|hyperref.sty| prior to \pdfscreen with necessary options if you like, |
| 81 |
if so \pdfscreen will not reload |hyperref|. The default backend driver |
| 82 |
for \pdfscreen is |pdftex|. However, you can specify your backend |
| 83 |
driver as an option. |
| 84 |
|
| 85 |
It will be nicer if \pdfscreen is loaded as the last package |
| 86 |
in the preamble so as to avoid further redefinition of commands that |
| 87 |
are used by \pdfscreen. |
| 88 |
|
| 89 |
|
| 90 |
\subsection{Options}\label{options} |
| 91 |
The following options are available: |
| 92 |
|
| 93 |
\begin{enumerate} |
| 94 |
|
| 95 |
\item \verb+screen+ -- generates the screen version |
| 96 |
|
| 97 |
\item \verb+print+ -- generates the print that looks like your |
| 98 |
\verb+dvi+ |
| 99 |
|
| 100 |
\item \verb+panelleft+ -- navigation panel in the left |
| 101 |
side |
| 102 |
|
| 103 |
\item \verb+panelright+ -- navigation panel in the right |
| 104 |
side |
| 105 |
|
| 106 |
\item \verb+nopanel+ -- suppresses the panel |
| 107 |
|
| 108 |
\item \verb+paneltoc+ -- table of contents in the panel. With this |
| 109 |
option invoked, please do not use |\tableofcontents| command in the |
| 110 |
document and |paneltoc| stops as soon as |\tableofcontents| command is |
| 111 |
encountered. |
| 112 |
|
| 113 |
\item |sectionbreak| -- will introduce pagebreak before a section. |
| 114 |
|
| 115 |
\item |code| -- provides commands that can be used to list |verbatim| |
| 116 |
like listing of program code as found in the \LaTeX{} documentation. |
| 117 |
|
| 118 |
\begin{verbatim} |
| 119 |
\begin{decl}\\ |
| 120 |
|\usepackage|\oarg{options}\arg{package}\\ |
| 121 |
|\screensize|\Arg{6.25in}\Arg{8in} |
| 122 |
\end{decl} |
| 123 |
\end{verbatim} |
| 124 |
|
| 125 |
\begin{decl} |
| 126 |
|\usepackage|\oarg{options}\arg{package}\\ |
| 127 |
|\screensize|\Arg{6.25in}\Arg{8in} |
| 128 |
\end{decl} |
| 129 |
|
| 130 |
\item \textbf{Backend drivers}: |dvips|, |dvipsone|, \dots, |vtex| can be |
| 131 |
specified as an optional backend driver. |pdftex| is the default. |
| 132 |
|
| 133 |
\item \textbf{Color schemes}: There are six color schemes -- |
| 134 |
bluelace, blue, gray, orange, palegreen and chocolate -- available for |
| 135 |
panel and buttons that you can give as an option to the package. |
| 136 |
Default is blue. |
| 137 |
|
| 138 |
\item \textbf{Foreign language support}: Not all the foreign languages |
| 139 |
are supported. Only 15 European languages are supported at the moment. |
| 140 |
However, all the language names as you give in the \verb+babel+ |
| 141 |
package can be given here as an option. If the language is not |
| 142 |
supported, the package will default to English. I may request users to |
| 143 |
send me the translation of the button text in the navigation panel in |
| 144 |
your language, if it is not supported. |
| 145 |
|
| 146 |
\item \verb+nocfg+ -- an option to suppress the configuration file (see |
| 147 |
\autoref{cfg}), if you don't want to use its specifications. |
| 148 |
|
| 149 |
\end{enumerate} |
| 150 |
|
| 151 |
\subsection{Other parameters to be passed}\label{parameters} |
| 152 |
Few more parameters are to be passed on to the \pdfscreen to make it more |
| 153 |
functional. They are: |
| 154 |
|
| 155 |
\begin{decl}\verb+\emblema+\arg{graphic file name}\end{decl} the name of the graphic file that appears on |
| 156 |
the navigation panel. |
| 157 |
|
| 158 |
\begin{decl}\verb+\urlid+\arg{URL name}\end{decl} The |home page| |
| 159 |
button in the navigation panel will be linked to the \textsc{url}. |
| 160 |
|
| 161 |
\begin{decl}\verb+\screensize+\arg{height}\arg{width}\end{decl} |
| 162 |
This command will facilitate to specify the screen dimensions of the |
| 163 |
pdf output. No default screen dimensions are available, and therefore |
| 164 |
the user has to specify it explicitly. There are no restrictions on the |
| 165 |
screen dimensions. Unlike previous versions, the user is free to choose |
| 166 |
any dimension. The default width of the panel is 15\% of the width of |
| 167 |
the screen. |
| 168 |
|
| 169 |
\begin{decl} |
| 170 |
|\margins|\arg{left}\arg{right}\arg{top}\arg{bottom} |
| 171 |
\end{decl} |
| 172 |
This command will set the margins of the document. |
| 173 |
There are no default values for margins and you will have to specify it |
| 174 |
explicitly in the document preamble. |
| 175 |
|
| 176 |
With |\margins| and |\screensize| explicitly given in the document |
| 177 |
preamble, \pdfscreen now obeys whatever screen size and |
| 178 |
margins the user has specified. This change is brought consequent to |
| 179 |
the bug report of \href{[email protected]}{D.~P.~Story}. |
| 180 |
|
| 181 |
\subsection{Typical preamble} |
| 182 |
A typical document preamble is given below (with which this document is |
| 183 |
formatted): |
| 184 |
|
| 185 |
\begin{decl} |
| 186 |
|\documentclass[a4paper,11pt]{article}|\\ |
| 187 |
|\usepackage{xspace,colortbl}|\\ |
| 188 |
| |\\ |
| 189 |
|\usepackage|\Oarg{screen,panelleft,gray,paneltoc}\Arg{pdfscreen}\\ |
| 190 |
|\margins|\Arg{.75in}\Arg{.75in}\Arg{.75in}\Arg{.75in}\\ |
| 191 |
|\screensize|\Arg{6.25in}\Arg{8in}\\ |
| 192 |
|\overlay|\Arg{lightsteelblue.pdf}\\ |
| 193 |
| |\\ |
| 194 |
|\begin{document}| |
| 195 |
\end{decl} |
| 196 |
|
| 197 |
\subsection{Packages needed to run \pdfscreen} |
| 198 |
The following packages are needed for smooth compilation (grab the |
| 199 |
latest from \textsc{ctan}: |
| 200 |
|
| 201 |
\begin{enumerate} |
| 202 |
\item |hyperref.sty| |
| 203 |
\item |comment.sty| |
| 204 |
\item |truncate.sty| |
| 205 |
\item |graphicx.sty| |
| 206 |
\item |color.sty| |
| 207 |
\item |colortbl.sty| |
| 208 |
\item |calc.sty| |
| 209 |
\item |amssymb.sty| |
| 210 |
\item |amsbsy.sty| |
| 211 |
\item |shortvrb.sty| |
| 212 |
\item |fancybox.sty| |
| 213 |
|
| 214 |
\end{enumerate} |
| 215 |
|
| 216 |
\section{Navigation Panel} |
| 217 |
The design of the navigation panel is left entirely to the imagination |
| 218 |
of the user. One can create a panel as per his taste. A |
| 219 |
newer command, \verb+\panel+ has been added and a default |
| 220 |
panel is also supplied, which is nothing but a box with navigation |
| 221 |
buttons vertically arranged. There is also a command: |
| 222 |
|
| 223 |
\begin{decl} |
| 224 |
|\addButton|\arg{length}\arg{button text string} |
| 225 |
\end{decl} |
| 226 |
which you can use to generate buttons of your choice. Here is an |
| 227 |
example of how to produce a Next Page button: |
| 228 |
\begin{decl} |
| 229 |
|\Acrobatmenu{NextPage}{\addButton|\Arg{1.25in}\Arg{Next Page}|}| |
| 230 |
\end{decl} |
| 231 |
This will generate the following navigation button |
| 232 |
\begin{center} |
| 233 |
\Acrobatmenu{NextPage}{\addButton{1.25in}{Next Page}} |
| 234 |
\end{center} |
| 235 |
and clicking this will take you to the next page. In the same way, you |
| 236 |
can build buttons with images too, for which the command, |
| 237 |
\begin{decl} |
| 238 |
|\imageButton|\arg{width}\arg{height}\arg{graphic file name} |
| 239 |
\end{decl} |
| 240 |
will be useful. |
| 241 |
\begin{center} |
| 242 |
\href{http://www.tug.org}{\imageButton{.75in}{!}{tex}} |
| 243 |
\end{center} |
| 244 |
|
| 245 |
The \textsc{tug} image button is generated by: |
| 246 |
\begin{verbatim} |
| 247 |
\href{http://www.tug.org}{\imageButton{.5in}{!}{tex.png}} |
| 248 |
\end{verbatim} |
| 249 |
|
| 250 |
Clicking this button will take you to \url{http://www.tug.org}, the |
| 251 |
\TeX{} Users Group web site. |
| 252 |
|
| 253 |
The navigation panel can be positioned at user's will either to the |
| 254 |
left side or right side. To see different types of output click the |
| 255 |
buttons in \autoref{fig2}. |
| 256 |
|
| 257 |
\begin{figure}\footnotesize\fboxsep 10pt |
| 258 |
\colorbox{panelbackground}{% |
| 259 |
\begin{minipage}{\linewidth-20pt} |
| 260 |
\color{orange} |
| 261 |
\begin{flushleft} |
| 262 |
\def\pba#1{\begin{minipage}[c][18pt][c]{75pt}#1\end{minipage}} |
| 263 |
\def\pbb#1{$\Rightarrow$\fboxsep3pt\colorbox{white} |
| 264 |
{\begin{minipage}[c]{\linewidth-100pt} |
| 265 |
\footnotesize\color{section1}#1 |
| 266 |
\end{minipage}}} |
| 267 |
\definecolor{buttonbackground}{rgb}{.902,.902,.980} |
| 268 |
\definecolor{buttonshadow}{rgb}{.412,.412,.412} |
| 269 |
\pba{\href{left.pdf}{\addButton{1in}{Left Panel}}} |
| 270 |
\pbb{{\tt\string\usepackage}\Oarg{screen,panelleft}\Arg{pdfscreen}}\\[2pt] |
| 271 |
\pba{\href{right.pdf}{\addButton{1in}{Right Panel}}} |
| 272 |
\pbb{{\tt\string\usepackage}\Oarg{screen,panelright}\Arg{pdfscreen}}\\[2pt] |
| 273 |
\pba{\href{nopanel.pdf}{\addButton{1in}{No Panel}}} |
| 274 |
\pbb{{\tt\string\usepackage}\Oarg{screen,nopanel}\Arg{pdfscreen}}\\[2pt] |
| 275 |
\pba{\href{portrait.pdf}{\addButton{1in}{Portrait}}} |
| 276 |
\pbb{Change screen size with the command:\hfill\break |
| 277 |
{\tt\string\screensize}\arg{height}\arg{width}}\\[2pt] |
| 278 |
\pba{\href{square.pdf}{\addButton{1in}{Square}}} |
| 279 |
\pbb{Change screen size with the command:\hfill\break |
| 280 |
{\tt\string\screensize\arg{height}\arg{width}} command}\\[2pt] |
| 281 |
\pba{\href{widepanel.pdf}{\addButton{1in}{Wide Panel}}} |
| 282 |
\pbb{{\tt\string\panelwidth}=\textcolor{red}{\it\textless dimension\textgreater}}\\[2pt] |
| 283 |
\pba{\href{print.pdf}{\addButton{1in}{Print version}}} |
| 284 |
\pbb{{\tt\string\usepackage}\Oarg{print}\Arg{pdfscreen}} |
| 285 |
\end{flushleft} |
| 286 |
\end{minipage}} |
| 287 |
\caption{Different types of panel positioning\label{fig2}} |
| 288 |
\end{figure} |
| 289 |
|
| 290 |
|
| 291 |
Width of the panel can be changed by explicitly giving in the preamble |
| 292 |
of the document like \verb+\panelwidth=<dimension>+. |
| 293 |
The default is 15\% of the screen width, however, there is a minimum |
| 294 |
value of 1in in case 15\% of the screen width goes below 1in. |
| 295 |
|
| 296 |
You can define your own panel which is nothing but a vertical box with |
| 297 |
whatever stuff you want to fit into. The navigation panel of this |
| 298 |
document is made up of the following code: |
| 299 |
|
| 300 |
\begin{verbatim} |
| 301 |
\panelwidth=1.3in |
| 302 |
\def\panel{\colorbox{panelbackground} |
| 303 |
{\begin{minipage}[t][\paperheight][b]{\panelwidth} |
| 304 |
\centering\null\vspace*{12pt} |
| 305 |
\includegraphics[width=.75in]{univ}\par\vfill |
| 306 |
\href{\@urlid}{\addButton{.85in}{\@Panelhomepagename}}\par\vfill |
| 307 |
\Acrobatmenu{FirstPage}{\addButton{.85in} |
| 308 |
{\FBlack\@Paneltitlepagename}}\par\vfill |
| 309 |
\Acrobatmenu{FirstPage}{\addButton{.2in} |
| 310 |
{\FBlack\scalebox{.8}[1.4]{\btl\btl}}}\hspace{-3pt} |
| 311 |
\Acrobatmenu{PrevPage}{\addButton{.2in} |
| 312 |
{\FBlack\scalebox{.8}[1.4]{\btl}}}\hspace{-3pt} |
| 313 |
\Acrobatmenu{NextPage}{\addButton{.2in} |
| 314 |
{\LBlack\scalebox{.8}[1.4]{\rtl}}}\hspace{-3pt} |
| 315 |
\Acrobatmenu{LastPage}{\addButton{.2in} |
| 316 |
{\LBlack\scalebox{.8}[1.4]{\rtl\rtl}}}\par\vfill |
| 317 |
\Acrobatmenu{GoBack}{\addButton{.85in} |
| 318 |
{\@Panelgobackname}}\par\vfill |
| 319 |
\Acrobatmenu{FullScreen}{\addButton{.85in}{Full Screen}}\par\vfill |
| 320 |
\Acrobatmenu{Close}{\addButton{.85in}{\@Panelclosename}}\par\vfill |
| 321 |
\Acrobatmenu{Quit}{\addButton{.85in}{\@Panelquitname}}\par |
| 322 |
\null\vspace*{12pt} |
| 323 |
\end{minipage}}} |
| 324 |
\end{verbatim} |
| 325 |
|
| 326 |
\section{Other facilities} |
| 327 |
\subsection{Background} |
| 328 |
|
| 329 |
The background of the screen area can be overlayed with a graphic file |
| 330 |
with the command |\overlay|\arg{graphic file name}. Alternatively, you |
| 331 |
can specify a background color by saying |\backgroundcolor|\arg{color} |
| 332 |
where \verb+color+ is a predefined color with the commands provided by |
| 333 |
the \verb+color.sty+. |
| 334 |
|
| 335 |
The background of the panel can also be provided by a graphic file with |
| 336 |
the command |\paneloverlay|\arg{graphic file}. If you do not specify |
| 337 |
an overlay graphic for the panel, the panelbackground color will take |
| 338 |
effect. You can redefine the panelbackground color to your choice, if |
| 339 |
you find the default color distasteful, or else you can specify the |
| 340 |
same in the \verb+pdfscreen.cfg+ file. |
| 341 |
|\overlayempty| and |\paneloverlayempty| commands help you to |
| 342 |
suppress the overlays at any stage. |
| 343 |
|
| 344 |
A new command |\changeoverlay| has been introduced and a series of |
| 345 |
small pdf files, each with less than 2 KB file size are offered, so |
| 346 |
that you can have different overlays with the change of each section |
| 347 |
unit and it will reset on every tenth section. |
| 348 |
|
| 349 |
You can create your own overlays and modify the |\change| command |
| 350 |
with your overlay files. |
| 351 |
|
| 352 |
\subsection{Bottom buttons} |
| 353 |
|
| 354 |
Bottom footer menu can be invoked with |\bottombuttons| and can be |
| 355 |
closed with |\nobottombuttons|. So also in the academic interest, |
| 356 |
|\topbuttons| and |\notopbuttons| are also available. You can |
| 357 |
have both the buttons in the same page, though it is bizarre looking. |
| 358 |
|
| 359 |
\subsection{Table of contents in the panel} |
| 360 |
|
| 361 |
The package option \verb+paneltoc+ will allow you to have the table |
| 362 |
of contents in the navigation panel. In an article, only section |
| 363 |
headings are shown in the panel toc. Users are requested to use this |
| 364 |
option with caution, since it is prone to blow up the list and verbatim |
| 365 |
environments spanning multiple pages. However, a manual intervention |
| 366 |
with a \verb+\clearpage+ command at the appropriate location can |
| 367 |
ease you to a certain extent. |
| 368 |
|
| 369 |
\subsection{Configuration file}\label{cfg} |
| 370 |
|
| 371 |
You can keep a configuration file called \verb+pdfscreen.cfg+ in which |
| 372 |
you can provide your own translation of button |
| 373 |
text if your language is unsupported by the package, newer color |
| 374 |
schemes if you dislike the schemes offered, your |
| 375 |
\textsc{url} id, affiliation and division names, date |
| 376 |
argument, graphic file name of your logo/\allowbreak emblem. I would |
| 377 |
suggest to use a configuration file, in which you can give all your |
| 378 |
site specific requirements, that has another advantage of eliminating |
| 379 |
the clustered look at the preamble of the document. A typical |
| 380 |
configuration file is supplied with the package. |
| 381 |
|
| 382 |
\section{Slides} |
| 383 |
|
| 384 |
A slide environment is available which can be entered as |
| 385 |
\begin{verbatim} |
| 386 |
\begin{slide} |
| 387 |
. |
| 388 |
. |
| 389 |
. |
| 390 |
slide material |
| 391 |
. |
| 392 |
. |
| 393 |
. |
| 394 |
\end{slide} |
| 395 |
\end{verbatim} |
| 396 |
This is a box spanning the width and height of the text area, within |
| 397 |
which the material will be vertically centered. |
| 398 |
|
| 399 |
\subsection{Fonts} |
| 400 |
All the font attributes have been redefined to make them larger than |
| 401 |
the usual size inside the slide environment. However, if you want to |
| 402 |
revert to the original size, you will have to add the word \verb+real+ |
| 403 |
before the font size command, i.e., for \verb+\normalsize+, use |
| 404 |
\verb+\realnormalsize+; for \verb+\large+ it is \verb+\reallarge+ and |
| 405 |
so forth. |
| 406 |
|
| 407 |
\subsection{Post-processing} |
| 408 |
|
| 409 |
The postprocessor \emph{viz.}, \verb+PPower4+ can be applied to the pdf |
| 410 |
generated with this package, so that incremental additions to the pages |
| 411 |
are possible. \verb+PPower4+ is available at |
| 412 |
\href{ftp://ftp.dante.de/support/PPower4}{\textsc{ctan}}. You may need |
| 413 |
Java Virtual Machine running in your system to work with |
| 414 |
\verb+PPower4+. I have not tried the \TeX{}Power package by |
| 415 |
\href{mailto:[email protected]}{Stephan Lehmke} |
| 416 |
with \verb+pdfscreen+, but I would recommend this for effecting |
| 417 |
incremental builds. |
| 418 |
|
| 419 |
\begin{print} |
| 420 |
With |print| option invoked, the slide environment will print as a |
| 421 |
boxed minipage with another ovalbox adjacent to the slide box. This |
| 422 |
will prove useful for the audience to record any notes/queries during |
| 423 |
presentation which they can discuss with the speaker at the end of his |
| 424 |
session. The `Notes' that appear in the query box can be redefined to |
| 425 |
the string you like in your language by the command: |
| 426 |
\begin{decl} |
| 427 |
|\def\notesname|\arg{your string} |
| 428 |
\end{decl} |
| 429 |
\end{print} |
| 430 |
|
| 431 |
\noindent{\begin{slide} |
| 432 |
\color{section0} |
| 433 |
\begin{center} |
| 434 |
\Large\itshape The objectives of the slide option are: |
| 435 |
\end{center} |
| 436 |
\sffamily |
| 437 |
\rightmargin\leftmargin |
| 438 |
\begin{itemize} |
| 439 |
\rightmargin\leftmargin |
| 440 |
\itshape |
| 441 |
\item to devise a method for easier technical presentation. |
| 442 |
|
| 443 |
\item to help the mix of mathematical formulae with text and graphics |
| 444 |
which the present day \textsc{wysiwyg} tools fail to accomplish. |
| 445 |
|
| 446 |
\item to exploit the platform independence of \TeX{} so that |
| 447 |
presentation documents become portable. |
| 448 |
|
| 449 |
\item to offer the freedom and possibilities of using various |
| 450 |
backgrounds and other embellishments that a user can imagine to have in |
| 451 |
his presentation. |
| 452 |
|
| 453 |
\end{itemize} |
| 454 |
|
| 455 |
\end{slide}} |
| 456 |
|
| 457 |
\section{Page Transition} |
| 458 |
\begin{itemize} |
| 459 |
\item You can exploit the page transition facilities in the Acrobat. |
| 460 |
Specify your choice by using the command |\pagedissolve|\arg{option}. |
| 461 |
|
| 462 |
\item A list of page dissolve options and keys are given in \autoref{tab1}. |
| 463 |
|
| 464 |
\end{itemize} |
| 465 |
|
| 466 |
The page dissolve options are taken from the well known book, \emph{Web |
| 467 |
Publishing with Acrobat/\textsc{pdf}} by Thomas Merz will largely help to know |
| 468 |
the options for \verb+\pagedissolve+ function. |
| 469 |
|
| 470 |
\definecolor{gray9}{rgb}{1,.894,.769} |
| 471 |
\subsubsection*{Keys for page transitions} |
| 472 |
\def\dash{\noalign{\vskip1.5pt}\hline\noalign{\vskip1.5pt}} |
| 473 |
\begin{screen} |
| 474 |
\begin{table}[b] |
| 475 |
\sffamily\itshape\footnotesize |
| 476 |
\setlength\arrayrulewidth{0pt} |
| 477 |
\begin{tabular}{@{}p{.15\linewidth}p{.8\linewidth}@{}} |
| 478 |
\rowcolor{section1}Key & Explanation\\\dash |
| 479 |
\rowcolor{gray9} /Split & Two lines sweep across the screen to reveal |
| 480 |
the new page similar to opening a curtain.\\\dash |
| 481 |
\rowcolor{buttondisable} /Blinds & Similar to /Split, but with several lines |
| 482 |
resembling ``Venetian blinds''\\\dash |
| 483 |
\rowcolor{gray9} /Box & A box enlarges from the center of the old |
| 484 |
page to reveal the new one.\\\dash |
| 485 |
\rowcolor{buttondisable} /Wipe & A single line ``wipes'' across the old page |
| 486 |
to reveal the new one.\\\dash |
| 487 |
\rowcolor{gray9} /Dissolve & The old page ``dissolves'' to reveal the |
| 488 |
new one.\\\dash |
| 489 |
\rowcolor{buttondisable} /Glitter& Similar to /Dissolve, except the effect |
| 490 |
sweeps from one edge to another.\\\dash |
| 491 |
\rowcolor{gray9} /R (Replace) & The old page is simply replaced with |
| 492 |
the new one without any special effect. |
| 493 |
This is the default. |
| 494 |
\end{tabular} |
| 495 |
\caption{Keys for page transition\label{tab1}} |
| 496 |
\end{table} |
| 497 |
\end{screen} |
| 498 |
|
| 499 |
\begin{print} |
| 500 |
\begin{table} |
| 501 |
\sffamily\itshape\footnotesize |
| 502 |
\setlength\arrayrulewidth{.1pt} |
| 503 |
\begin{tabular}{@{}p{.15\linewidth}p{.8\linewidth}@{}} |
| 504 |
\dash |
| 505 |
Key & Explanation\\\dash |
| 506 |
/Split & Two lines sweep across the screen to reveal |
| 507 |
the new page similar to opening a curtain.\\\dash |
| 508 |
/Blinds & Similar to /Split, but with several lines |
| 509 |
resembling ``Venetian blinds''\\\dash |
| 510 |
/Box & A box enlarges from the center of the old |
| 511 |
page to reveal the new one.\\\dash |
| 512 |
/Wipe & A single line ``wipes'' across the old page |
| 513 |
to reveal the new one.\\\dash |
| 514 |
/Dissolve & The old page ``dissolves'' to reveal the |
| 515 |
new one.\\\dash |
| 516 |
/Glitter& Similar to /Dissolve, except the effect |
| 517 |
sweeps from one edge to another.\\\dash |
| 518 |
/R (Replace) & The old page is simply replaced with |
| 519 |
the new one without any special effect. |
| 520 |
This is the default. \\\dash |
| 521 |
\end{tabular} |
| 522 |
|
| 523 |
\caption{Keys for page transition\label{tab1}} |
| 524 |
\end{table} |
| 525 |
\end{print} |
| 526 |
|
| 527 |
For some of the transitions, additional parameters may be specified. The |
| 528 |
code given below results in a split effect with the lines moving |
| 529 |
horizontally (/H) from the inner parts of the page to the outer parts |
| 530 |
(/O). The duration of the effect is two seconds (/D): |
| 531 |
\begin{verbatim} |
| 532 |
/S /Split /D 2 /Dm /H /M /O |
| 533 |
\end{verbatim} |
| 534 |
|
| 535 |
All supported parameters for page dissolve, along with |
| 536 |
the kind of transition on which the parameters may be applied are given |
| 537 |
in \autoref{tab2}. |
| 538 |
|
| 539 |
\begin{screen} |
| 540 |
\begin{table} |
| 541 |
\sffamily\itshape\footnotesize |
| 542 |
\setlength\arrayrulewidth{0pt} |
| 543 |
\begin{tabular}{@{}p{.15\linewidth}p{.8\linewidth}@{}} |
| 544 |
\rowcolor{section1}Key & Explanation\\ \dash |
| 545 |
\rowcolor{gray9} /D & Duration of the transition effect in |
| 546 |
seconds (applies to all effects)\\ \dash |
| 547 |
\rowcolor{buttondisable} /Di\hfill\break |
| 548 |
(Direction) & Direction of the movement (multiples of |
| 549 |
90$^\circ$ only). Values increase in a |
| 550 |
counterclockwise fashion, 0$^\circ$ |
| 551 |
points to the right (for /Wipe and |
| 552 |
/Glitter).\\\dash |
| 553 |
\rowcolor{gray9} /Dm\hfill\break |
| 554 |
(Dimension) & Possible values are /H or /V for a |
| 555 |
horizontal or vertical effect, |
| 556 |
respectively (for /Split and |
| 557 |
/Blinds).\\\dash |
| 558 |
\rowcolor{buttondisable} /M \hfill\break |
| 559 |
(Motion) & Specifies whether the effect is |
| 560 |
performed from the center out or |
| 561 |
the edges in. Possible values are |
| 562 |
/I for in and /O for out (for /Split |
| 563 |
and /Box). |
| 564 |
\end{tabular} |
| 565 |
|
| 566 |
\caption{Additional parameters for page transitions\label{tab2}} |
| 567 |
\end{table} |
| 568 |
\end{screen} |
| 569 |
|
| 570 |
\begin{print} |
| 571 |
\begin{table} |
| 572 |
\sffamily\itshape\footnotesize |
| 573 |
\setlength\arrayrulewidth{.10pt} |
| 574 |
\begin{tabular}{@{}p{.15\linewidth}p{.8\linewidth}@{}} |
| 575 |
\dash |
| 576 |
Key & Explanation\\ \dash |
| 577 |
/D & Duration of the transition effect in |
| 578 |
seconds (applies to all effects)\\ \dash |
| 579 |
/Di\hfill\break |
| 580 |
(Direction) & Direction of the movement (multiples of |
| 581 |
90$^\circ$ only). Values increase in a |
| 582 |
counterclockwise fashion, 0$^\circ$ |
| 583 |
points to the right (for /Wipe and |
| 584 |
/Glitter).\\\dash |
| 585 |
/Dm\hfill\break |
| 586 |
(Dimension) & Possible values are /H or /V for a |
| 587 |
horizontal or vertical effect, |
| 588 |
respectively (for /Split and |
| 589 |
/Blinds).\\\dash |
| 590 |
/M \hfill\break |
| 591 |
(Motion) & Specifies whether the effect is |
| 592 |
performed from the center out or |
| 593 |
the edges in. Possible values are |
| 594 |
/I for in and /O for out (for /Split |
| 595 |
and /Box). \\ |
| 596 |
\dash |
| 597 |
\end{tabular} |
| 598 |
|
| 599 |
\caption{Additional parameters for page transitions\label{tab2}} |
| 600 |
\end{table} |
| 601 |
\end{print} |
| 602 |
|
| 603 |
\section{Bugs and TODO} |
| 604 |
|
| 605 |
\begin{enumerate} |
| 606 |
\item Enumerated and itemized lists spanning across pages create a |
| 607 |
nasty |missing \item| error. \href{mailto:[email protected]}{D.~P.~Story} |
| 608 |
has found out the reason to be the centering command, |\begin{center}| |
| 609 |
\dots |\end{center}| code inside the |\panel| macros. His suggestion to |
| 610 |
change this to |\centering| has made a dramatic effect thus eliminating |
| 611 |
the |missing \item| error. However, if |paneltoc| option is invoked, |
| 612 |
there is a slight shift in the spacing between table of contents |
| 613 |
entries in the panel toc is oberved. Still a bug \dots |
| 614 |
|
| 615 |
\item |verbatim| environment when spanned across pages (or if a page |
| 616 |
break occurs amidst a verbatim environment) also had similar bug, |
| 617 |
resulting in the panel toc items appearing in verbatim mode. A fix has |
| 618 |
been made again by \href{mailto:[email protected]}{D.~P.~Story} by |
| 619 |
putting the verbatim in a vertical box and spliting with |\vsplit| at |
| 620 |
the pagebreak. This solved the above problem, but a new problem of loss |
| 621 |
of colors and font attributes in the second box material after split |
| 622 |
has errupted. |
| 623 |
|
| 624 |
\end{enumerate} |
| 625 |
|
| 626 |
\section{Acknowledgements} |
| 627 |
|
| 628 |
The development of this package was funded by the University of |
| 629 |
Auckland, New Zealand (\href{mailto:[email protected]}{John |
| 630 |
Hillas} of Department of Economics made available the funds, to whom I |
| 631 |
owe much gratitude). I owe much thanks to |
| 632 |
\href{mailto:[email protected]}{Sebastian Rahtz} for his |
| 633 |
patient replies to my incessant queries. The design of the side |
| 634 |
navigation panel is due to \href{mailto:[email protected]}{Kaveh |
| 635 |
Bazargan} of Focal Image Ltd., London and it was at his goading that I |
| 636 |
started writing this package. |
| 637 |
|
| 638 |
The current version (v1.3) is a complete rewrite and therefore |
| 639 |
it may be possible that the documents compiled with older versions may |
| 640 |
break down, though every effort has been made to keep the downward |
| 641 |
compatibility and the old commands and options are still kept in order |
| 642 |
not to blow up your documents which runs smoothly with previous |
| 643 |
versions. |
| 644 |
|
| 645 |
I firmly believe that the code demands further optimization and may |
| 646 |
have bugs that will show up during exhaustive usage. I request you to |
| 647 |
send me the bug reports as and when they exhibit their ugly faces. |
| 648 |
|
| 649 |
My special thanks are for all those users who deploy |
| 650 |
\verb+pdfscreen.sty+ for their document preparation, and for their kind |
| 651 |
words of appreciation. |
| 652 |
|
| 653 |
\pdfscreen works well with the much used package, \verb+exerquiz.sty+ |
| 654 |
of \href{mailto:[email protected]}{Donald P.~Story} |
| 655 |
(\url{http://www.math.uakron.edu/~dpstory/pdf_demos.html}) without |
| 656 |
clashes. Feedback on the usage of \TeX{}Power with \pdfscreen is |
| 657 |
requested from users. |
| 658 |
|
| 659 |
My mail id for contact is \href{mailto:[email protected]}% |
| 660 |
{\tt [email protected]}. |
| 661 |
|
| 662 |
\end{document} |
| 663 |
|