-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeamerthemeicclab.sty
97 lines (82 loc) · 2.74 KB
/
beamerthemeicclab.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
\ProvidesPackage{beamerthemeicclab}[2008/10/10]
\def\beamerICCLab@version{0.01}
% Copyright 2003 by Till Tantau <[email protected]>
% and 2008 by Daina Chiba <[email protected]>
%
% This program can be redistributed and/or modified under the terms
% of the GNU Public License, version 2.
\mode<presentation>
\newif\ifbeamer@minimal
\newif\ifbeamer@nonav
\newif\ifbeamer@bggray
\newif\ifbeamer@bgicclabgray
\newif\ifbeamer@icclabgray
\newif\ifbeamer@numbers
\newif\ifbeamer@shadow
\newif\ifbeamer@icclabt
\newif\ifbeamer@icclabtm
\newif\ifbeamer@icclabts
\newif\ifbeamer@icclabb
\newif\ifbeamer@nologo
\newif\ifbeamer@smoothb
\beamer@minimalfalse
\beamer@nonavfalse
\beamer@bggrayfalse
\beamer@bgicclabgrayfalse
\beamer@icclabgrayfalse
\beamer@numbersfalse
\beamer@shadowtrue
\beamer@icclabtfalse
\beamer@icclabtmfalse
\beamer@icclabtsfalse
\beamer@icclabbfalse
\beamer@nologotrue
\beamer@smoothbfalse
\DeclareOptionBeamer{compress}{\beamer@compresstrue}
\DeclareOptionBeamer{minimal}{\beamer@minimaltrue}
\DeclareOptionBeamer{nonav}{\beamer@nonavtrue}
\DeclareOptionBeamer{bggray}{\beamer@bggraytrue}
\DeclareOptionBeamer{bgicclabgray}{\beamer@bgicclabgraytrue}
\DeclareOptionBeamer{iccabgray}{\beamer@icclabgraytrue}
\DeclareOptionBeamer{numbers}{\beamer@numberstrue}
\DeclareOptionBeamer{noshadow}{\beamer@shadowfalse}
\DeclareOptionBeamer{icclabt}{\beamer@icclabttrue}
\DeclareOptionBeamer{icclabtm}{\beamer@icclabtmtrue}
\DeclareOptionBeamer{icclabts}{\beamer@icclabtstrue}
\DeclareOptionBeamer{icclabb}{\beamer@icclabbtrue}
\DeclareOptionBeamer{nologo}{\beamer@nologofalse}
\DeclareOptionBeamer{smoothb}{\beamer@smoothbtrue}
\ProcessOptionsBeamer
\usecolortheme{icclab}
\ifbeamer@shadow
\useinnertheme[shadow=true]{rounded}
\else
\useinnertheme{rounded}
\fi
\ifbeamer@bgicclabgray
\setbeamercolor{normal text}{fg=white,bg=icclabgray}
\setbeamercolor{alerted text}{fg=yellow}
\setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!15!bg}
\fi
\ifbeamer@icclabgray
\setbeamercolor{block title}{fg=white,bg=icclabgray}
\setbeamercolor*{palette primary}{fg=white,bg=icclabblue}
\setbeamercolor*{palette secondary}{fg=white,bg=black}
\setbeamercolor*{palette tertiary}{fg=white,bg=icclabgray!110}
\setbeamercolor*{palette quaternary}{fg=white,bg=icclabblue}
\setbeamercolor{titlelike}{fg=white, bg=icclabgray}
\setbeamercolor{frametitle}{fg=white, bg=icclabgray}
\setbeamercolor{frametitle right}{fg=white, bg=icclabgray}
\setbeamercolor{sidebar}{bg=icclabblue}
\fi
\ifbeamer@nonav
\setbeamertemplate{navigation symbols}{} % Removes navigation symbols.
\fi
\ifbeamer@smoothb
\useoutertheme[subsection=false]{icclab2}
\else
\useoutertheme{icclab}
\fi
\setbeamerfont{block title}{size={}}
\mode
<all>