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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- 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: 10397
- 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: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
Alter Colors for single Frame of Presentation
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