summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/beamer/doc/beamerug-nonpresentation.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-10-20 03:02:56 +0000
committerNorbert Preining <norbert@preining.info>2021-10-20 03:02:56 +0000
commit97a50891a87d07d3cc327188a2b00b5c11e3c309 (patch)
tree5a7ced967e974e870980fa25e42ac2de4d5c6394 /macros/latex/contrib/beamer/doc/beamerug-nonpresentation.tex
parentd045bcbc99b0eda65a444496d60d16ea2d063c65 (diff)
CTAN sync 202110200302
Diffstat (limited to 'macros/latex/contrib/beamer/doc/beamerug-nonpresentation.tex')
-rw-r--r--macros/latex/contrib/beamer/doc/beamerug-nonpresentation.tex18
1 files changed, 11 insertions, 7 deletions
diff --git a/macros/latex/contrib/beamer/doc/beamerug-nonpresentation.tex b/macros/latex/contrib/beamer/doc/beamerug-nonpresentation.tex
index ea2c228ab7..728741b317 100644
--- a/macros/latex/contrib/beamer/doc/beamerug-nonpresentation.tex
+++ b/macros/latex/contrib/beamer/doc/beamerug-nonpresentation.tex
@@ -1,3 +1,4 @@
+% !TeX root = beameruserguide.tex
% Copyright 2003--2007 by Till Tantau
% Copyright 2010 by Vedran Mileti\'c
% Copyright 2012,2014,2015 by Vedran Mileti\'c, Joseph Wright
@@ -314,9 +315,11 @@ The command actually comes in three ``flavors,'' which only slightly differ in s
\begin{verbatim}
\mode<article>{Extra detail mentioned only in the article version.}
-\mode
-<beamer| trans>
-{\frame{\tableofcontents[currentsection]}}
+\mode<beamer| trans>{
+ \begin{frame}
+ \tableofcontents[currentsection]
+ \end{frame}
+}
\end{verbatim}
\end{command}
@@ -352,10 +355,11 @@ The second flavor of the |\mode| command takes no argument. ``No argument'' mean
This text is typeset only in |article| mode.
\verb!verbatim text is ok {!
-\mode
-<presentation>
-{ % this text is inserted only in presentation mode
-\frame{\tableofcontents[currentsection]}}
+\mode<presentation>{% this text is inserted only in presentation mode
+ \begin{frame}
+ \tableofcontents[currentsection]
+ \end{frame}
+}
Here we are back to article mode stuff. This text
is not inserted in presentation mode