Commits

Joseph Wright  committed 1e3e174

Add \transreplace (fixes issue #164)

This is a 'do nothing' function in most cases

  • Participants
  • Parent commits f8ae4b3

Comments (0)

Files changed (2)

File base/beamerbaseoverlay.sty

   \newcommand<>{\transfade}[1][]{\only#2{\beamer@dotrans[{#1}]{Fade}}}
   \newcommand<>{\transglitter}[1][]{\only#2{\beamer@dotrans[{#1}]{Glitter}}}
   \newcommand<>{\transpush}[1][]{\only#2{\beamer@dotrans[{#1}]{Push}}}
+  \newcommand<>{\transreplace}[1][]{\only#2{\beamer@dotrans[{#1}]{Replace}}}
   \newcommand<>{\transsplitverticalin}[1][]{\only#2{\beamer@dotrans[{#1}]{Split /Dm /V /M /I}}}
   \newcommand<>{\transsplitverticalout}[1][]{\only#2{\beamer@dotrans[{#1}]{Split /Dm /V /M /O}}}
   \newcommand<>{\transsplithorizontalin}[1][]{\only#2{\beamer@dotrans[{#1}]{Split /Dm /H /M /I}}}

File doc/beamerug-animations.tex

   \example|\transglitter<2-3>[direction=90]|
 \end{command}
 
+\begin{command}{\transreplace\sarg{overlay specification}\oarg{options}}
+  Replace the previous slide directly (default behaviour).
+\end{command}
+
 \begin{command}{\transsplitverticalin\sarg{overlay specification}\oarg{options}}
   Show the slide by sweeping two vertical lines from the sides inward.
   \example|\transsplitverticalin|