-
Notifications
You must be signed in to change notification settings - Fork 0
/
beamercolorthemeAAUsidebar.sty
50 lines (47 loc) · 2.35 KB
/
beamercolorthemeAAUsidebar.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
% This is the color theme file of the AAU sidebar theme.
% Copyright (c) 2010-2013 by Jesper Kjær Nielsen <jkn@es.aau.dk>
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You can find the GNU General Public License at <http://www.gnu.org/licenses/>.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamercolorthemeAAUsidebar}[2013/05/26 v1.3.0 The AAU Sidebar Beamer Theme]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Theme options and definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%theme options
\DeclareOptionBeamer{lightheaderbg}{\def\beamer@lightheaderbg{true}}
\ProcessOptionsBeamer
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%beamer specific options
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<presentation>%refers to the first four modes (beamer,handout,second and trans). That is, to all modes except the article mode
{
\definecolor{beamer@barcolor}{RGB}{194,193,204}% light blue
\definecolor{beamer@headercolor}{RGB}{33,26,82}% dark blue
\definecolor{beamer@normaltextcolor}{RGB}{84,97,110}% gray blue
% If you want to use the old colours in the theme with the new logo, do the following
% a) uncomment the two lines below and comment out line 31, 31, and 42
% \definecolor{beamer@barcolor}{rgb}{0.55,0.79,0.94}% old light blue
% \definecolor{beamer@headercolor}{rgb}{0.00,0.41,0.66}% old dark blue
% b) open the aau_logo_new.eps-file and/or the aau_logo_new_circle.eps-file in a text editor
% and change line 69 to
% 0 105 168 rG
% c) convert the eps-file to a pdf-file. This can be done by running
% epstopdf aau_logo_new.eps
\setbeamercolor{structure}{fg=beamer@headercolor}
\setbeamercolor{normal text}{fg=beamer@normaltextcolor}
\ifx\beamer@lightheaderbg\undefined% use a light, white header background
\setbeamercolor{frametitle}{fg=white,bg=beamer@headercolor}
\fi
\setbeamercolor{AAUsidebar}{fg=beamer@barcolor,bg=beamer@headercolor}
}%end of beamer specific options
\mode<all>