Add experimental sambabg environment.
[obnox/slides/2015-05-sambaXP-multi-channel.git] / beamerthemeObnoxSamba.sty
1 % Copyright 2011 by Michael Adam  <obnox@samba.org>
2 % Copyright 2004 by Madhusudan Singh <madhusudan.singh@gmail.com>
3 %
4 % This file may be distributed and/or modified
5 %
6 % 1. under the LaTeX Project Public License and/or
7 % 2. under the GNU Public License.
8 %
9 % See the file doc/licenses/LICENSE for more details.
10
11
12 \mode<presentation>
13
14 %%\useinnertheme[shadow=true]{rounded}
15 \useoutertheme{obnoxinfolines}
16 \usecolortheme{obnoxsamba}
17
18 \setbeamerfont{block title}{size={}}
19 \setbeamercolor{titlelike}{parent=structure,bg=white}
20
21 \newenvironment{sambabg}{
22         \setbeamertemplate{background canvas}%
23                 {\includegraphics[width=\paperwidth,height=\paperheight]{samba_bg.png}}
24 }
25 {
26 }
27
28 \mode<all>