summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbasethemes.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasethemes.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/beamerbasethemes.sty37
1 files changed, 37 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasethemes.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasethemes.sty
new file mode 100644
index 00000000000..c390a5d0d50
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/beamer/beamerbasethemes.sty
@@ -0,0 +1,37 @@
+\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/base/beamerbasethemes.sty,v 1.9 2004/10/07 20:17:58 tantau Exp $
+
+% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>.
+%
+% This program can be redistributed and/or modified under the terms
+% of the GNU Public License, version 2.
+
+%
+% 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][]{}
+}
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: "~/texmf/tex/latex/beamer/examples/beamerexample1.tex"
+%%% End: