Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm making a presentation with LaTeX Beamer package. And I want to have a slide where the screen is all black so I can use other media. Is there a way to insert a black slide simply?

share|improve this question
2  
If you were using Impressive to display your slides, it's as simple as pressing B at the right moment... –  Seamus Apr 2 '11 at 15:38
    
possible duplicate of Change the background color of a frame in Beamer –  Alan Munn Apr 2 '11 at 15:44
1  
@Alan Munn changing the background colour won't change all the frame to black. The structural elements will still be there. –  Seamus Apr 2 '11 at 15:54
    
@Seamus Other than the navigation symbols, changing the background canvas does exactly that. No other elements are visible. So Herbert's solution is an exact duplicate of the solutions posted in the question I reference. –  Alan Munn Apr 2 '11 at 16:17
1  
@Seamus I just noticed it is the same with evince - my pdf viewer of choice. –  pirad Dec 8 '11 at 16:09
show 3 more comments

2 Answers

up vote 20 down vote accepted
\documentclass{beamer}

\begin{document}

\frame{foo}

\bgroup
\setbeamercolor{background canvas}{bg=black}
\begin{frame}[plain]{}
\end{frame}
\egroup

\frame{bar}

\end{document}
share|improve this answer
8  
You need \setbeamertemplate{navigation symbols}{} inside your group to make the slide totally blank. –  Seamus Apr 2 '11 at 15:56
    
I know, but it may still be useful to have the symbols –  Herbert Apr 2 '11 at 16:18
add comment

If you have \mode* on then the background color remains set for subsequent slides even if you have the command wrapped in a group. This works:

\mode<presentation>{
  {   
    \setbeamercolor{background canvas}{bg=black}
    \begin{frame}[plain]{}
    \end{frame}
  }
}
\mode<presentation>{\setbeamercolor{background canvas}{bg=white}}
\mode*
share|improve this answer
    
I assume that's in the preamble, how exactly do you switch within your document from one slide to another? –  Joanne Demmler Aug 1 '13 at 14:26
add comment

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.