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 made a quite standard beamer (3.12) presentation. To make my long academic presentation a bit more interesting I have inserted some (really, only two or three) slides with "random" pictures like lolcats to keep it a bit humorous.

Now I want these slides to be a surprise, so they should not be visible on the handout. How can I prevent these slides to be included on my \documentclass[handout]{beamer} version?

share|improve this question
up vote 36 down vote accepted

You can add <handout:0> to the frame you want to hide, e.g.,

\documentclass[handout]{beamer}

\begin{document}

\begin{frame}
Hello.
\end{frame}

% this frame won't be included in the handout mode
\begin{frame}<handout:0>
I am a lolcat!
\end{frame}

\end{document}

Update: As Andrew suggested in the comment, you can use beamer:0 as well to hide it from the presentation. :) Besides, I agree with Andrew, please try to avoid lolcats at all costs, specially for academic purposes.

lolcat

Too risky.

share|improve this answer
13  
Even better, if you put beamer:0 as well then they won't be in the presentation either (The advice of the Royal Society for the Prevention of Cruelty to Seminar Audiences is that lolcats should definitely not appear in presentations.) – Loop Space Nov 16 '11 at 9:59
1  
@Andrew I said 'like' lolcats ;). And actually, my pictures will have still some relation to the content of my actual presentation. – Peter Smit Nov 16 '11 at 10:21
    
@Peter: Ah I thought you wanted legit lolcats. My bad. :P – Paulo Cereda Nov 16 '11 at 10:26
    
FYI, you can also use trans. This would be useful if, for instance, you wanted to create a limited set of slides for, say, promotional purposes. Use of trans here frees up handout to be used for its intended purpose. – Digger Jan 14 at 4:39

To add to the suggestions above, to disable the frame in both handout and beamer modes, one must add

<handout:0|beamer:0>
share|improve this answer

Your Answer

 
discard

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.