1 Attachment(s)
HOWTO: Easily print LaTeX beamer slides in Linux
The LaTeX beamer class creates lovely slides for presentations including overlays, pauses, and other nice effects. And since it is LaTeX, it handles math, tables, and graphics spectacularly well. However, it is not so easy under Linux to format the slides for printing. This post presents a solution to this common problem.
0. You must have a working TeX installation ('texlive' is a good choice).
1. Install the 'pdfjam' package if you haven't already done so. This provides some nice tools for manipulating PDF files (joining, rotating, etc).
Code:
sudo apt-get install pdfjam
2. Download the attached script, unzip it anywhere you like, and make the resulting file 'makehandouts' executable:
Code:
chmod +x makehandouts
3. Move the script 'makehandouts' somewhere in your search path, such as (for example) /usr/local/bin:
Code:
sudo mv makehandouts /usr/local/bin
To make sure that the place you put it really is in your search path, do:
Installation is now finished. Assuming that you have a LaTeX beamer source file named 'xxx.tex' in some folder, in a terminal navigate to that folder and type:
(note that the file extension is NOT included). Of course, substitute your actual file name in place of "xxx". The 'makehandouts' command creates 4 new PDF files, as follows:
- xxx-handout.pdf is a viewable version of your slides, without pauses and overlays.
- xxx-handout1up.pdf is a printable version of the slides, one slide per page, rotated by 90 degrees (in landscape mode) for proper printing.
- xxx-handout2up.pdf is a printable version of the slides, showing two slides per page.
- xxx-handout4up.pdf is a printable version of the slides, rotated 90 degrees to landscape mode, showing four slides per page.
NOTE: It is probably important to use 'acroread' to print the slides, since that tool fits everything to the page, and other tools are not so good at that. Enjoy...;)
Re: HOWTO: Easily print LaTeX beamer slides in Linux
Hey, that's pretty handy. Thanks. :)
teich
Re: HOWTO: Easily print LaTeX beamer slides in Linux
Thank-you to whoever wrote this script! This is exactly what I needed!
Cheers.
Re: HOWTO: Easily print LaTeX beamer slides in Linux
Thanks a lot for this excellent script!
Re: HOWTO: Easily print LaTeX beamer slides in Linux
should also work with the following lines:
Code:
\documentclass[handout]{beamer}
\usepackage{pgfpages}
%\pgfpagesuselayout{2 on 1}[a4paper,border shrink=3mm]
\pgfpagesuselayout{4 on 1}[a4paper,landscape,border shrink=3mm]
looks pretty nice for me... and you wouldn´t need other packages for use.
Re: HOWTO: Easily print LaTeX beamer slides in Linux
Thank a lots. This one helps me so much.