TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a big latex beamer that uses \alt, \uncover, ... to create "animations".

My goal is to deactivate all these commands temporary (let's say : just use the last state/slide each time there's this kind of thing) to print my document.

Is there a global command to do this or have I to do all this manually (comment manually the commands / or (simpler but still really long) suppress manually pages from the output) ?

Thanks very much in advance for your help.

share|improve this question
up vote 16 down vote accepted

If you're printing the file, you probably want to use handout mode or article mode.

\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm] % for instance



If you want pictures of slides, handout mode is best If you want something that looks more like an article, article mode is best. I'll assume you want handout, but the answer is similar for article.

In handout mode, all slides are by default overlayed, which for complicated frames makes a mess. But all of your overlay specifications like <+-> that you used in the beamer .tex file can be specified for the handout mode, too. If there is something you do not want on the handout, add | handout:0 to the overlay specification. So

\only<1-3| handout:0>{foo}

will have foo appear only on slides 1-3 of the beamer mode and not in the handout. Although it may seem like a pain to deactivate so many specifications in a large beamer file, it's the "right" way to do it because it doesn't change the document in beamer mode (like commenting out would).

See these two questions that relate to making beamers into handouts:

share|improve this answer
Thanks for your help (and especially for the | handout:0 solution !) – Elenaher Dec 9 '10 at 12:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.