diff options
Diffstat (limited to 'macros/latex/contrib/beamer/doc/beamerug-nonpresentation.tex')
-rw-r--r-- | macros/latex/contrib/beamer/doc/beamerug-nonpresentation.tex | 18 |
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 |