-
Notifications
You must be signed in to change notification settings - Fork 0
/
beamercolorthemerudi.sty
102 lines (88 loc) · 4.1 KB
/
beamercolorthemerudi.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
% ======================================================================
% ======================================================================
% ======================================================================
%
% UNOFFICIAL style for beamer presentations at RU-DI
% Radboud University, Donders Institute,
% Nijmengen, Netherlands
%
% Author: Pierre Guetschel <[email protected]>
% Date: Oct 2022
% Instructions:
% - to create the title page, use: \titleframe
% - to create a section page, use: \sectionframe
%
% Inspirations:
% - https://tex.stackexchange.com/questions/146529/design-a-custom-beamer-theme-from-scratch
% -
%
% ======================================================================
% ======================================================================
% ======================================================================
%%% Colors from https://tex.stackexchange.com/questions/146529/design-a-custom-beamer-theme-from-scratch
%% : base colors
%\definecolor{rudi-black}{cmyk}{0,0,0,1}
%\definecolor{rudi-dark-red}{cmyk}{0,1,1,0.5}
%\definecolor{rudi-ru-red}{cmyk}{0,1,1,0.25}
%\definecolor{rudi-bright-red}{cmyk}{0,1,1,0}
%% : extended colors
%\definecolor{rudi-dark-orange}{cmyk}{0,0.70,1,0}
%\definecolor{rudi-light-orange}{cmyk}{0,0.25,1,0}
%\definecolor{rudi-yellow}{cmyk}{0,0,1,0}
%% : additional colors (unofficial)
%\definecolor{rudi-dead-red}{cmyk}{0,0.5,0.5,1}
%\definecolor{rudi-water-red}{cmyk}{0,0.05,0.05,0}
%\definecolor{rudi-water-orange}{cmyk}{0,0.04,0.02,0}
%\definecolor{rudi-water-yellow}{cmyk}{0,0.02,0.04,0}
% : base colors
\definecolor{rudi-black}{RGB}{0,0,0}
\definecolor{rudi-dark-red}{RGB}{142,0,0}
\definecolor{rudi-ru-red}{RGB}{190,49,26}
\definecolor{rudi-bright-red}{RGB}{255,0,0}
% : extended colors
\definecolor{rudi-dark-orange}{RGB}{255,112,0}
\definecolor{rudi-light-orange}{RGB}{255,195,0}
\definecolor{rudi-yellow}{RGB}{255,255,0}
\definecolor{rudi-blue}{RGB}{0,150,190}
\definecolor{rudi-green}{RGB}{95,160,70}
% : additional colors (unofficial)
\definecolor{rudi-dead-red}{cmyk}{0,0.5,0.5,1}
\definecolor{rudi-water-red}{RGB}{255,242,242} % 95% watered version of rudi-bright-red
\definecolor{rudi-water-orange}{RGB}{255,247,242} % 95% watered version of rudi-dark-orange
\definecolor{rudi-water-yellow}{RGB}{255,255,242} % 95% watered version of rudi-yellow
\definecolor{rudi-water-blue}{RGB}{242, 249, 251} % 95% watered version of rudi-blue
\definecolor{rudi-water-green}{RGB}{247, 250, 245} % 95% watered version of rudi-green
% : set colors
\setbeamercolor*{background canvas}{bg=white}
\setbeamercolor{titlelike}{fg=rudi-dark-red}
\setbeamercolor*{title}{fg=black}
\setbeamerfont{title}{size=\Huge}
\setbeamercolor*{author}{fg=rudi-dark-red}
\setbeamercolor*{date}{fg=black}
\setbeamerfont{subtitle}{size=\large}
\setbeamercolor{frametitle}{fg=rudi-dark-red}
\setbeamerfont{frametitle}{size=\Large}
\setbeamercolor{framesubtitle}{fg=black}
\setbeamerfont{framesubtitle}{size=\small}
\setbeamerfont{section title}{size=\huge}
\setbeamercolor*{item}{fg=rudi-dark-orange}
\setbeamercolor*{subitem}{fg=rudi-light-orange}
\setbeamercolor*{subsubitem}{fg=rudi-yellow}
\setbeamercolor*{normal text}{fg=black}
\setbeamercolor*{alerted text}{fg=rudi-dark-orange}
\setbeamercolor*{structure text}{fg=rudi-bright-red}
\setbeamercolor*{block title}{fg=white, bg=rudi-blue}
\setbeamercolor*{block body}{fg=black, bg=rudi-water-blue}
\setbeamercolor*{block title example}{fg=white, bg=rudi-green}
\setbeamercolor*{block body example}{fg=black, bg=rudi-water-green}
\setbeamercolor*{block title alerted}{fg=white, bg=rudi-dark-orange}
\setbeamercolor*{block body alerted}{fg=black, bg=rudi-water-orange}
\setbeamercolor*{author in head/foot}{fg=white, bg=rudi-dark-red}
\setbeamercolor*{title in head/foot}{fg=white, bg=rudi-ru-red}
\setbeamercolor*{date in head/foot}{fg=white, bg=rudi-bright-red}
\setbeamercolor{caption name}{fg=rudi-dark-orange}
\setbeamercolor{caption}{fg=black}
%\setbeamercolor{palette primary}{bg=blue,fg=white}
%\setbeamercolor{palette secondary}{bg=green,fg=white}
%\setbeamercolor{palette tertiary}{bg=purple,fg=white}
%\setbeamercolor{palette quaternary}{bg=pink,fg=white}