-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeamerthemeegi.sty
102 lines (89 loc) · 2.86 KB
/
beamerthemeegi.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
\ProvidesPackage{beamerthemeegi}
% Adapted from EGEE3 theme
% by David O'Callaghan <[email protected]>, 2011
\usepackage{helvet}
\mode<presentation>
\newdimen\head@height
\head@height=42pt
\definecolor{egiblue}{RGB}{0,103,177}
\definecolor{egiorange}{RGB}{200,113,0}
\definecolor{egiblack}{RGB}{0,0,0}
\definecolor{egigrey30}{RGB}{76,76,76}
\definecolor{egigrey50}{RGB}{128,128,128}
\definecolor{egigrey60}{RGB}{153,153,153}
\definecolor{egigrey70}{RGB}{179,179,179}
\setbeamercolor{section in head}{fg=white,bg=egiblue}
\setbeamercolor{egi in head}{fg=white,bg=egiblue}
\setbeamercolor{date in foot}{fg=white,bg=egiblue}
\setbeamertemplate{navigation symbols}{}
\newdimen\heightL
\heightL=\head@height
\advance\heightL-1pt
\newbox\logobox
\setbox\logobox\hbox{\raise0.3pt\hbox{\includegraphics[height=\head@height]{EGI_Logo.png}}%
\hskip-1pt\includegraphics[height=\head@height]{CurveOnWhite.png}}
\defbeamertemplate*{headline}{egi theme}{\hrule height0pt depth0pt}
\defbeamertemplate*{frametitle}{egi theme}
{
\nointerlineskip
\baselineskip=0pt
\lineskip=0pt
\parsep=0pt
\begin{beamercolorbox}[wd=\paperwidth,ht=\head@height,dp=3pt]{section in head}
\copy\logobox
\raise10pt\vbox{\strut{%
\insertframetitle\\
\scriptsize{\insertframesubtitle\strut}}}
\end{beamercolorbox}
}
\defbeamertemplate*{footline}{egi theme}
{
\leavevmode
\begin{beamercolorbox}[wd=\paperwidth,ht=6ex,dp=1ex]{date in foot}
\ \ \tiny\insertdate\hfill\insertframenumber\ \
\vskip1ex
\ \ EGI-InSPIRE RI-261323\hfill\ www.egi.eu\ \
\end{beamercolorbox}
}
\setbeamercolor{normal text}{fg=egiblack}
\setbeamercolor{alerted text}{fg=egiorange!90!black}
\setbeamerfont{alerted text}{series=\bfseries}
\setbeamertemplate{itemize item}{{\color{egiorange}$\bullet$}}
\setbeamertemplate{itemize subitem}{{\color{egiorange}$\bullet$}}
\setbeamertemplate{itemize subsubitem}{{\color{egiorange}$\bullet$}}
\setbeamertemplate{title page}{
\lineskip=0pt
% Header
\begin{beamercolorbox}[wd=\paperwidth,ht=\head@height,dp=3pt]{section in head}
\copy\logobox
\hfill\raise4pt\hbox{\textbf{\LARGE EGI-InSPIRE\ }}
\end{beamercolorbox}
% Sidebar
\vbox to \head@height{
\hskip-30pt \hbox{\includegraphics[width=60pt]{Sidebar.jpg}}
\vss
}%
% Title Text
\hskip60pt\vbox to 120pt{
\advance\hsize-60pt
\begin{center}
{\Large\inserttitle}
\bigskip
{\large\insertauthor}
\end{center}
\vfill
}
% Logos
%\advance\hsize\beamer@rightmargin
\vfill
\vskip3ex
%\hskip-\beamer@leftmargin
%\hbox to 6ex{\hfil}
\hfill \hbox{
% \includegraphics[width=30pt]{FP7.png}
% \
\includegraphics[width=60pt]{e-infrastructure.png}
\
\includegraphics[width=36pt]{EU.png}
}
}