[texhax] Overlays and pdfpages

Steve Schwartz s.schwartz at imperial.ac.uk
Fri Jul 4 13:31:13 CEST 2008


On Fri, 2008-07-04 at 10:56 +0200, Tom Backer Johnsen wrote:
> I am using beamer to generate slides for a presentation I am doing
> next 
> week.  I would also like to have a handout, and I have looked at the 
> pdfpages package.  The problem with that one is that it copies all
> the 
> slides, including all the overlays for each slide.  Is there some way
> of 
> excluding all but one of the overlays automatically? 

I don't see how beamer or latex can know WHICH overlay to include
automatically. Beamer has a handout option:


which helps. This generates only 1 page for each frame. Then your
overlay specifications need to include handout directives, e.g.;

\onslide<1| handout:0>\includegraphics{fig}

will omit fig. In practice you simply need to add "| handout:0" to all
the overlay specifications you want to be left off the frame in the
handout version. [Warning: the space after the | is mandatory, for
reasons that I don't pretend to understand]. While this might seem
tedious, for a single presention it will probably only take a few
minutes to paste this into your presentation.

Then there are a variety of ways to turn this into an n-up handout. I
tend to use pdflatex to generate the handout pages as a pdf, and then
use pdfnup to put multiple pages on a page. This is just a front end
script that uses pdfpages to do the work.

Most if not all this is well-documented in the beamer userguide.

Is this what you were after?


Professor Steven J Schwartz      Phone: +44-(0)20-7594-7660
Space and Atmospheric Physics    Fax:   +44-(0)20-7594-7772
The Blackett Laboratory          E-mail: s.schwartz at imperial.ac.uk
Imperial College London          Office: Huxley 6M70 
London SW7 2BW, U.K.             Web: http://www.sp.ph.ic.ac.uk/~sjs

More information about the texhax mailing list