summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/beamer/doc/beamerug-overlays.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/beamer/doc/beamerug-overlays.tex')
-rw-r--r--Master/texmf-dist/doc/latex/beamer/doc/beamerug-overlays.tex32
1 files changed, 30 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/beamer/doc/beamerug-overlays.tex b/Master/texmf-dist/doc/latex/beamer/doc/beamerug-overlays.tex
index e1f0d9234c6..62a67f4b427 100644
--- a/Master/texmf-dist/doc/latex/beamer/doc/beamerug-overlays.tex
+++ b/Master/texmf-dist/doc/latex/beamer/doc/beamerug-overlays.tex
@@ -9,7 +9,7 @@
%
% See the file doc/licenses/LICENSE for more details.
-% $Header: /Users/joseph/Documents/LaTeX/beamer/doc/beamerug-overlays.tex,v 38dfbd395d7c 2012/03/25 13:15:29 joseph $
+% $Header: /Users/joseph/Documents/LaTeX/beamer/doc/beamerug-overlays.tex,v e1339c0f83a7 2012/11/11 22:30:24 joseph $
\section{Creating Overlays}
\label{section-overlay}
@@ -123,6 +123,10 @@ Overlay specifications can also be given in \LyX. You must give them in \TeX-mod
\subsection{Commands with Overlay Specifications}
\label{section-overlay-commands}
+\textbf{Important:} Due to the way overlay specifications are implemented, the
+commands documented here are \emph{all} fragile even if the \LaTeXe{} kernel
+versions are not.
+
For the following commands, adding an overlay specification causes the command to be simply ignored on slides that are not included in the specification: |\textbf|, |\textit|, |\textsl|, |\textrm|, |\textsf|, |\color|, |\alert|, |\structure|. If a command takes several arguments, like |\color|, the specification should directly follow the command as in the following example (but there are exceptions to this rule):
\begin{verbatim}
\begin{frame}
@@ -736,7 +740,31 @@ This will alert the current item when it is uncovered. For example, the first sp
The |\pause| command also updates the counter |beamerpauses|. You can change this counter yourself using the normal \LaTeX\ commands |\setcounter| or |\addtocounter|.
-Any occurence of a |+|-sign may be followed by an \emph{offset} in round brackets. This offset will be added to the value of |beamerpauses|. Thus, if |beamerpauses| is 2, then |<+(1)->| expands to |<3->| and |<+(-1)-+>| expands to |<1-2>|.
+Any occurence of a |+|-sign may be followed by an
+\emph{offset} in round brackets. This offset will
+be added to the value of |beamerpauses|. Thus, if
+|beamerpauses| is 2, then |<+(1)->| expands to
+|<3->| and |<+(-1)-+>| expands to |<1-2>|. For example
+\begin{verbatim}
+\begin{frame}
+\frametitle{Method 1}
+\begin{itemize}
+\item<2-> Apple
+\item<3-> Peach
+\item<4-> Plum
+\item<5-> Orange
+\end{itemize}
+\end{verbatim}
+and
+\begin{verbatim}
+\begin{itemize}[<+(1)->]
+\item Apple
+\item Peach
+\item Plum
+\item Orange
+\end{itemize}
+\end{verbatim}
+are equivalent.
There is another special sign you can use in an overlay specification that behaves similarly to the |+|-sign: a dot. When you write |<.->|, a similar thing as in |<+->| happens \emph{except} that the counter |beamerpauses| is \emph{not} incremented and \emph{except} that you get the value of |beamerpauses| decreased by one. Thus a dot, possibly followed by an offset, just expands to the current value of the counter |beamerpauses| minus one, possibly offset. This dot notation can be useful in case like the following:
\begin{verbatim}