diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:52:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:52:02 +0000 |
commit | b1daf7130666bef14cdb98d88b3c107da38becec (patch) | |
tree | 08f591f90145354f39d714eadee16c99557b7109 /Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty | |
parent | 47773c8fa98e5885b1d789b205b39fb924707e6e (diff) |
beamer
git-svn-id: svn://tug.org/texlive/trunk@699 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty new file mode 100644 index 00000000000..ad77f52d7e2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty @@ -0,0 +1,60 @@ +\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/base/beamerbasetwoscreens.sty,v 1.6 2005/10/14 10:24:16 tantau Exp $ + +% Copyright 2004 by Till Tantau <tantau@users.sourceforge.net>. +% +% This program can be redistributed and/or modified under the terms +% of the GNU Public License, version 2. + +\mode +<presentation> + +\newif\ifbeamer@twoscreenstext +\newif\ifbeamer@dosecondmode + +\defbeameroption{previous slide on second screen}[right]% +{ + \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] + \beamer@twoscreenstexttrue +} + +\defbeameroption{always typeset second mode}[true]% +{ + \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{}% + \def\beamer@doifinframe{\begin{beamer@frameslide}% + #1% + \end{beamer@frameslide}% + \pgfcurrentpagewillbelogicalpage{2}% + \clearpage% + }% + {\beamer@masterdecode{\beamer@whichframes}}% + \beamer@donow% + }% + \fi% +} + + +\mode +<all> + + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: "~/texmf/tex/latex/beamer/examples/beamerexample1.tex" +%%% End: |