-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbeamerouterthemeinsea.sty
39 lines (28 loc) · 1003 Bytes
/
beamerouterthemeinsea.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
\mode<presentation>
% Frame title
\defbeamertemplate*{frametitle}{INSEA}[1][]
{
\begin{tikzpicture}
\useasboundingbox (0,-0.05) rectangle(\the\paperwidth,0.95);
% Colored line
\fill[color=INSEAGreen] (-1,0) rectangle(\the\paperwidth,1);
% Logo in the top right
% \node[inner sep=0pt] (logo) at (11.1,0.5){\includegraphics[width=0.85cm]{graphics/}};
\end{tikzpicture}
% If we don't have a subtitle, put the title
% at the center of the header
\ifx\insertframesubtitle\@empty
\begin{textblock*}{\paperwidth}(0.2cm,0.3cm)
{\usebeamercolor[fg]{frametitle}\usebeamerfont{frametitle}\insertframetitle}
\end{textblock*}
\else
% If we have both title and subtitle, stack them
\begin{textblock*}{\paperwidth}(0.2cm,0.1cm)
{\usebeamercolor[fg]{frametitle}\usebeamerfont{frametitle}\insertframetitle}
\end{textblock*}
\begin{textblock*}{\paperwidth}(0.2cm,0.6cm)
{\usebeamercolor[fg]{framesubtitle}\usebeamerfont{framesubtitle}\insertframesubtitle}
\end{textblock*}
\fi
}
\mode<all>