Commits

Anonymous committed d2860b3

*** empty log message ***

  • Participants
  • Parent commits 591084e

Comments (0)

Files changed (18)

File doc/beameruserguide.tex

 
 \begin{document}
 
-\title{User's Guide to the Beamer Class, Version 1.21-dev\\
+\title{User's Guide to the Beamer Class, Version 2.00\\
 \Large\href{http://latex-beamer.sourceforge.net}{\texttt{http://latex-beamer.sourceforge.net}}}
 \author{Till Tantau\\
   \href{mailto:tantau@users.sourceforge.net}{\texttt{tantau@users.sourceforge.net}}}
 |.tar.gz|) of the \beamer\ package from 
 \href{http://sourceforge.net/projects/latex-beamer/}{|http://sourceforge.net/projects/latex-beamer/|}
 (most likely, you have already done this). Next, you also need at
-least version 0.51 of the \textsc{pgf} package, which can be found at
+least version 0.60 of the \textsc{pgf} package, which can be found at 
 the same place. Finally, you need at least version 1.06 of the
 \textsc{xcolor} package, which can also be found at that place
 (although the version on CTAN might be newer).
 above. Then you also have to make \LyX\ aware of the file
 |beamer/lyx/layouts/beamer.layout|. To do so, link (or, not
 so good in case of later updates, copy) this file to the directory
-|.lyx/layouts| in your home directory. Then use \LyX's Reconfigure
+|.lyx/layouts/| in your home directory. Then use \LyX's Reconfigure
 command to make \LyX\ aware of this file.
 
 \vskip1em
 command is also provided: 
 
 \begin{command}{\maketitle}
-  Same as |\frame{titlepage}|.
+  \beamernote
+  Same as |\titlepage|.
 \end{command}
 
 
 \lyxnote
 You can use the usual ``Insert Graphic'' command to insert a graphic.
 
+The commands |\includegraphics|, |\pgfuseimage|, and |\pgfimage| are
+overlay-specification-aware in \beamer. If the overlay specification
+does not apply, the command has no effect. This is useful for creating
+a simple animation where each picture of the animation resides in a
+different file:
+
+\begin{verbatim}
+\frame{
+  \includegraphics<1>[height=2cm]{step1.pdf}
+  \includegraphics<2>[height=2cm]{step2.pdf}
+  \includegraphics<3>[height=2cm]{step3.pdf}
+}
+\end{verbatim}
+
+
 
 \subsubsection{Inlining Graphic Commands}
 
 to yourself of what you should say or should keep in 
 mind when presenting a slide.
 
+
+
 \subsubsection{Specifying Note Contents}
 
-There are two commands for specifying what should be put on a note:
-|\note| and |\notes|. The first commands can only be used
-\emph{inside} a frame, the second only \emph{outside}.
+To add a note to a slide or a frame, you should use the |\note|
+command. This command can be used both inside and outside frames, but
+it has quite different behaviors then: Inside frames, |\note| commands
+accumulate and append a single note page after the current slide;
+outside frames each |\note| directly inserts a single note page with
+the given parameter as contents. Using the |\note| command inside
+frames is usually preferably over using them outside, since only
+commands issued inside frames profit from the class option
+|onlyslideswithnotes|, see below.
 
 \lyxnote
-In \LyX, only the |\note| command with the option |[item]| is avaiable
-in the form of the NoteItem style. 
-
-The effect of |\note|\meta{text} is the following: When you use it
-somewhere inside the frame on a specific slide, a note page is created
-after the slide, containing the \meta{text}. Since you can add an
-overlay specification to the |\note| command, you can specify after
-which slide the note should be shown. If you use multiple |\note|
-commands on one slide, they ``accumulate'' and are all shown on the
-same note.
+In \LyX, only the inside-frame |\note| command with the option
+|[item]| is avaiable in the form of the NoteItem style. 
+
+Inside a frame, the effect of |\note|\meta{text} is the following:
+When you use it somewhere inside the frame on a specific slide, a note
+page is created after the slide, containing the \meta{text}. Since you
+can add an overlay specification to the |\note| command, you can
+specify after which slide the note should be shown. If you use
+multiple |\note| commands on one slide, they ``accumulate'' and are
+all shown on the same note.
 
 To make the accumulation of notes more convenient, you can use the
 |\note| command with the option |[item]|. The notes added with this
 }
 \end{verbatim}
 
+
+Outside frames, the command |\note|. It create a single note page. It
+is ``independent'' of any usage of the |\note| commands
+inside the previous frame. If you say |\note| inside a frame and
+|\note| right after it, \emph{two} note pages are created.
+
+In the following, the syntax and effects of the |\note| command
+\emph{inside} frames is described:
+
 \begin{command}{\note\sarg{overlay
-      specification}\oarg{options}\marg{note text}} 
-  Addends to \meta{note text} to the note that follows the current
-  slide. Multiple uses of this command on a slide accumulate. If you
+      specification}\oarg{options}\marg{note text}}
+  \emph{Effects inside frames:}
+  
+  This command addends to \meta{note text} to
+  the note that follows the current slide. Multiple uses of this
+  command on a slide accumulate. If you 
   do not specify an \meta{overlay specification}, the 
   note will be added to \emph{all} slides of the current frame. This
   often not what you want, so adding a specification like |<1>| is
 \end{command}
 
 
