Document Classes ⇒ Alter Colors for single Frame of Presentation
Alter Colors for single Frame of Presentation
How to change colors for single frame? Or a series of frames?
I would like for first slides be in one color, then next slides in other color.
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.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Alter Colors for single Frame of Presentation
Font color? Background color? Box colors? Perhaps you can explain, what you mean, the best would be some code, as usual.
Color changes done within a frame are locally to that single frame, not affecting the other frames.
Stefan
Color changes done within a frame are locally to that single frame, not affecting the other frames.
Stefan
LaTeX.org admin
Alter Colors for single Frame of Presentation
I have following definition in the beginning of the source file.
And in one frame I use it in following way.
I use
Code: Select all
\newtheorem{our_result}{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: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Alter Colors for single Frame of Presentation
Now it's clear that you mean theorem colors, i.e. block colors here.
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:
It would be great, if you would post such a code example next time when describing a problem, since this saves the reader a lot of time, compared to just some description.
Stefan
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
Code, edit and compile here:
\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
LaTeX.org admin
Alter Colors for single Frame of Presentation
Thank you very much.
But I would like to have lusher green colors like those in
But I would like to have lusher green colors like those in
crane
's own "example" theorem environment.- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Alter Colors for single Frame of Presentation
The color was just a quick example. Have a look at the
xcolor manual, there you can see named colors and color specifications. I assume the technical issue is solved and you just need to select the color value.
Stefan

Stefan
LaTeX.org admin