summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/emulation/beamertexpower.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/emulation/beamertexpower.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/emulation/beamertexpower.sty34
1 files changed, 34 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/emulation/beamertexpower.sty b/Master/texmf-dist/tex/latex/beamer/emulation/beamertexpower.sty
new file mode 100644
index 00000000000..5dfd6015c4d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/beamer/emulation/beamertexpower.sty
@@ -0,0 +1,34 @@
+\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/emulation/beamertexpower.sty,v 1.2 2004/10/07 20:53:07 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.
+
+\long\def\stepwise#1{{\nonboxedsteps#1}}
+\long\def\parstepwise#1{{\boxedsteps#1}}
+\long\def\liststepwise{\vspace*{\parskip}\hrule \@height\z@\stepwise}
+\long\def\step#1{\beamerpower@action<+(1)->{#1}}
+\long\def\steponce#1{\beamerpower@action<+(1)>{#1}}
+\long\def\switch#1#2{\alt<+(1)->{#2}{#1}}
+\long\def\bstep#1{{\boxedsteps\step{#1}}}
+\long\def\dstep{\addtocounter{beamerpauses}{1}}
+\long\def\vstep{\addtocounter{beamerpauses}{1}}
+
+\def\restep{\addtocounter{beamerpauses}{-1}\step}
+\def\reswitch{\addtocounter{beamerpauses}{-1}\switch}
+\def\rebstep{\addtocounter{beamerpauses}{-1}\bstep}
+\def\redstep{\addtocounter{beamerpauses}{-1}\dstep}
+\def\revstep{\addtocounter{beamerpauses}{-1}\vstep}
+
+\def\boxedsteps{\let\beamerpower@action=\uncover}
+\def\nonboxedsteps{\let\beamerpower@action=\only}
+\boxedsteps
+
+\DeclareRobustCommand{\code}[1]{\textbf{\texttt{#1}}}%
+\DeclareRobustCommand{\codeswitch}{\bfseries\ttfamily}%
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: ../test/testprosper.tex
+%%% End: