summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/emulation/beamertexpower.sty
blob: e92420a78e7eb4da527983122cd9c0f785f457e9 (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
% Copyright 2007 by Till Tantau
%
% 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: /cvsroot/latex-beamer/latex-beamer/emulation/beamertexpower.sty,v 1.3 2007/01/28 20:48:22 tantau Exp $

\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: