-
Notifications
You must be signed in to change notification settings - Fork 0
/
beamerouterthemepadua.sty
40 lines (35 loc) · 1.28 KB
/
beamerouterthemepadua.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
\mode<presentation>
% Frame title
\defbeamertemplate*{frametitle}{texsx}[1][]
{
\vskip0.6cm%
\begin{beamercolorbox}[wd=\paperwidth,ht=1.2cm]{frametitle}
\begin{tikzpicture}
\useasboundingbox[fill=white](0,0) rectangle(\paperwidth,1.2);
\fill[cprimary] (0,0) rectangle(0.87\paperwidth,1.2);
\fill[csecondary] (0.88\paperwidth,0.0) rectangle(\paperwidth,1.2);
\ifx\insertframesubtitle\@empty%
{\node[anchor=west, white,font=\large] at (0.10\paperwidth,0.6){\insertframetitle};}
\node[inner sep=0pt] (russell) at (0.94\paperwidth,0.6)
{\includegraphics[width=0.08\paperwidth]{small_logo.png}
};
\else%
{\node[anchor= west, white,font=\large] at (0.10\paperwidth,0.8){\insertframetitle};%
\node[anchor= west, white,font=\small] at (0.10\paperwidth,0.4){\insertframesubtitle};
\node[inner sep=0pt] (russell) at (0.94\paperwidth,0.6)
{\includegraphics[width=0.08\paperwidth]{small_logo.png}
};
}%
\fi
\end{tikzpicture}
\end{beamercolorbox}
}
\setbeamercolor{footline}{fg=ctertiary}
\setbeamerfont{footline}{series=\bfseries}
\setbeamertemplate{navigation symbols}{%
\usebeamerfont{footline}%
\usebeamercolor[fg]{footline}%
\hspace{1em}%
\insertframenumber/\inserttotalframenumber%
}
\mode<all>