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.

How can I change the background color of one frame in my Beamer document? I tried doing

\begin{frame}
  \setbeamercolor{background canvas}{bg=violet}
  % frame contents here
\end{frame}

but it seemed to have no effect.

Anyone know what the problem is?

share|improve this question
add comment

2 Answers 2

up vote 20 down vote accepted

Modify the background canvas before you begin the frame, not within the frame.

To keep the effect of the color change local, you could use curly braces around the frame and that command, or \begingroup ... \endgroup.

share|improve this answer
    
Thanks, works great! –  Ben Alpert Dec 31 '10 at 20:04
3  
@Stefan, I tried to do as you said, but the color stay the same as previous slides. Do you know why it could possibly not work? –  damluar Mar 15 '13 at 20:39
add comment

Put the \setbeamercolorcommand outside the frame. This will change the background colour for every subsequent frame. If you want to just change that slide, you can surround the frame and the command in {}

share|improve this answer
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.