summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbasethemes.sty
blob: 58ec7e04f29b9975ebc78ddcb408d0a8ea573110 (plain)
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
% Copyright 2003--2007 by Till Tantau
% Copyright 2010 by Vedran Mileti\'c
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/licenses/LICENSE for more details.

\ProvidesPackageRCS $Header: /Users/joseph/Documents/LaTeX/beamer/base/beamerbasethemes.sty,v efa082c6111d 2010/05/01 11:27:03 rivanvx $

%
% Basic commands for including themes
%
\mode
<presentation>
{
  \def\beamer@calltheme#1#2#3{%
    \def\beamer@themelist{#2}
    \@for\beamer@themename:=\beamer@themelist\do
    {\usepackage[{#1}]{#3\beamer@themename}}}

  \newcommand\usetheme[2][]{\beamer@calltheme{#1}{#2}{beamertheme}}
  \newcommand\usecolortheme[2][]{\beamer@calltheme{#1}{#2}{beamercolortheme}}
  \newcommand\usefonttheme[2][]{\beamer@calltheme{#1}{#2}{beamerfonttheme}}
  \newcommand\useoutertheme[2][]{\beamer@calltheme{#1}{#2}{beameroutertheme}}
  \newcommand\useinnertheme[2][]{\beamer@calltheme{#1}{#2}{beamerinnertheme}}
}

\mode
<article>
{
  \newcommand\usetheme[2][]{}
  \newcommand\usecolortheme[2][]{}
  \newcommand\usefonttheme[2][]{}
  \newcommand\useoutertheme[2][]{}
  \newcommand\useinnertheme[2][]{}
}

\mode
<all>