diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty index 7e044b89477..af617d7ccc5 100644 --- a/Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty +++ b/Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty @@ -1,5 +1,6 @@ % Copyright 2003--2007 by Till Tantau % Copyright 2010 by Vedran Mileti\'c +% Copyright 2017 by Joseph Wright % % This file may be distributed and/or modified % @@ -18,43 +19,41 @@ \newif\ifbeamer@dosecondmode \defbeameroption{previous slide on second screen}[right]% -{ - \pgfpagesuselayout{two screens with lagging second}[second #1] +{% + \pgfpagesuselayout{two screens with lagging second}[second #1]% \beamer@twoscreenstexttrue \nofiles } \defbeameroption{second mode text on second screen}[right]% -{ - \pgfpagesuselayout{two screens with optional second}[second #1] +{% + \pgfpagesuselayout{two screens with optional second}[second #1]% \beamer@twoscreenstexttrue } \defbeameroption{always typeset second mode}[true]% -{ - \def\beamer@defaultdosecondmode{#1} +{% + \def\beamer@defaultdosecondmode{#1}% } \def\beamer@defaultdosecondmode{false} - \long\def\beamer@dosecondscreennow#1{% called from \beamer@doseveralframes \ifbeamer@dosecondmode% {% - \clearpage% - \def\beamer@currentmode{second} - \def\beamer@doifnotinframe{}% + \clearpage + \def\beamer@currentmode{second}% + \gdef\beamer@doifnotinframe{}% \def\beamer@doifinframe{\begin{beamer@frameslide}% #1% \end{beamer@frameslide}% \pgfpagescurrentpagewillbelogicalpage{2}% - \clearpage% + \clearpage }% - {\beamer@masterdecode{\beamer@whichframes}}% - \beamer@donow% + \beamer@masterdecode{\beamer@whichframes}% + \beamer@donow }% - \fi% + \fi } - \mode <all> |