-The command |\notes| must be used outside
-frames. It create a single note page. It is
-``independent'' of any usage of the |\note| commands
-inside the previous frame. If you say |\note| inside a frame and
-|\notes| right after it, \emph{two} note pages are created.
-
-\begin{command}{\notes\oarg{options}\marg{note text}}
-  Creates a note page. Must be used outside frames. This command is
+Next, the syntax and effects of the |\note| command
+\emph{outside} frames is described:
+
+\begin{command}{\note\oarg{options}\marg{note text}}
+  Outside frames, this command creates a note page. This command is  
   \emph{not} affected by the |notes=onlyframeswithnotes| option, see
   below.
 
   \begin{itemize}
   \item \declare{|itemize|} will enclose the whole note page in an
     |itemize| environment. This is just a convenience.
-  \item \decalre{|enumerate|} will enclose the whole note page in an
+  \item \declare{|enumerate|} will enclose the whole note page in an
     |enumerate| environment.
   \end{itemize}
   
   \example
 \begin{verbatim}
 \frame{some text}
-\notes{Talk no more than 1 minute.}
-
-\notes[enumerate]
+\note{Talk no more than 1 minute.}
+
+\note[enumerate]
 {
 \item Stress this first.
 \item Then this.
 \end{classoption}
 
 \begin{classoption}{notes=onlyslideswithnotes}
-  This includes all notes and those slides that contain a |\note| or a
-  |\noteitem| command. Frames that are just ``followed'' by a |\notes|
-  or a |\noteitems| command will not be included.
-
-  If you use only |\note| and |\noteitem| commands, this option will
-  cause the frames and the notes that apply to them to be nicely
-  paired. This is useful for printing.
+  This includes all notes and those slides that \emph{contain} a
+  |\note|. Frames that are just ``followed'' by a |\note| command will
+  not be included. 
+
+  If you use only |\note| commands, this option will cause the frames
+  and the notes that apply to them to be nicely paired. This is useful
+  for printing.
 \end{classoption}
 
 
 \end{document}
 \end{verbatim}
 
+There is one command, whose behaviour is a bit special in the article
+mode: The line break command |\\|. Inside frames, this command has no
+effect in article mode, except if an overlay specification is
+present. Then it has the normal effect dictaded by the
+specification. The reason for this behaviour is that you will
+typically inserts lots of |\\| commands in a presentation in order to
+get control over all line breaks. These line breaks are mostly
+superfluous in the article mode. If you really want a line break to
+apply in all versions, say |\\<all>|. Note that the command |\\| is
+often redefined by certain environments, so it may not always be
+overlay-specification-aware. In such a case you have to write
+something like |\only<presentation>{\\}|.
+
 
 
 
   is now read token-wise, not line-wise. The text is gobbled token by
   token until one of the following tokens is found: |\mode|, |\frame|,
   |\againframe|, |\part|, |\section|, |\subsection|, |\appendix|,
-  |\notes|, |\noteitems|, and |\end{document}| (this is not really a
+  |\note|, and |\end{document}| (this is not really a
   token, but it is recognized anyway).
 
   Once one of these commands is encountered, the gobbling stops and

File examples/beamerexample1.tex

-\documentclass[notes=show]{beamer}
+\documentclass{beamer}
 
 % Try the class options [notes], [notes=only], [trans], [handout],
 % [red], [compress], [draft], [class=article] and see what happens!

File examples/beamerexample2.article.tex

 \documentclass[class=article,11pt]{beamer}
 
+\usepackage{beamerbasearticle}
+
 \input{beamerexample2.tex}
 
 %%% Local Variables: 

File examples/beamerexample2.beamer.tex

-\documentclass{beamer}
+\documentclass[ignorenonframetext]{beamer}
 
 \input{beamerexample2.tex}
 

File examples/beamerexample2.tex

 % The purpose of this example is to demonstrate the usage of the
 % nameslide command
 %
-\common
 
-\usepackage[english]{babel}
-  
-\article
-
+\mode<article>
+{
   \usepackage{fullpage}
   \usepackage{pgf}
+  \usepackage{hyperref}
   \setjobnamebeamerversion{beamerexample2.beamer}
+}
 
-\presentation
-
-  \usepackage{beamerthemetreebars}
+\mode<presentation>
+{
+  \usepackage[bars]{beamerthemetree}
 
   \beamertemplatetransparentcovereddynamic
   \beamertemplateballitem
+}
 
-  \hypersetup{%
-    pdftitle={Second Beamer Example},%
-    pdfauthor={Till Tantau},
-    pdfsubject={Presentation Programs}}
+\usepackage[english]{babel}
 
-\common
+\hypersetup{%
+  pdftitle={Second Beamer Example},%
+  pdfauthor={Till Tantau},
+  pdfsubject={Presentation Programs}}
 
-  \title{Second Beamer Example}
-  \author{Till~Tantau}
+\title{Second Beamer Example}
+\author{Till~Tantau}
 
-\presentation
-  
-  \institute{
-    Fakult�t f�r Elektrotechnik und Informatik\\
-    Technical University of Berlin}
+\institute{
+  Fakult�t f�r Elektrotechnik und Informatik\\
+  Technical University of Berlin}
 
 
 \begin{document}
 
-\article
+\frame{\maketitle}
 
-  \maketitle
+\section{The first section}
 
-\presentation
+This is the first section of the article version. In the
+presentation, there is a frame containing an overlay. The exact two
+slides of this overlay are shown in Figures~\ref{figure-example1}
+and~\ref{figure-example2}.
 
-  \frame{\titlepage}
+\begin{figure}[ht]
+  \begin{center}
+    \includeslide{exampleframe<1>}
+  \end{center}
+  \caption{The first slide. Note the partly covered second item.}
+  \label{figure-example1}
+\end{figure}
 
-\common
+\begin{figure}[ht]
+  \begin{center}
+    \includeslide{exampleframe<2>}
+  \end{center}
+  \caption{The second slide. Now the second item is also shown.}
+  \label{figure-example2}
+\end{figure}
 
-  \section{The first section}
+We can also include the frame in the article version ``just like
+this'': 
 
-\article
+\frame[label=exampleframe]{
+  \frametitle{This is a frame with two overlays.}
 
-  This is the first section of the article version. In the
-  presentation, there is a frame containing an overlay. The two slides
-  of this overlay are shown in Figures~\ref{figure-example1}
-  and~\ref{figure-example2}.
+  \begin{itemize}
+  \item The first item$\dots$
+    \pause
+  \item $\dots$ and the second one.
+  \end{itemize}
+}
 
-  \begin{figure}[ht]
-    \begin{center}
-      \includeslide{exampleframe<1>}
-    \end{center}
-    \caption{The first slide. Note the partly covered second item.}
-    \label{figure-example1}
-  \end{figure}
-
-  \begin{figure}[ht]
-    \begin{center}
-      \includeslide{exampleframe<2>}
-    \end{center}
-    \caption{The second slide. Now the second item is also shown.}
-    \label{figure-example2}
-  \end{figure}
-  
-\presentation
-
-  \frame[label=exampleframe]{
-    \frametitle{This is a frame with two overlays.}
-
-    \begin{itemize}
-    \item The first item$\dots$
-      \pause
-    \item $\dots$ and the second one.
-    \end{itemize}
-  }
+We could have suppressed the frame in the article version by adding
+the overlay specification \verb!<presentation>!.
 
 \end{document}
 

File examples/beamerexample3.tex

 
 \begin{document}
 
+
 \frame{\titlepage}
 
 
 \frame{
   \frametitle{Outline of Part II}
   \tableofcontents[pausesections,part=2]
+  \note{At most 1 minute for the outline.}
 }
 
-\note{At most 1 minute for the outline.}
-
 
 
 \part{Review of Previous Lecture}
 
 \section[Models]{The Model of Overhead-Free Computation}
 
-\frame<handout:0>{\tableofcontents[current]}
+\frame<beamer>{\tableofcontents[current]}
 
 
 \subsection[Standard Model]{The Standard Model of Linear Space}
 
 \section[Limitations]{Limitations of Overhead-Free Computation}
 
-\frame<handout:0>{\tableofcontents[current]}
+\frame<beamer>{\tableofcontents[current]}
 
 
 \subsection[Linear Space]{Linear Space versus Overhead-Free Computation}

File examples/beamerexample5.tex

         intersection is empty,\\
         then $A$ is elementarily definable in~$\mathcal S$. 
       \end{block}  
-      \uncover<3>{%
-        \begin{alertblock}{Note}
-          The theorem is no longer true\\
-          if we add $\barA \times A$ to the list. 
-        \end{alertblock}%
-      }%
+      \begin{alertblock}{Note}<3>
+        The theorem is no longer true\\
+        if we add $\barA \times A$ to the list. 
+      \end{alertblock}%
     \end{column}
   \end{columns}
 }

File lyx/examples/beamerlyxexample1.lyx

   \pgfputat{#2}{\pgfbox[center,center]{\pgfuseshading{graphnode}}}
 }
 \end_preamble
+\options notes=show
 \language english
 \inputencoding auto
 \fontscheme times

File lyx/layouts/beamer.layout

   LabelType		Static
   LabelSep              xx
 
-  LatexName	 	corollary
+  LatexName	 	corollary}%{
   LabelString		"Corollary. " 
 
   ParSkip           0.5
   LabelType		Static
   LabelSep              xx
 
-  LatexName	 	columns
+  LatexName	 	columns}%{
   LabelString		"columns" 
   LeftMargin        columns
 
   LabelType		Static
   LabelSep              xx
 
-  LatexName	 	centercolumns
+  LatexName	 	centercolumns}%{
   LabelString		"columns (center aligned)" 
   LeftMargin            "columns (center aligned)"
 
   LabelType		Static
   LabelSep              xx
 
-  LatexName	 	topcolumns
+  LatexName	 	topcolumns}%{
   LabelString		"columns (top aligned)" 
   LeftMargin            "columns (top aligned)"
 
 
 Style Definition
   CopyStyle		Corollary
-  LatexName	 	definition
+  LatexName	 	definition}%{
   LabelString		"Definition. " 
 End
 
 Style Definitions
   CopyStyle		Corollary
-  LatexName	 	definitions
+  LatexName	 	definitions}%{
   LabelString		"Definitions. " 
 End
 
 Style Example
   CopyStyle		Corollary
-  LatexName	 	example
+  LatexName	 	example}%{
   LabelString		"Example. " 
 
   LabelFont 
 
 Style Examples
   CopyStyle		Corollary
-  LatexName	 	examples
+  LatexName	 	examples}%{
   LabelString		"Examples. " 
 End
 
 
 Style Fact
   CopyStyle		Corollary
-  LatexName	 	fact
+  LatexName	 	fact}%{
   LabelString		"Fact. " 
 End
 
   Align			Left
   LabelType		Static
 
-  LatexName	 	onlyenv
+  LatexName	 	onlyenv}%{
   LabelString		"only on slides " 
 
   ParSkip           0.5
   
 Style Proof
   CopyStyle		Corollary
-  LatexName	 	proof
+  LatexName	 	proof}%{
   LabelString		"Proof. " 
 End
 
 
 Style Theorem
   CopyStyle		Corollary
-  LatexName	 	theorem
+  LatexName	 	theorem}%{
   LabelString		"Theorem. " 
 End
 
   Align			Left
   LabelType		Static
 
-  LatexName	 	uncoverenv
+  LatexName	 	uncoverenv}%{
   LabelString		"uncovered on slides " 
 
   ParSkip           0.5
   LaTeXBuiltin          true
 End
 
-TitleLaTeXName frame{\titlepage}
+TitleLaTeXName frame{\maketitle}
 
 SecNumDepth		2
 TocDepth		2

File lyx/templates/beamerpresentation.lyx

 \layout Standard
 % Show the table of contents at the beginning
 \layout Standard
-% of every subsection.
+% of every subsection. Delete this, if you do not
+\layout Standard
+% want it.
 \layout Standard
 
 \backslash 
 \layout Standard
   
 \backslash 
-frame<handout:0>{ 
+frame<beamer>{ 
 \layout Standard
     
 \backslash 
 \end_inset 
 
 
-\layout EndFrame
-
 \layout Section
 
 <First Section Name>
 \end_inset 
 
 
-\layout BeginFrame
-
 \layout Subsection
 
 <First Subsection Name>
 \layout Itemize
 
 Shown from third slide on.
-\layout EndFrame
-
 \layout BeginFrame
 
 <Frame Title>
 
 .
 \end_deeper 
-\layout EndFrame
-
 \layout Subsection
 
 <Second Subsection Name>
 \end_inset 
 
  On second slide.
-\layout EndFrame
-
 \layout BeginFrame
 
 <Frame Title>
 \layout Corollary
 
 On second slide.
-\layout EndFrame
-
 \layout BeginFrame
 
 <Frame Title>
 \newline 
 New line
 \end_deeper 
-\layout EndFrame
-
 \layout Section*
 
 Summary

File themes/beamerthemebars.sty

 % of the LaTeX Project Public License Distributed from CTAN
 % archives in directory macros/latex/base/lppl.txt.
 
+
+\mode<presentation>
+
                                 % Standard templates
 \beamertemplatelargetitlepage
 \beamertemplatelargepartpage
 \def\beamernavigationcolorstrong{structure!50!white}
 
 \userightsidebartemplate{0cm}{}
+
+\mode
+<all>

File themes/beamerthemeboxes.sty

 %\addfootboxtemplate{\color{black}}{\hfill\tiny\color{white}\textbf{\insertframenumber}\hskip0.3cm}
 
 
+\mode<presentation>
+
 
                                 % Standard templates
 \beamertemplatelargetitlepage
     }%
 }}
 
