blob: ee0507480deced4da6ac0734d6687bc197974914 (
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
|
% Copyright 2003--2007 by Till Tantau
% Copyright 2010 by Vedran Mileti\'c
% Copyright 2015 by Vedran Mileti\'c, Joseph Wright
%
% 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 LICENSE.md for more details.
\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}%
|