## Presentations created with Prosper.TeX

ProsPeR is a LaTeX package to present talks or lecture notes on computer screen or beamer. It was Frédéric Goulard who established this documentclass in 2000, which is still under process.

When you are familiar with LaTeX Prosper is a convenient application. All common LaTeX macros are available and - if needed - some 'special effects': transitions from slide to slide ( Split, Blinds, Box, Wipe, Dissolve, Glitter, Replace ) or page display step by step  (overlays).
The regular Prosper distribution provides a handful of style-files PPRname.sty to start with: the documentclasses [azure, autom, lignesblues, default, darkblue, troispoints, alienglow]. All, except [default], are characterized by solid-colored background.

Visit the sourceforge pages for more information. Rouben Rostamian, Baltimore USA, made available a tutorial and a slide gallery.

Like mathematicians theoretical physicists (I am neither nor) display equations over two or three lines and want to illustrate the stages of development step by step. Sometimes they need more lines and wider margins than offered by default. The normal style-files are designed for short poster-like contents: large fontsize (20pt), wide linespacing etc. The fonts are controlled by the seminarclass , predefined is a font enlargement of \magstep4=2.074 . The commands from \tiny to \Huge can be used - if the fontclass makes them available.

Some PPRstyle files use smaller fonts. Matthias Heil and Andrew L. Hazel, Manchester UK, modified the style-file PPRtroispoints and "stripped it down to the bare essentials...". M. Heil makes it available on the web and offers some files and demos on his webpage.

For local application

You find the Prosper package on Linux machines: /usr/share/texmf/tex/latex/prosper.
Hereinafter you will find what you have to do before getting started, some short explanations, a collection of Prosper features so you get your first output in reasonable time:
 Preparations Configure DVIPS and GV Compilation Create PDF file Print Outs The document itself Documentclass The options Title page Colors Overlays Create thumbnails

### Before starting Prosper ...

Configure DVIPS:
Check whether you have a file .dvipsrc in your home directory. If not create this file and insert the following 2 lines:

p +psfonts.cmz
p +psfonts.amz

Configure Ghostview:
If not yet existing create a file .gv and put it into your home directory and insert the following 3 lines:
GV.antialias:          True
GV.watchFile:          True
GV.watchFileFrequency: 500


### Compilation commands

latex prosperfile.tex
dvips -t a4 prosperfile.dvi
gv -landscape prosperfile.ps &

to view the PS-file with GhostView. The "&" keeps GV running. By each command "dvips..." ; the GV-window is actualized so you can have a look at your layout. Keep in mind, please, that the effect of display options like \begin{slide}[Dissolve]{title} is ignored by GhostView and only displayed with AcrobatReader! GhostView displays the overlays of a page keeping the page number, while AcrobatReader counts each overlay as separate page!
to get forward use the spacebar and to get backward shift+spacebar.
The final version has to be converted into PDF format. Command:
ps2pdf12 prosperfile.ps
%pdf12: version 1.2 output compatible Acrobat3 and later
%
%command "dvips -Ppdf prosperfile.ps" does not work correctly

The command "dvips -Ppdf prosperfile.dvi" also converts to Postscript, but the TeX-ligatures like ff,ffl,fi,fl are replaced by symbol characters (!) - no matter which fontsize is used. By double klick the PDF-file is opened with xpdf.
acroread prosperfile.pdf

Use the arrow-keys to go through the PDF-file. Control + small "L" is an ON/OFF switch for full screen mode. You will find more navigation commands in the AcrobatReader panel. How to show the thumbnails look into the AcrobatReader menu item "Window".

### Print Outs

During the working process or after your work is done you may want to have some pages printed out. No matter whether you print out of GhostView or AcrobatReader to save toner
change the option
\documentclass[slideColor]  to  [slideBW]

When your document contains overlays never use the command "print document", you would get each overlay on one page! Print out of Ghostview by first marking the pages (for pages with overlays mark the last one showing the final status) and then use the command   "print marked pages".

### The document itself

The documentclass   prosper.cls    uses the packages:
seminar    (for font and color management with pstricks)
graphicx    (for positioning of .EPS and .PNG graphics)

