My question involves redefining the color scheme of blocks in Beamer, twice in the same frame. I am using the Madrid theme, with the default color scheme. A while ago I decided to use orange blocks for questions at the end of a presentation, to set it apart from the rest of the presentation. The trouble I am running into is putting in such an orange block, then resetting the block theme back to what it was within the same frame to put in a theorem at the very end that matches the color scheme with the rest of the document. Here is what my code looks like:
Code: Select all
Code, edit and compile here:
\begin{frame}\setbeamercolor{block title}{bg=orange}%bg=background, fg= foreground\setbeamercolor{block body}{fg=black}%bg=background, fg= foreground\begin{block}{Questions!}Some awesome questions.\end{block}%\setbeamercolor{block title}[bg=orange]%bg=background, fg= foreground%\setbeamercolor{block body}{fg=black}%bg=background, fg= foreground\begin{theorem}[Authors]Awesome theorem to help with above questions.\end{theorem}\end{block}\end{frame}
If anyone knows anything, that would be very helpful! Thanks ^_^
~xbc