File: beamercolorthemeexample.tex

package info (click to toggle)
tetex-src 3.0.dfsg.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 122,292 kB
  • ctags: 2,709
  • sloc: makefile: 2,323; perl: 1,820; sh: 1,378; lisp: 448; python: 335; xml: 175; sed: 138; ansic: 138; yacc: 52
file content (63 lines) | stat: -rw-r--r-- 1,316 bytes parent folder | download | duplicates (3)
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
% $Header: /cvsroot/latex-beamer/latex-beamer/doc/beamercolorthemeexample.tex,v 1.11 2004/10/07 20:53:04 tantau Exp $

\documentclass[hyperref={draft}]{beamer}

% Copyright 2004 by Till Tantau <tantau@users.sourceforge.net>.
%
% This file can be redistributed and/or modified under
% the terms of the GNU Public License, version 2.

\ifx\themename\undefined
  \def\themename{default}
\fi

\useoutertheme[height=0pt]{sidebar}

\def\albatrossname{albatross}
\def\flyname{fly}
\def\beetlename{beetle}
\def\structurename{structure}

\def\albatrossnamestylish{albatrossstylish}

\ifx\themename\structurename
  \usecolortheme[cmyk={0.69,0,0.50,0}]{\themename}
\else
  \ifx\themename\albatrossnamestylish
    \usecolortheme[overlystylish]{albatross}
    \usecolortheme{lily}
  \else
    \usecolortheme{\themename}
  \fi
\fi

\ifx\themename\albatrossname
  \makeatletter
  \let\beamertemplatesolidbackgroundcolor=\@gobble
  \makeatother
\fi

\ifx\themename\albatrossnamestylish
  \makeatletter
  \let\beamertemplatesolidbackgroundcolor=\@gobble
  \makeatother
\fi

\ifx\themename\flyname
  \makeatletter
  \let\beamertemplatesolidbackgroundcolor=\@gobble
  \makeatother
\fi

\ifx\themename\beetlename
  \makeatletter
  \let\beamertemplatesolidbackgroundcolor=\@gobble
  \makeatother
\fi




\input{beamerthemeexamplebase}