Document Classes ⇒ Alter Colors for single Frame of Presentation
Alter Colors for single Frame of Presentation
I would like for first slides be in one color, then next slides in other color.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Alter Colors for single Frame of Presentation
Color changes done within a frame are locally to that single frame, not affecting the other frames.
Stefan
Alter Colors for single Frame of Presentation
Code: Select all
\newtheorem{our_result}{Our Result}
Code: Select all
\begin{our_result}
Blah, blah.
\end{our_result}
crane
color theme and I want green and greenish backgrounds in our_result
, instead of yellow in yellowish.- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Alter Colors for single Frame of Presentation
As I said, to it within the frame, so the effect ends when the frame ends. For example, with the crane definitions just changed from orange/yellow to green:
Code: Select all
\documentclass{beamer}
\usecolortheme{crane}
\newtheorem{our_result}{Our Result}
\begin{document}
\begin{frame}
\setbeamercolor{block title}{fg=craneblue,bg=green!50!white}
\setbeamercolor{block body}{parent=normal text,use=block title,
bg=block title.bg!25!bg}
\begin{our_result}
Blah, blah.
\end{our_result}
\end{frame}
\end{document}
Stefan
Alter Colors for single Frame of Presentation
But I would like to have lusher green colors like those in
crane
's own "example" theorem environment.- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Alter Colors for single Frame of Presentation

Stefan