+\mode
+<all>

File themes/beamerthemeclassic.sty

 
 
 
+
+\mode<presentation>
+
                                 % Title page  
 \usetitlepagetemplate{
   \vbox{}
                                 % Itemize
 \useitemizeitemtemplate{\tiny\raise1.5pt\hbox{\color{beamerstructure}$\blacktriangleright$}}
 \usesubitemizeitemtemplate{\tiny\raise1.5pt\hbox{\color{beamerstructure}$\blacktriangleright$}}
+
+\mode
+<all>

File themes/beamerthemelined.sty

 % of the LaTeX Project Public License Distributed from CTAN
 % archives in directory macros/latex/base/lppl.txt.
 
+
+\mode<presentation>
+
+
                                 % Standard templates
 \beamertemplatelargetitlepage
 \beamertemplatelargepartpage
 
 
 \userightsidebartemplate{0cm}{}
+
+\mode
+<all>

File themes/beamerthemeplain.sty

 % archives in directory macros/latex/base/lppl.txt.
 
 
+\mode<presentation>
+
+
                                 % Standard templates
 \beamertemplatelargeblocks
 
                                 % Itemize
 \useitemizeitemtemplate{\tiny\raise1.5pt\hbox{\color{structure}$\blacktriangleright$}}
 \usesubitemizeitemtemplate{\tiny\raise1.5pt\hbox{\color{structure}$\blacktriangleright$}}
+
+\mode
+<all>

File themes/beamerthemesidebar.sty

 % of the LaTeX Project Public License Distributed from CTAN
 % archives in directory macros/latex/base/lppl.txt.
 
-\RequirePackage{pgfshade}
-
 \newif\ifbeamer@sidebartab
 \newif\ifbeamer@sidebardark
 
 
 \ProcessOptionsBeamer
 
+\mode<presentation>
+
+\RequirePackage{pgfshade}
+
 \ifbeamer@sidebardark
   \beamertemplateboldtitlepage
   \beamertemplateboldpartpage
 
 \ifbeamer@sidebardark
   \usetemplatetocsection[50!averagebackgroundcolor]
-  {\color{structure}\textbf{\inserttocsection}}
+  {\color{beamerstructure}\textbf{\inserttocsection}}
 
-  \def\beamernavigationcolorlight{structure!65!white}
-  \def\beamernavigationcolorstrong{structure!50!white}
+  \def\beamernavigationcolorlight{beamerstructure!65!white}
+  \def\beamernavigationcolorstrong{beamerstructure!50!white}
 
   \ifbeamer@sidebartab
     {\tiny\global\beamer@tempdim=2.4375ex}
 
     \pgfdeclarehorizontalshading{beamer@tabmain}{\the\beamer@tempdim}
     {color(0pt)=(white);
-      color(\beamer@sidebarwidth)=(structure!50!averagebackgroundcolor)}
+      color(\beamer@sidebarwidth)=(beamerstructure!50!averagebackgroundcolor)}
     \pgfdeclarehorizontalshading{beamer@tab}{\the\beamer@tempdim}{%
       color(0pt)=(white);
-      color(9pt)=(structure!50!averagebackgroundcolor);
-      color(\beamer@sidebarwidth)=(structure)}
+      color(9pt)=(beamerstructure!50!averagebackgroundcolor);
+      color(\beamer@sidebarwidth)=(beamerstructure)}
   \fi
 \fi
   
         \ifbeamer@sidebardark%
           \color[gray]{0.3}\lower0.5ex\hbox{\pgfuseshading{beamer@tab}}%
           \hskip-\beamer@sidebarwidth%
