From b1daf7130666bef14cdb98d88b3c107da38becec Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 12 Jan 2006 23:52:02 +0000
Subject: beamer

git-svn-id: svn://tug.org/texlive/trunk@699 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/latex/beamer/beamerbasetwoscreens.sty      | 60 ++++++++++++++++++++++
 1 file changed, 60 insertions(+)
 create mode 100644 Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty

(limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty')

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: 
-- 
cgit v1.2.3

