You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.2 KiB
33 lines
1.2 KiB
% 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 doc/licenses/LICENSE 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}%
|
|
|