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?
3 Answers
\documentclass{beamer}
\begin{document}
\frame{foo}
\bgroup
\setbeamercolor{background canvas}{bg=black}
\begin{frame}[plain]{}
\end{frame}
\egroup
\frame{bar}
\end{document}
-
12You need
\setbeamertemplate{navigation symbols}{}
inside your group to make the slide totally blank.– SeamusApr 2, 2011 at 15:56 -
1I know, but it may still be useful to have the symbols– user2478Apr 2, 2011 at 16:18
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*
-
I assume that's in the preamble, how exactly do you switch within your document from one slide to another? Aug 1, 2013 at 14:26
It might additionally be necessary to use \setbeamertemplate{background canvas}[default]
before \setbeamercolor{background canvas}{bg=black}
. Have a look at this post.
B
at the right moment...plain
option that turns off, say, the top bar and lower bar from theinfolines
outertheme.[plain]
in my test file.