forked from kzhai/Papers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
beamerthemeI6dv.sty
169 lines (146 loc) · 6.47 KB
/
beamerthemeI6dv.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
168
169
\ProvidesPackage{beamerthemeI6dv} % this style was created by David Vilar
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\selectcolormodel{cmyk}
\mode<presentation>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% custom colors
\definecolor{i6blue}{cmyk}{1,0.305,0,0.06}
\definecolor{i6reddark}{rgb}{0.5625,0.2578,0.0156}
% FFFFff, used start set: #0066cc
\definecolor{i6colorscheme1}{HTML}{FF0000} % e.g. for block title
\definecolor{i6colorblockbg}{HTML}{E90000}
\definecolor{i6colorblockfg}{HTML}{FFFFFF}
\definecolor{lightyellow}{HTML}{FEFECC}
\definecolor{i6colorscheme2}{HTML}{000000} % e.g. title in headline
% \definecolor{i6colorscheme3}{HTML}{AAAAAA} % e.g. for poster background
\definecolor{i6colorscheme3}{HTML}{B6B68C} % e.g. for poster background
\definecolor{i6colorscheme4}{HTML}{000000}
\definecolor{i6colorschemeHeadline}{HTML}{FEFECC} % for headline bg
\definecolor{i6colorschemeFootline}{HTML}{000000} % for headline bg
\definecolor{i6colorschemeFootline}{HTML}{090D10} % for headline bg
% headline colors and fonts
\setbeamercolor{headline}{fg=black,bg=i6colorschemeHeadline}
\setbeamercolor{title in headline}{fg=black}
\setbeamercolor{author in headline}{fg=darkgray}
\setbeamercolor{institute in headline}{fg=gray}
\setbeamercolor{logo in headline}{fg=black,bg=gray}
\setbeamercolor{separation line}{bg=i6colorscheme1}
% footline colors and fonts
\setbeamercolor{footline}{fg=black,bg=i6colorschemeHeadline}
\setbeamerfont{footline}{fg=black, size=\normalsize}
% body colors and fonts
\setbeamercolor*{normal text}{fg=black,bg=i6colorscheme3}
% block environment
\setbeamercolor*{block body}{bg=lightyellow,fg=black}
\setbeamercolor*{block title}{fg=i6colorblockfg,bg=i6colorblockbg}
\setbeamerfont{block title}{size=\large,series=\bf}
% example environment
\setbeamercolor*{example title}{fg=white,bg=i6colorscheme1}
\setbeamerfont{example title}{size=\large,series=\bf,bg=i6colorscheme1,fg=white}
%\setbeamercolor*{example body}{fg=white,bg=i6colorscheme4}
%\setbeamercolor*{example title}{fg=white,bg=i6colorscheme1}
% \setbeamercolor{framesubtitle}{fg=ta3orange, bg=ta2gray}
% \setbeamercolor{author in head/foot}{fg=tabutter, bg=black}
% \setbeamercolor{title in head/foot}{bg=tabutter, fg=black}
\setbeamercolor{alerted text}{fg=i6colorscheme1}
%\setbeamercolor{structure}{fg=i6blue}
% \setbeamertemplate{itemize/enumerate body begin}{
% }
% \setbeamertemplate{itemize/enumerate body end}{
% }
\setbeamertemplate{itemize items}[triangle]
\setbeamertemplate{navigation symbols}{} % no navigation on a poster
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{block begin}{
\vskip.75ex
\begin{beamercolorbox}[leftskip=1cm,colsep*=.75ex]{block title}%
\usebeamerfont*{block title}\insertblocktitle
\end{beamercolorbox}%
{\ifbeamercolorempty[bg]{block body}{}{\nointerlineskip\vskip-0.5pt}}%
\usebeamerfont{block body}%
\begin{beamercolorbox}[colsep*=.75ex,sep=.75ex,vmode]{block body}%
\ifbeamercolorempty[bg]{block body}{\vskip-.25ex}{\vskip-.75ex}\vbox{}%
}
\setbeamertemplate{block end}{
\end{beamercolorbox}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{headline}{
\leavevmode
\begin{beamercolorbox}[wd=\paperwidth]{lower separation line head}
\rule{0pt}{4pt}
\end{beamercolorbox}
\begin{beamercolorbox}[wd=\paperwidth]{headline}
\begin{columns}[T]
% \begin{column}{.02\paperwidth}
% \end{column}
% \begin{column}{.07\paperwidth}
% \begin{center}
% %\includegraphics[width=.6\linewidth]{logos/i6-hks44}
% \end{center}
% \vskip1ex
% \end{column}
\begin{column}{.1\paperwidth}
\begin{center}
\includegraphics[width=0.07\paperwidth]{style/figure/UMD_logo_circ}
\end{center}
\end{column}
\begin{column}{.775\paperwidth}
\begin{center}
\vskip4ex
% \raggedleft
\usebeamercolor{title in headline}{\color{fg}\textbf{\LARGE{\inserttitle}}\\[1ex]}
\usebeamercolor{author in headline}{\color{fg}\Large{\insertauthor}\\[0.5ex]}
\usebeamercolor{institute in headline}{\color{fg}\large{\insertinstitute}\\[1ex]}
\vskip2ex
\end{center}
\end{column}
\begin{column}{.1\paperwidth}
% \vskip1cm
\begin{center}
\includegraphics[width=0.07\paperwidth]{style/figure/UMD_logo_circ}
\end{center}
% \vskip1.5cm
\end{column}
% \begin{column}{.03\paperwidth}
% \end{column}
\end{columns}
\end{beamercolorbox}
%% \begin{beamercolorbox}[sep=0.1cm,wd=.1\paperwidth,center]{logo in headline}
%% \vskip2ex
%% \end{beamercolorbox}
%% \begin{beamercolorbox}[sep=1cm,wd=.7\paperwidth]{headline}
%% \usebeamercolor{title in headline}{\raggedright\color{fg}\textbf{\LARGE{\inserttitle}}\\[1ex]}
%% \usebeamercolor{author in headline}{\raggedright\color{fg}\large{\insertauthor}\\[1ex]}
%% \usebeamercolor{institute in headline}{\raggedright\color{fg}\large{\insertinstitute}\\[1ex]}
%% \end{beamercolorbox}%
%% \begin{beamercolorbox}[sep=0.1cm,wd=.18\paperwidth,center]{logo in headline}
%% \includegraphics[height=5cm]{logos/rwth-hks44}
%% \vskip2ex
%% \end{beamercolorbox}
%% \end{beamercolorbox}
\begin{beamercolorbox}[wd=\paperwidth]{lower separation line head}
\rule{0pt}{4pt}
\end{beamercolorbox}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{footline}{
\begin{beamercolorbox}[wd=\paperwidth]{upper separation line foot}
\rule{0pt}{2pt}
\end{beamercolorbox}
\begin{beamercolorbox}[ht=4ex,leftskip=1cm,rightskip=1cm]{footline}%
%Email: $^{\star}$ \texttt{\{ynhu,zhaike,jbg\}@umiacs.umd.edu}, $^{\dagger}$ \texttt{[email protected]} \hfill Code: \texttt{http://www.cs.umd.edu/$\sim$ynhu/code/mtibp}
\vskip1ex
\end{beamercolorbox}
\begin{beamercolorbox}[wd=\paperwidth]{lower separation line foot}
\rule{0pt}{2pt}
\end{beamercolorbox}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<all>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "poster"
%%% TeX-PDF-mode: t
%%% End: