forked from martinhelso/OsloMet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeamerouterthemeOsloMet.sty
80 lines (66 loc) · 1.68 KB
/
beamerouterthemeOsloMet.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
% Theme for OsloMet – Oslo Metropolitan University
%
% Implemented by:
% Nikolai Bjørnestøl Hansen ([email protected])
% Martin Helsø ([email protected])
%
% Version 14-06-2020
%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%% Widescreen %%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%
\mode<presentation>
%% No navigation symbols
\setbeamertemplate{navigation symbols}{}
%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%% Frame title %%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{frametitle}
{
\vbox
{
\strut\insertframetitle\strut
}
\vskip-1.3ex
}
%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% Head/footline %%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{headline}{ \vspace*{1.7 mm} }
\setbeamertemplate{footline}
{
\hbox to \paperwidth
{%
\begin{beamercolorbox}[wd = \paperwidth,
ht = 2.25ex,
dp = 1ex]
{footline}
\hspace*{0.9cm}
\usebeamerfont{author in head/foot}
\insertshortauthor
\hfill
\usebeamerfont{title in head/foot}
\insertshorttitle
\hfill
\usebeamerfont{date in head/foot}
\insertshortdate
\hspace*{2em}
\insertframenumber{} / \inserttotalframenumber
\hspace*{1cm}
\end{beamercolorbox}
}
\vskip0pt
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% Toggleable logo %%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\hidelogo}{\logo{}}
\newcommand{\showlogo}
{
\logo
{
\includegraphics[height = 0.1\paperheight, viewport = 0 0 520 400]
{OM-images/OM-logo}
}
}
\showlogo
\mode<all>