You are on page 1of 16

Latex/PDF slideshows on Linux

Maxim Voronkov

ATNF, Narrabri

Latex/PDF slideshows on Linux – p.1/11


Why LATEX/PDF presentations?

The software is free and doesn’t require


Microsoft R software to run
Easy to insert any mathematical content and
figures directly from any paper or vise versa
The source code is a plain text file. It is rather
small and easy to handle
The output PDF file is platform-independent

Latex/PDF slideshows on Linux – p.2/11


Why LATEX/PDF presentations?

The software is free and doesn’t require


Microsoft R software to run
Easy to insert any mathematical content and
figures directly from any paper or vise versa
The source code is a plain text file. It is rather
small and easy to handle
The output PDF file is platform-independent

The Prosper LaTeX class is a good choice

Latex/PDF slideshows on Linux – p.2/11


 How it works

documentclass[pdf,colorBG,slideColor,darkblue]{prosper}


title{Presentation title}


autor{Author’s name}


institution{Author’s institution}


begin{document}


maketitle


begin{slide}

.... actual content ...




end{slide}


end{document}
Latex/PDF slideshows on Linux – p.3/11
Making PDF
LATEX document is compiled as usual
latex presentation.tex
makes presentation.dvi
dvipdf presentation.dvi
R
makes presentation.pdf, which can be viewed by Acrobat Reader

The following preamble command starts the


presentation in the full screen viewing mode
by default


hypersetup{pdfpagemode=FullScreen}

Alternatively Ctrl L can be used manually


Latex/PDF slideshows on Linux – p.4/11


 
    
  
  







 

,

 

 

 
!  

"
The content may be a formula

$ #
% 
&
Example of content


$ ' 



)
( $ #


* 
&

'
* 







Latex/PDF slideshows on Linux – p.5/11
PSTricks: Flow-charts

Begin Reset the model

Search for maximum Residual dirty image


No
Update the model Last iteration?
Yes
End

Latex/PDF slideshows on Linux – p.6/11


Overlays


fromSlide{2}{something}


overlays{3}{


untilSlide{2}{something}


begin{slide}


onlySlide{3}{something}
.... actual content ...


fromSlide*{2}{something}


untilSlide*{2}{something}


end{slide}}


onlySlide*{3}{something}



untilSlide{3} untilSlide*{3}






onlySlide{2} onlySlide*{2}





fromSlide{2} fromSlide*{2}


Latex/PDF slideshows on Linux – p.7/11


Overlays


fromSlide{2}{something}


overlays{3}{


untilSlide{2}{something}


begin{slide}


onlySlide{3}{something}
.... actual content ...


fromSlide*{2}{something}


untilSlide*{2}{something}


end{slide}}


onlySlide*{3}{something}


untilSlide{3}



untilSlide*{3}


Latex/PDF slideshows on Linux – p.8/11


Overlays


fromSlide{2}{something}


overlays{3}{


untilSlide{2}{something}


begin{slide}


onlySlide{3}{something}
.... actual content ...


fromSlide*{2}{something}


untilSlide*{2}{something}


end{slide}}


onlySlide*{3}{something}



untilSlide{3} untilSlide*{3}






onlySlide{2} onlySlide*{2}





fromSlide{2} fromSlide*{2}


Latex/PDF slideshows on Linux – p.8/11


Overlays


fromSlide{2}{something}


overlays{3}{


untilSlide{2}{something}


begin{slide}


onlySlide{3}{something}
.... actual content ...


fromSlide*{2}{something}


untilSlide*{2}{something}


end{slide}}


onlySlide*{3}{something}


untilSlide{3}



untilSlide*{3}



fromSlide*{2}



fromSlide{2}


Latex/PDF slideshows on Linux – p.8/11


Overlays and PSTricks


- #
%
&
The Householder formula below lets you compute

,+"
for an arbitrary .
"

I
G5
A 1
@

H
E DCB
F

1
0
7
9 8
:

<=7

58
J

K
5 4
6

?
(1)
;

;
3
2
./

./

./

./
1
0

>

1
G5
A 1
@

H
E DCB
F

Latex/PDF slideshows on Linux – p.9/11


Overlays and PSTricks


- #
%
&
The Householder formula below lets you compute

,+"
for an arbitrary .
"

I
G5
A 1
@

H
E DCB
F

1
0
7
9 8
:

<=7

58
J

K
5 4
6

?
(1)
;

;
3
2
./

./

./

./
1
0

>

1
G5
A 1
@

H
E DCB
F
where and is an arbitrary function.
N
M
L

Latex/PDF slideshows on Linux – p.9/11


Overlays and PSTricks


- #
%
&
The Householder formula below lets you compute

,+"
for an arbitrary .
"

I
G5
A 1
@

H
E DCB
F

1
0
7
9 8
:

<=7

58
J

K
5 4
6

?
(1)
;

;
3
2
./

./

./

./
1
0

>

1
G5
A 1
@

H
E DCB
F
where and is an arbitrary function.
N
M
L

Formula (1) gives an iteration of order converging

- #

&

towards such that: .


"

P
-


O

O


Mark ends with rnode{NA} and rnode{NB}, then




nccurve[linecolor=red,angleA=90,angleB=270]{->}{NB}{NA}
Latex/PDF slideshows on Linux – p.9/11
Other features

There are several ways of transition between


different slides
This behavior can be configured by setting
the optional parameter
Q

begin{slide}[Dissolve]{Other features}
External program can be started
Q

href{run:mymovie.mpg}{Play the movie}


The .mailcap file should contain an association
video/mpg;mplayer %s

Latex/PDF slideshows on Linux – p.10/11


Summary

The Prosper class is an easy and efficient


way to create LATEX/PDF presentations under
Linux
The presentation can be played at any
platform, which has the Acrobat Reader R
The software is free and can be downloaded
from http://prosper.sourceforge.net along with
examples
More sofisticated examples and styles are
available in the Internet on various sites (type
Prosper in Google)
Latex/PDF slideshows on Linux – p.11/11

You might also like