| 1 |
% Copyright 2003 by Till Tantau <[email protected]>. |
| 2 |
% |
| 3 |
% This program can be redistributed and/or modified under the terms |
| 4 |
% of the GNU Public License, version 2. |
| 5 |
|
| 6 |
\mode<presentation> |
| 7 |
|
| 8 |
% I downloaded a gimp color palette from |
| 9 |
% http://maururu.net/2007/latex-beamer-color-palette/ |
| 10 |
% Which provides rgb values (I think) for several of the |
| 11 |
% default beamer themes. You can open this in gimp by |
| 12 |
% opening the Palettes dialog, right-clicking anywhere and choosing |
| 13 |
% 'Import Palette'. A color in there called 'default added blue' |
| 14 |
% appeared to be approximately what I wanted. It had the triple |
| 15 |
% of values 141 145 208. If you double-click on this in the |
| 16 |
% palette editor it gives you a bunch of information. You can't |
| 17 |
% use these values directly to set a color...it just comes out white. |
| 18 |
% I think definecolor is expecting something normalized by 255. Yes! |
| 19 |
|
| 20 |
|
| 21 |
% bluish colors |
| 22 |
\definecolor{defaddedblue}{rgb}{0.5529,.5686,.8157} % 141,145,208 |
| 23 |
\definecolor{defblockheader}{rgb}{.1921,.2235,.6824} % 49,57,174 |
| 24 |
\definecolor{flyaddedblue}{rgb}{.5961,.6118,.8431} % 152,156,215 |
| 25 |
|
| 26 |
% bluish-greys |
| 27 |
\definecolor{beetleaddedblue1}{rgb}{.3333,.4039,.6196} % 85 103 158, dark |
| 28 |
\definecolor{beetleaddedblue2}{rgb}{.4510,.5098,.7020} % 115 130 179, medium |
| 29 |
\definecolor{beetleaddedblue3}{rgb}{.7059,.7255,.7961} % 180 185 203, light (greyest) |
| 30 |
|
| 31 |
% very light blue-greys |
| 32 |
\definecolor{deflightouter1}{rgb}{.7608,.7647,.9020} % 194 195 230, dark |
| 33 |
\definecolor{deflightouter2}{rgb}{.8 ,.8039,.9176} % 204 205 234, medium |
| 34 |
\definecolor{deflightouter3}{rgb}{.8392,.8431,.9373} % 214 215 239, light |
| 35 |
|
| 36 |
% reddish colors |
| 37 |
\definecolor{flyalertblockheader}{rgb}{.7373,.1294,.1333} % 188 33 34 |
| 38 |
\definecolor{flyaddedred}{rgb}{.8667,.5647,.5647}% 221 144 144 |
| 39 |
\definecolor{beaverouterframe}{rgb}{.5529,.0980,.0980}% 141 25 25 |
| 40 |
|
| 41 |
% greens (green is used for 'examples' in beamer) |
| 42 |
\definecolor{defexblock}{rgb}{.9098,.9333,.9020} % 232 238 230, light |
| 43 |
\definecolor{defaddedgreen}{rgb}{.5412,.6510,.4706} % 138 166 120, medium |
| 44 |
\definecolor{defexblockheader}{rgb}{.1686,.3647,.0392} % 43 93 10, dark |
| 45 |
|
| 46 |
\definecolor{lightexblock}{rgb}{.9137,.9451,.9020} % 233 241 230, light |
| 47 |
\definecolor{lightexblockheader}{rgb}{.8235,.8980,.8} % 210 229 204, medium |
| 48 |
\definecolor{lightexblockheadertext}{rgb}{.2431,.5098,.0745} % 62 130 19, dark |
| 49 |
|
| 50 |
|
| 51 |
%%% |
| 52 |
% Set the normal text color |
| 53 |
%%% |
| 54 |
\setbeamercolor{normal text}{fg=black,bg=white} |
| 55 |
|
| 56 |
%%% |
| 57 |
% Set the alerted text color |
| 58 |
%%% |
| 59 |
% \setbeamercolor{alerted text}{fg=red} |
| 60 |
\setbeamercolor{alerted text}{fg=red!50!black} % half black/half red for green bg |
| 61 |
% \setbeamercolor{alerted text}{fg=beaverouterframe} |
| 62 |
% \setbeamercolor{alerted text}{fg=defblockheader} % doesn't stand out enough |
| 63 |
|
| 64 |
|
| 65 |
% Set the 'example' text |
| 66 |
\setbeamercolor{example text}{fg=green!50!black} |
| 67 |
|
| 68 |
\setbeamercolor{structure}{fg=black} |
| 69 |
|
| 70 |
\setbeamercolor{background canvas}{parent=normal text} |
| 71 |
\setbeamercolor{background}{parent=background canvas} |
| 72 |
|
| 73 |
\setbeamercolor{palette primary}{use=structure,fg=structure.fg} |
| 74 |
\setbeamercolor{palette secondary}{use=structure,fg=structure.fg!75!black} |
| 75 |
\setbeamercolor{palette tertiary}{use=structure,fg=structure.fg!50!black} |
| 76 |
\setbeamercolor{palette quaternary}{fg=black} |
| 77 |
|
| 78 |
\setbeamercolor{palette sidebar primary}{use=normal text,fg=normal text.fg} |
| 79 |
\setbeamercolor{palette sidebar secondary}{use=structure,fg=structure.fg} |
| 80 |
\setbeamercolor{palette sidebar tertiary}{use=normal text,fg=normal text.fg} |
| 81 |
\setbeamercolor{palette sidebar quaternary}{use=structure,fg=structure.fg} |
| 82 |
|
| 83 |
\setbeamercolor{math text}{} |
| 84 |
\setbeamercolor{math text inlined}{parent=math text} |
| 85 |
\setbeamercolor{math text displayed}{parent=math text} |
| 86 |
|
| 87 |
\setbeamercolor{normal text in math text}{} |
| 88 |
|
| 89 |
\setbeamercolor{local structure}{parent=structure} |
| 90 |
|
| 91 |
\setbeamercolor{titlelike}{parent=structure} |
| 92 |
|
| 93 |
\setbeamercolor{title}{parent=titlelike} |
| 94 |
\setbeamercolor{title in head/foot}{parent=palette quaternary} |
| 95 |
\setbeamercolor{title in sidebar}{parent=palette sidebar quaternary} |
| 96 |
|
| 97 |
\setbeamercolor{subtitle}{parent=title} |
| 98 |
|
| 99 |
\setbeamercolor{author}{} |
| 100 |
\setbeamercolor{author in head/foot}{parent=palette primary} |
| 101 |
\setbeamercolor{author in sidebar}{use=palette sidebar tertiary,fg=palette sidebar tertiary.fg} |
| 102 |
|
| 103 |
\setbeamercolor{institute}{} |
| 104 |
\setbeamercolor{institute in head/foot}{parent=palette tertiary} |
| 105 |
\setbeamercolor{institute in sidebar}{use=palette sidebar tertiary,fg=palette sidebar tertiary.fg} |
| 106 |
|
| 107 |
\setbeamercolor{date}{} |
| 108 |
\setbeamercolor{date in head/foot}{parent=palette secondary} |
| 109 |
\setbeamercolor{date in sidebar}{use=palette sidebar tertiary,fg=palette sidebar tertiary.fg} |
| 110 |
|
| 111 |
\setbeamercolor{titlegraphic}{} |
| 112 |
|
| 113 |
\setbeamercolor{part name}{} |
| 114 |
\setbeamercolor{part title}{parent=titlelike} |
| 115 |
|
| 116 |
\setbeamercolor{section in toc}{parent=structure} |
| 117 |
\setbeamercolor{section in toc shaded}{parent=section in toc} |
| 118 |
\setbeamercolor{section in head/foot}{parent=palette tertiary} |
| 119 |
\setbeamercolor{section in sidebar}{parent=palette sidebar secondary} |
| 120 |
\setbeamercolor{section in sidebar shaded}{use=section in sidebar,fg=section in sidebar.fg!40!bg} |
| 121 |
\setbeamercolor{section number projected}{parent=item projected} |
| 122 |
|
| 123 |
\setbeamercolor{subsection in toc}{} |
| 124 |
\setbeamercolor{subsection in toc shaded}{parent=subsection in toc} |
| 125 |
\setbeamercolor{subsection in head/foot}{parent=palette secondary} |
| 126 |
\setbeamercolor{subsection in sidebar}{parent=palette sidebar primary} |
| 127 |
\setbeamercolor{subsection in sidebar shaded}{use=subsection in sidebar,fg=subsection in sidebar.fg!40!bg} |
| 128 |
\setbeamercolor{subsection number projected}{parent={subitem projected}} |
| 129 |
|
| 130 |
\setbeamercolor{subsubsection in toc}{parent=subsection in toc} |
| 131 |
\setbeamercolor{subsubsection in toc shaded}{parent=subsubsection in toc} |
| 132 |
\setbeamercolor{subsubsection in head/foot}{parent=subsection in head/foot} |
| 133 |
\setbeamercolor{subsubsection in sidebar}{parent=subsection in sidebar} |
| 134 |
\setbeamercolor{subsubsection in sidebar shaded}{parent=subsection in sidebar shaded} |
| 135 |
\setbeamercolor{subsubsection number projected}{parent=subsubitem projected} |
| 136 |
|
| 137 |
\setbeamercolor{headline}{} |
| 138 |
\setbeamercolor{footline}{} |
| 139 |
|
| 140 |
\setbeamercolor{sidebar}{} |
| 141 |
\setbeamercolor{sidebar left}{parent=sidebar} |
| 142 |
\setbeamercolor{sidebar right}{parent=sidebar} |
| 143 |
|
| 144 |
\setbeamercolor{logo}{parent=palette secondary} |
| 145 |
|
| 146 |
\setbeamercolor{frametitle}{parent=titlelike} |
| 147 |
\setbeamercolor{framesubtitle}{parent=frametitle} |
| 148 |
|
| 149 |
\setbeamercolor{frametitle right}{parent=frametitle} |
| 150 |
|
| 151 |
\setbeamercolor{caption}{} |
| 152 |
\setbeamercolor{caption name}{parent=structure} |
| 153 |
|
| 154 |
\setbeamercolor{button}{use=local structure,bg=local structure.fg!50!bg,fg=white} |
| 155 |
\setbeamercolor{button border}{use=button,fg=button.bg} |
| 156 |
\setbeamercolor{navigation symbols}{use=structure,fg=structure.fg!40!bg} |
| 157 |
\setbeamercolor{navigation symbols dimmed}{use=structure,fg=structure.fg!20!bg} |
| 158 |
\setbeamercolor{mini frame}{parent=section in head/foot} |
| 159 |
|
| 160 |
% Color expressions are defined in the xcolor package |
| 161 |
% |
| 162 |
% Ex: Mixture of 40% green, 60% yellow: green!40!yellow |
| 163 |
% |
| 164 |
% The complement of any color can be obtained by prepending |
| 165 |
% a minus sign: -green!40!yellow |
| 166 |
% |
| 167 |
% One can also combine up to three colors (in differing proportions) |
| 168 |
% using the rgb command. For example, the following command combines |
| 169 |
% 3 parts of the first color, with 2 parts of the second, and one part |
| 170 |
% "red" |
| 171 |
% |
| 172 |
%\color{rgb:-green!40!yellow,3;green!40!yellow,2;red,1} |
| 173 |
% Unfortunately, I don't think this works as an argument to setbeamercolor... |
| 174 |
% "Orange" bg=green!30!yellow!30!red |
| 175 |
% close to burnt orange: red!75!green |
| 176 |
% lightgray is a color, but gray!25!white looks better |
| 177 |
% |
| 178 |
% A nice pair of greens |
| 179 |
% (dark, a little too dark to be under black text...) -red!75!green!50!blue!25 |
| 180 |
% (light) -red!75!green!50!blue!25!gray |
| 181 |
% |
| 182 |
% Some colors are only available via options to the xcolor package, eg. |
| 183 |
% x11names,DarkOliveGreen4 |
| 184 |
% svgnames, Chartreuse |
| 185 |
% dvipsnames, ForestGreen |
| 186 |
% |
| 187 |
% but beamer does not seem to have any of these. |
| 188 |
% |
| 189 |
% The base color names which are always available are: |
| 190 |
% black |
| 191 |
% blue |
| 192 |
% brown |
| 193 |
% cyan |
| 194 |
% darkgray |
| 195 |
% gray |
| 196 |
% green |
| 197 |
% lightgray |
| 198 |
% lime |
| 199 |
% magenta |
| 200 |
% olive |
| 201 |
% orange |
| 202 |
% pink |
| 203 |
% purple |
| 204 |
% red |
| 205 |
% teal |
| 206 |
% violet |
| 207 |
% white |
| 208 |
% yellow |
| 209 |
|
| 210 |
% From the beamer user guide, pg. 167 |
| 211 |
% Inner color themes only specify the colors of elements used in inner |
| 212 |
% themes. Most noticably, they specify the colors used for blocks. |
| 213 |
% ... |
| 214 |
|
| 215 |
% Example color definition |
| 216 |
% beamercolorthemedefault.sty:\definecolor{beamer@blendedblue}{rgb}{0.2,0.2,0.7} |
| 217 |
% beamercolorthemedefault.sty:\setbeamercolor{structure}{fg=beamer@blendedblue} |
| 218 |
|
| 219 |
% The greens |
| 220 |
% \setbeamercolor{block body}{bg=-red!75!green!50!blue!25!gray} |
| 221 |
% \setbeamercolor{block title}{parent=structure,bg=-red!75!green!50!blue!25,fg=-red!75!green!50!blue!25!gray} |
| 222 |
|
| 223 |
%%% |
| 224 |
% Set the block body and title background/foreground colors |
| 225 |
%%% |
| 226 |
% \setbeamercolor{block body}{bg=flyaddedblue} |
| 227 |
% \setbeamercolor{block title}{bg=defblockheader,fg=flyaddedblue} |
| 228 |
|
| 229 |
% Purplish blues, too dark overall |
| 230 |
% \setbeamercolor{block body}{bg=beetleaddedblue3} |
| 231 |
% \setbeamercolor{block title}{bg=beetleaddedblue2,fg=beetleaddedblue3} |
| 232 |
|
| 233 |
% Very light blue greys |
| 234 |
% 1. Not enough contrast |
| 235 |
% \setbeamercolor{block body}{bg=deflightouter3} |
| 236 |
% \setbeamercolor{block title}{bg=deflightouter2,fg=deflightouter3} |
| 237 |
|
| 238 |
% 2. Not enough contrast |
| 239 |
% \setbeamercolor{block body}{bg=deflightouter3} |
| 240 |
% \setbeamercolor{block title}{bg=deflightouter1,fg=deflightouter3} |
| 241 |
|
| 242 |
% 3. Combination of deflightouter and fly. The block bg is |
| 243 |
% lighter than the all-beetle color scheme I previously thought was best. |
| 244 |
% Currently I like this one the best |
| 245 |
\setbeamercolor{block body}{bg=deflightouter3} |
| 246 |
\setbeamercolor{block title}{bg=beetleaddedblue2,fg=deflightouter3} |
| 247 |
|
| 248 |
% 4. Greens. Looks like a highlighter. I don't really trust greens |
| 249 |
% on projectors... It's almost too bright/hurts your eyes. |
| 250 |
% \setbeamercolor{block body}{bg=defexblock} |
| 251 |
% \setbeamercolor{block title}{bg=defaddedgreen,fg=defexblock} |
| 252 |
|
| 253 |
% This looks pretty good ... it's similar to the greens we had before |
| 254 |
% but should be lighter. The blocks are just a little too "mint" colored |
| 255 |
% though... |
| 256 |
% \setbeamercolor{block body}{bg=defexblock} |
| 257 |
% \setbeamercolor{block title}{bg=defexblockheader,fg=defexblock} |
| 258 |
|
| 259 |
% Pea Soup! |
| 260 |
%\setbeamercolor{block body}{bg=defaddedgreen} |
| 261 |
%\setbeamercolor{block title}{bg=defexblockheader,fg=defaddedgreen} |
| 262 |
|
| 263 |
|
| 264 |
% Changing these didn't seem to do anything...I had to change the |
| 265 |
% 'alerted text' color instead |
| 266 |
\setbeamercolor{block body alerted}{} |
| 267 |
\setbeamercolor{block body example}{} |
| 268 |
\setbeamercolor{block title alerted}{parent=alerted text} |
| 269 |
\setbeamercolor{block title example}{parent=example text} |
| 270 |
|
| 271 |
\setbeamercolor{item}{parent=local structure} |
| 272 |
\setbeamercolor{subitem}{parent=item} |
| 273 |
\setbeamercolor{subsubitem}{parent=subitem} |
| 274 |
|
| 275 |
\setbeamercolor{item projected}{parent=item,use=item,fg=white,bg=item.fg} |
| 276 |
\setbeamercolor{subitem projected}{parent=item projected} |
| 277 |
\setbeamercolor{subsubitem projected}{parent=subitem projected} |
| 278 |
|
| 279 |
\setbeamercolor{enumerate item}{parent=item} |
| 280 |
\setbeamercolor{enumerate subitem}{parent=subitem} |
| 281 |
\setbeamercolor{enumerate subsubitem}{parent=subsubitem} |
| 282 |
|
| 283 |
\setbeamercolor{itemize item}{parent=item} |
| 284 |
\setbeamercolor{itemize subitem}{parent=subitem} |
| 285 |
\setbeamercolor{itemize subsubitem}{parent=subsubitem} |
| 286 |
|
| 287 |
\setbeamercolor{itemize/enumerate body}{} |
| 288 |
\setbeamercolor{itemize/enumerate subbody}{} |
| 289 |
\setbeamercolor{itemize/enumerate subsubbody}{} |
| 290 |
|
| 291 |
\setbeamercolor{description item}{parent=item} |
| 292 |
|
| 293 |
\setbeamercolor{bibliography item}{parent=item} |
| 294 |
|
| 295 |
\setbeamercolor{bibliography entry author}{use=structure,fg=structure.fg} |
| 296 |
\setbeamercolor{bibliography entry title}{use=normal text,fg=normal text.fg} |
| 297 |
\setbeamercolor{bibliography entry location}{use=structure,fg=structure.fg!65!bg} |
| 298 |
\setbeamercolor{bibliography entry note}{use=structure,fg=structure.fg!65!bg} |
| 299 |
|
| 300 |
\setbeamercolor{separation line}{} |
| 301 |
|
| 302 |
\setbeamercolor{upper separation line head}{parent=separation line} |
| 303 |
\setbeamercolor{middle separation line head}{parent=separation line} |
| 304 |
\setbeamercolor{lower separation line head}{parent=separation line} |
| 305 |
|
| 306 |
\setbeamercolor{upper separation line foot}{parent=separation line} |
| 307 |
\setbeamercolor{middle separation line foot}{parent=separation line} |
| 308 |
\setbeamercolor{lower separation line foot}{parent=separation line} |
| 309 |
|
| 310 |
\setbeamercolor{abstract}{} |
| 311 |
\setbeamercolor{abstract title}{parent=structure} |
| 312 |
|
| 313 |
\setbeamercolor{verse}{} |
| 314 |
|
| 315 |
\setbeamercolor{quotation}{} |
| 316 |
\setbeamercolor{quote}{parent=quotation} |
| 317 |
|
| 318 |
\setbeamercolor{page number in head/foot}{fg=fg!50!bg} |
| 319 |
|
| 320 |
\setbeamercolor{qed symbol}{parent=structure} |
| 321 |
|
| 322 |
\mode |
| 323 |
<all> |