forked from gbaydin/oxford-poster
-
Notifications
You must be signed in to change notification settings - Fork 2
/
beamerthemeNU.sty
167 lines (144 loc) · 6.57 KB
/
beamerthemeNU.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
% A beamer poster style for the University of Oxford. Atilim Gunes Baydin <[email protected]>, November 2016.
% Based on the I6pd2 style created by Thomas Deselaers an Philippe Dreuw.
\ProvidesPackage{beamerthemeNU}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \RequirePackage{tangocolors}
\RequirePackage{wrapfig}
%\selectcolormodel{cmyk}
\mode<presentation>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definecolor{lightgrey}{rgb}{0.95,0.95,0.95} % Defines the color used for content box headers
\definecolor{bluetinge}{rgb}{0.9,0.95,1}
\definecolor{darkgreen}{rgb}{0,.4,0}
\definecolor{oxfordblue}{RGB}{0,33,71} % Pantone 282, Hex #002147, RGB 0 33 71, CMYK 100 80 0 60
\definecolor{red}{rgb}{0.8, 0.0, 0.0}
\setbeamercolor{headline}{fg=red,bg=white}
\setbeamercolor{footline}{fg=red,bg=white}
\setbeamerfont{footline}{size=\large,series=\tt}
\setbeamercolor{title in headline}{fg=red}
\setbeamercolor{separation line}{bg=black}
\setbeamercolor{author in headline}{fg=black}
\setbeamercolor{institute in headline}{fg=black}
\setbeamercolor{framesubtitle}{fg=white, bg=red}
\setbeamercolor{author in head/foot}{fg=white, bg=red}
\setbeamercolor{title in head/foot}{fg=white, bg=red}
\setbeamercolor*{normal text}{fg=black, bg=white}
\setbeamercolor*{block body}{bg=lightgrey,fg=oxfordblue}
\setbeamercolor*{block title}{fg=white,bg=red}
\setbeamerfont{block title}{size=\large,series=\bf}
\setbeamercolor{upper separation line head}{fg=oxfordblue}
\setbeamercolor*{example body}{fg=lightgrey,bg=oxfordblue}
\setbeamercolor*{example text}{fg=lightgrey,bg=oxfordblue}
\setbeamercolor*{example title}{bg=white,fg=ta2gray}
%\setbeamercolor{alerted text}{fg=ta3gray}
%\setbeamercolor{example text}{fg=taorange}
\setbeamercolor{structure}{fg=oxfordblue}
\setbeamertemplate{itemize items}[triangle]
\setbeamertemplate{navigation symbols}{} % no navigation on a poster
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{block begin}{
\vskip.75ex
\begin{beamercolorbox}[ht=3.5ex,dp=0.5ex,center,leftskip=-1em,colsep*=.75ex]{block title}%
\usebeamerfont*{block title}%
\vspace{-7pt}
{\hspace{-21pt}\phantom{Gg}\insertblocktitle}% phantom because of baseline problem
\end{beamercolorbox}%
{\ifbeamercolorempty[bg]{block body}{}{\nointerlineskip\vskip-0.5pt}}%
\usebeamerfont{block body}%
\begin{beamercolorbox}[leftskip=10pt,colsep*=.75ex,sep=0.5ex,vmode]{block body}%
\justifying
\ifbeamercolorempty[bg]{block body}{\vskip-.25ex}{\vskip-.75ex}\vbox{}%
}
\setbeamertemplate{block end}{
\end{beamercolorbox}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{headline}{
\leavevmode
\begin{beamercolorbox}[wd=\paperwidth]{headline}
\begin{columns}[T]
\begin{column}{.015\paperwidth}
\end{column}
\begin{column}{.71\paperwidth}
\vskip4ex
\vspace{20pt}
\raggedright
\usebeamercolor{title in headline}{\color{fg}\textbf{\LARGE{\inserttitle}}\\[1ex]}
\vspace{20pt}
\usebeamercolor{author in headline}{\color{fg}\large{\insertauthor}\\[1ex]}
\vspace{-5pt}
\usebeamercolor{institute in headline}{\color{fg}\large{\insertinstitute}\\[1ex]}
\vspace{0pt}
\end{column}
\begin{column}{.226\paperwidth}
\vskip11ex
\vspace{-30pt}
\begin{center}
\hfill
\includegraphics[height=9cm]{figures/NU/NU_logo1.pdf}
%\begin{wrapfigure}{r}{0.35\linewidth}
%\colorbox{white}{\includegraphics[width=.35\linewidth]{LiU_primary_black}} \\
%\includegraphics[width=.35\linewidth]{uppsalalogo.png}
%\end{wrapfigure}
\end{center}
\vskip2ex
\end{column}
\begin{column}{.02\paperwidth}
\end{column}
\end{columns}
\vskip2ex
\end{beamercolorbox}
\begin{beamercolorbox}[wd=\paperwidth]{lower separation line head}
\rule{0pt}{3pt}
\end{beamercolorbox}
}
% \setbeamertemplate{headline}{
% \leavevmode
% \begin{beamercolorbox}[sep=0.5cm,wd=.8\paperwidth]{headline}
% \usebeamercolor{title in headline}{\raggedleft\color{fg}\textbf{\LARGE{\inserttitle}}\\[1ex]}
% \usebeamercolor{author in headline}{\raggedleft\color{fg}\large{\insertauthor}\\[1ex]}
% \usebeamercolor{institute in headline}{\raggedleft\color{fg}\large{\insertinstitute}\\[1ex]}
% \end{beamercolorbox}%
% \begin{beamercolorbox}[wd=.2\paperwidth]{logo in headline}
% \centering
% \LARGE{LOGO}
% \end{beamercolorbox}
%}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{footline}{
\begin{beamercolorbox}[sep=1em,wd=\paperwidth,leftskip=3cm,rightskip=3cm]{footlinecolor}
\hspace{0.3cm}%
\includegraphics[scale=0.07,height=100pt]{figures/NU/northeastern.pdf}
% \scriptsize{Seite \insertframenumber}
\hfill
\includegraphics[scale=0.30,height=100pt]{figures/NU/cybersecurity-privacy-institute-lockup.png}
\end{beamercolorbox}%
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Display a grid to help align images ... and it looks nice with this color scheme
%\beamertemplategridbackground[1cm]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<all>
% adapt height of imtemize rectangles
\setbeamertemplate{itemize items}[triangle]
\setbeamertemplate{itemize item}{\raisebox{0.12ex}{$\blacktriangleright$}\hskip0.1em}
\setbeamertemplate{itemize subitem}{\raisebox{0.12ex}{$\triangleright$}\hskip0.1em}
% or define your own template using \defbeamertemplate{itemize item}, see beameruserguide.pdf
% equal font sizes for all levels
\setbeamerfont{itemize/enumerate body}{size=\normalsize}
\setbeamerfont{itemize/enumerate subbody}{size=\normalsize}
\setbeamerfont{itemize/enumerate subsubbody}{size=\normalsize}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Local Variables:
%%% mode: latex
%%% TeX-PDF-mode: t
%%% TeX-master: "poster-surf"
%%% End:
% set bibliography style
\setbeamertemplate{bibliography item}[text]
\setbeamercolor{bibliography item}{fg=black,bg=black}
\setbeamercolor{bibliography entry author}{fg=black,bg=black}
\setbeamercolor{bibliography item}{fg=black,bg=black}
\setbeamertemplate{bibliography entry title}{}
\setbeamertemplate{bibliography entry location}{}
\setbeamertemplate{bibliography entry note}{}