Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F61598231
beamerouterthemescitas.sty
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, May 7, 17:40
Size
1 KB
Mime Type
text/x-tex
Expires
Thu, May 9, 17:40 (2 d)
Engine
blob
Format
Raw Data
Handle
17525853
Attached To
R11821 phys-743-lecture
beamerouterthemescitas.sty
View Options
\mode<presentation>
% Frame title
\defbeamertemplate*{frametitle}{top box color}[1][greyEPFL]
{
\begin{beamercolorbox}[wd=\paperwidth,ht=1.2cm]{frametitle}
\begin{tikzpicture}[overlay,remember picture]
\begin{scope}[shift={(current page.south west)}]
% Draw grey rectangle
\fill[color=#1, anchor=south west] (2cm, 8cm) rectangle (17cm,9cm);
\node[anchor=west, white,font=\large] at (2cm, 8.75cm){\textbf{\insertframetitle}};
\node[anchor=west, white,font=\large] at (2cm, 8.25cm){\small\insertframesubtitle};
\end{scope}
\end{tikzpicture}
\end{beamercolorbox}
}
\setbeamersize{text margin left=18mm,text margin right=30mm}
% The following is to define an ``exercise'' template for the frames
% It will change the color of the header to redEPFL
% Set the default behavior for each new slide
\BeforeBeginEnvironment{frame}{%
\setbeamertemplate{frametitle}[top box color]%
}
% Define label for the \begin{frame}[<LABEL>] and define behavior
\makeatletter
\define@key{beamerframe}{exercise}[]{%
\setbeamertemplate{frametitle}[top box color][redEPFL]%
}
\makeatother
\mode<all>
Event Timeline
Log In to Comment