-          \color{structure!50!black}\bfseries%
+          \color{beamerstructure!50!black}\bfseries%
         \else%
           \color[gray]{0.9}\lower0.375ex\hbox{\vrule width\beamer@sidebarwidth height 2.4375ex}%
           \hskip-\beamer@sidebarwidth%
-          \color{structure}%
+          \color{beamerstructure}%
         \fi%
       \else%
         \ifbeamer@sidebardark%
   {\tiny
     \setbox\beamer@tempbox=\hbox{%
       \ifbeamer@sidebartab%
-        \ifbeamer@sidebardark\color{structure!50}\bfseries\else\color{structure}\fi%
+        \ifbeamer@sidebardark\color{beamerstructure!50}\bfseries\else\color{beamerstructure}\fi%
       \else%
-        \ifbeamer@sidebardark\color{structure!80}\bfseries\else\color{structure!75}\fi%
+        \ifbeamer@sidebardark\color{beamerstructure!80}\bfseries\else\color{beamerstructure!75}\fi%
       \fi{\kern1.125ex\insertsectionhead}}%
   \ht\beamer@tempbox=3ex%
   \dp\beamer@tempbox=0.75ex%
     \hskip3pt\color{white}\bfseries\insertshorttitle%
       [width=\beamer@tempdim,center,respectlinebreaks]\par%
     \vskip1.5em
-    \hskip3pt\color{structure!50}\insertshortauthor%
+    \hskip3pt\color{beamerstructure!50}\insertshortauthor%
       [width=\beamer@tempdim,center,respectlinebreaks]\par
   \else%
-    \hskip3pt\color{structure}\insertshorttitle%
+    \hskip3pt\color{beamerstructure}\insertshorttitle%
       [width=\beamer@tempdim,center,respectlinebreaks]\par%
     \vskip1.5em
     \hskip3pt\color{black!75}\insertshortauthor%
 
                                 % Side bar background
 \ifbeamer@sidebardark
-  \userightsidebarverticalshadingtemplate{structure}{black}
+  \userightsidebarverticalshadingtemplate{beamerstructure}{black}
 \else
   \ifbeamer@sidebartab
-    \userightsidebarverticalshadingtemplate{structure!90!white}{white!95!structure}
+    \userightsidebarverticalshadingtemplate{beamerstructure!90!white}{white!95!beamerstructure}
   \else
-    \userightsidebarverticalshadingtemplate{white}{structure!50!averagebackgroundcolor}
+    \userightsidebarverticalshadingtemplate{white}{beamerstructure!50!averagebackgroundcolor}
   \fi
 \fi
   
                                 % Margins
 \beamersetleftmargin{0.5cm}
 \beamersetrightmargin{0.5cm}
+
+\mode
+<all>
+

File themes/beamerthemesplit.sty

 % of the LaTeX Project Public License Distributed from CTAN
 % archives in directory macros/latex/base/lppl.txt.
 
+\mode<presentation>
+
 \beamertemplatelargetitlepage
 \beamertemplatelargepartpage
 \beamertemplatelargeframetitle
   height\ht\beamer@linebox\color{structure}\vrule width.5\paperwidth
   height\ht\beamer@linebox\hskip-\paperwidth% 
   \hbox{\box\beamer@linebox\hfill}\hfill\hskip-\Gm@rmargin}}}
+
+
+\mode
+<all>

File themes/beamerthemetree.sty

 % of the LaTeX Project Public License Distributed from CTAN
 % archives in directory macros/latex/base/lppl.txt.
 
+\mode<presentation>
+
 \beamertemplatelargetitlepage
 \beamertemplatelargepartpage
 \beamertemplatelargeframetitle
 
                                 % Footline
 \usefoottemplate{}
+
+\mode
+<all>