-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbeamerthemesussex.sty
62 lines (53 loc) · 1.38 KB
/
beamerthemesussex.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
\mode<presentation>
\newif\if@Nova
\newif\if@Dune
\@Novafalse
\@Dunefalse
\DeclareOption{nova}{\@Novatrue}
\DeclareOption{dune}{\@Dunetrue}
\ProcessOptions
\newcommand*{\mystrcmp}[2]{%
\expandafter\pdf@strcmp\expandafter{#1}{#2}%
}
\newcommand{\experimentlogo}{none}
\if@Nova
\typeout{Setting the experiment to nova}
\renewcommand\experimentlogo{NOvALogoWhite.png}
\else
\if@Dune
\typeout{Setting the experiment to dune}
\renewcommand\experimentlogo{dune_logo.png}
\else
\typeout{Setting the experiment to none}
\fi
\fi
\typeout{The experiment logo is \experimentlogo}
% Requirement
\RequirePackage{tikz}
\RequirePackage{hyperref}
\RequirePackage{listings}
% settings
\useinnertheme{sussex}
\useoutertheme{sussex}
\usecolortheme{sussex}
\hypersetup{
colorlinks=true,
allcolors=black,
urlcolor=blue,
}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{blocks}
\setbeamertemplate{headline}{}
\setbeamercolor{itemize item}{fg=sussexflint}
\setbeamercolor{itemize subitem}{fg=sussexflint}
\setbeamercolor{itemize subsubitem}{fg=sussexflint}
\setbeamercolor{itemize subsubsubitem}{fg=sussexflint}
\lstset{language=C++,
basicstyle=\footnotesize\ttfamily,
keywordstyle=\color{sussexflint}\ttfamily,
stringstyle=\color{red}\ttfamily,
commentstyle=\color{green}\ttfamily,
emph={int,char,double,float,unsigned}\ttfamily,
emphstyle=\color{blue}\ttfamily
}
\mode<all>