The options:   Mandatory are [pdf,slideColor].
Prosper-styles are activated by name such as "azure, autumn, lignesbleues, default"
The option [colorBG] activates a background for the whole page,
the option [nocolorBG] leaves only a left colored column. The style PPRdefault.sty is defined without background color.

Title page:   If you like start your presentation with a title page. Put this sequence into the preamble of your document:
%\titlepage
\title{Title of the Talk}
\subtitle{if any}
\author{}
\email{}
\institution{ }
\slideCaption{}%automatically inserted: "page n/n"
%
\Logo{\includegraphics[height=8mm]{logo.eps}}

The command "\maketitle" just after "\begin{document}" will activate the information given in the preamble. Whether and where the logo is positioned depends on the Prosper-style used (some of them do not provide this option). If they do the logo will be shown on every page except the title page.

Colors:   Prosper supplies the predefined colors
 \black \blue \cyan \darkgray \gray  \green \lightgray \magenta \red \yellow \white 
You are free to define your own special colors following the code structures for
CMYK-colors (cyan magenta yellow black):
\newcmykcolor{headingoneBlue}{0.98 0.13 0 0.43} %%special blue%%
RGB-colors (red green blue):
\newrgbcolor{medblue}{0.01 0.1 0.95}
HSB-colors (hue saturation brightness):
\newhsbcolor{colorname}{0.4 0.8 0.2}
Put your color definitions into the preamble of your prosper.tex. The colors within the text body are activiated by the command "\colorname". A little bit more about color definitions in TeX. The values for TeX-colors can be found in the file color.pro.

Up to now your TEX-file could start like this:
\documentclass[pdf,autumn,slideColor,colorBG]{prosper}
%
%-------Preamble--------------------------------------------%
\usepackage{amsmath}
% without this package '\begin{equation*}' is unknown
\usepackage{pstricks,pst-node,pst-text,pst-3d,psfrag,epic}
\usepackage[ps2pdf]{thumbpdf}
% thumbnails for ps2pdf <
% (small layout-pictograms with pageno.)
%
% COLORS---%
\newrgbcolor{dgreen}{0.0 0.675 0.0}
\newcmykcolor{smallletGreen}{0.64 0 0.95 0.40}%Olivegreen%
\newcmykcolor{txtTan}{0.14 0.42 0.56 0}%Tan%
\newcmykcolor{djungleGreen}{0.99 0 0.52 0}%Djungle%
%
% TITLE---%
\title{Title of the Talk}
\subtitle{if any}
\author{}
\email{}
\institution{ }
\slideCaption{}%automatically inserted: "page n/n"
%
\Logo{\includegraphics[height=8mm]{logo.eps}}
%-------------------------------------------End-Preamble----%
%
\begin{document}
\maketitle <
\begin{slide}{title}
%     slide title is mandatory !!!!
%     otherwise TeX goes on strike
\end{slide}
%

Overlays:  The code embraces a whole slide and allows to display a slide step by step and/or to replace sequences. The code below is selfexplanatory:
\overlays{3}
{%
%use "{%" to avoid misinterpretation of carriage return as blank
\begin{slide}{Example overlays}  %slide title is mandatory!
Slide title and this text are displayed before 1. overlay starts
\untilSlide{2}{this text appears until slide 2}
\fromSlide{2}{this text appears from slide 2 forward}
\onlySlide{3}{this text appears only on slide 3}
\end{slide}
}%<

Thumbnails:  are pictograms of the pages plus page number and a helpful navigation when answering questions of the audience. In window-mode of AcrobatReader they are listed on the left side two in a row and can be scrolled through. Double klick on a thumbnail displays the respective page in the right window of AcrobatReader.

How to create them:
First make your files DVI --> PS --> PDF as mentioned above. Then start the programme "thumbpdf" which will create a thumbnail data file ".TPM". You have to run TeX a second time. The sequence looks like this:
thumbpdf --modes=dvips prosperfile.pdf
latex prosperfile.tex
dvips -t a4 prosperfile.dvi
ps2pdf12 prosperfile.ps
%ps2pdf -dPDFSETTINGS=/prepress prosperfile.ps %
%does not work correctly!

(In contrast to the programme pdflatex the created thumbnails are written into one single .TPM-file.