8

Is it possible to set a global transition effect for all frames instead of specifying the effect again for each frame?

3 Answers3

11

As a workaround similar to the one provided in Is it possible to define transduration for frames created with allowframebreaks?, you can add the transition effect to the background canvas template so that it is reactivated automatically after each reset:

\documentclass{beamer}

% Add global transition effect \transfade
\addtobeamertemplate{background canvas}{\transfade}{}

\begin{document}
\frame{\centering\Huge1}
\frame{\centering\Huge2}
\frame{\centering\Huge3}
\end{document}
diabonas
  • 25,784
7

Short answer: no.

The longer answer is that the way the frame environment is set up in beamer deliberately resets the transitions and buries this deeply within the code. That reflects the original author's position that transitions should be used sparingly and for single frames only. Altering this behaviour would require a significant rewrite of parts of beamer.

Joseph Wright
  • 259,911
  • 34
  • 706
  • 1,036
  • I'm not questioning the developers design choices, but of course there are use cases where a global option is useful. I guess I'm going for a massive search & replace then :) Thanks for the info, saved me a lot of time. – jack Cosmi Jul 07 '13 at 15:51
  • If I were starting from scratch, this is something I would make available as an option: however, I'm very wary of making major changes to beamer at this stage. – Joseph Wright Jul 07 '13 at 15:53
  • @JosephWright It would be a nice feature. It is hard to add effect for every frame separately and adds a lot of same code which is a bad attitude. Please consider adding this feature in future. Thanks. – sajjadG Aug 25 '13 at 19:19
  • @sajjadG As I said in a comment, without more-or-less starting from scratch this would be very hard. Also, though, I do sympathise with Till Tantau's position: slide transitions should really not be used for every slide. – Joseph Wright Aug 25 '13 at 19:22
  • Sorry, but that seems hard to believe. Below, we can see a workaround. And I can imagine that one could also create a new option or command that (re-)applies those options to every slide, no? – clel Oct 27 '22 at 11:06
1

An other way is to use impressive for your presentations. This software allow you to add transition effect between pages of your pdf.