File: beamer_test.tex.orig

package info (click to toggle)
lyx 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 138,444 kB
  • sloc: cpp: 244,268; ansic: 106,398; xml: 72,791; python: 39,384; sh: 7,666; makefile: 6,584; pascal: 2,143; perl: 2,101; objc: 1,084; tcl: 163; sed: 16
file content (809 lines) | stat: -rw-r--r-- 26,618 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
%% LyX 2.4.0dev created this file.  For more info, see https://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{beamer}
\usepackage{lmodern}
\renewcommand{\sfdefault}{lmss}
\renewcommand{\ttdefault}{lmtt}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{babel}
\usepackage{url}
\ifx\hypersetup\undefined
  \AtBeginDocument{%
    \hypersetup{}
  }
\else
  \hypersetup{}
\fi

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\providecommand{\LyX}{\texorpdfstring{\ensureascii{%
  L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}}{LyX}}
\DeclareRobustCommand*{\lyxarrow}{%
\@ifstar
{\leavevmode\,$\triangleleft$\,\allowbreak}
{\leavevmode\,$\triangleright$\,\allowbreak}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
% this default might be overridden by plain title style
\newcommand\makebeamertitle{\frame{\maketitle}}%
% (ERT) argument for the TOC
\AtBeginDocument{%
  \let\origtableofcontents=\tableofcontents
  \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
  \def\gobbletableofcontents#1{\origtableofcontents}
}
\providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
% We use the "Berkeley" theme with a 3.45em-wide side bar on the left
\usetheme[left,width=3.45em]{Berkeley}

\makeatother

\begin{document}
\begin{frame}

\frametitle<presentation>{Contents}

\tableofcontents{}
\end{frame}
%

\section{Purposes}
\begin{frame}[<+->]{Purpose of the Beamer class}

With the \structure{Beamer} class, you can produce presentation slides,
which
\begin{itemize}
\item are visually highly customizable
\item can be very well structured
\item can be constructed step-by-step (``overlay'' concept)
\item may contain different navigation paths (note that the slides contain
all sorts of hyperlinks)
\item use \LaTeX 's superb output quality
\item might embed multimedia content (audio, video)
\item can easily be transformed to accompanying material (such as an article-like
handout)
\item and much more \ldots{}
\end{itemize}
\end{frame}
%
\begin{frame}{Purpose of this presentation}

This presentation
\begin{itemize}
\item describes some basic features of \structure{Beamer}
\item especially how they can be used with \LyX{}
\end{itemize}
For more general and comprehensive information on \structure{Beamer}
itself, please refer to the extensive class manual \cite{beamer-ug}
\end{frame}
%

\section{Segments of a presentation}
\begin{frame}{The global structure}

A presentation usually consists of
\begin{itemize}
\item a title page
\item slides that might be grouped to sections/parts
\item an appendix with additional information, such as a bibliography
\end{itemize}
We describe these global segments in what follows.
\end{frame}
%
\begin{frame}{The title page}

Within \LyX , a title page is constructed by the layouts \structure{Title},
\structure{Subtitle}, \structure{Author}, \structure{Institute},
\structure{Date} and \structure{TitleGraphic}. 
\begin{itemize}
\item None of these elements is mandatory, but at least one must be given 
\item The order of insertion does not matter (the real order is defined
in the \structure{Beamer} theme)
\item For \structure{Title}, \structure{Subtitle}, \structure{Author},
\structure{Institute} and \structure{Date}, you can define ``short''
forms via \alert{Insert\lyxarrow Short Title\slash Date\slash\ldots}
These are used in the sidebar\slash heading (given the theme actually
provides a sidebar\slash heading)
\item If you select \structure{Title (Plain Frame)} instead of \structure{Title},
the title page will have no sidebar or heading
\end{itemize}
\end{frame}
%
\begin{frame}{Slides/Frames}

Slides are called ``frames'' in \structure{Beamer}. Everything
inside a frame is put on one slide (which itself might consist of
sub-slides).
\begin{itemize}
\item Select the \structure{Frame} style to start a frame
\item The frame title is to be inserted in the ``Frame title'' inset,
which is automatically inserted for new frames or can be manually
inserted via \alert{Insert\lyxarrow Frame Title}
\item Alternatively, you can also use the \structure{FrameTitle} layout,
which additionally offers a (rarely used) short frame title option,
and, more importantly, overlay options
\item A subtitle can be added via the \structure{FrameSubtitle} layout
\item Frame options (see \cite{beamer-ug} for the diverse options) are
inserted via \alert{Insert\lyxarrow Frame Options}, overlay options
via \alert{Insert\lyxarrow Overlay Specifications} and \alert{Insert\lyxarrow Default Overlay Specifications}
(we explain later what this is)
\end{itemize}
\end{frame}
%
\begin{frame}<1-2>[label=myframe]{Frames can be repeated}

Frames can be repeated fully or only in terms of selected sub-slides,
multiple times at any later point of the presentation.

You just need to give the respective frame a label name via the frame
option ``label'' (as done here).

\pause{}

Then you can repeat this frame by means of the \structure{AgainFrame}
layout later in the presentation. Just enter the label name in the
\structure{AgainFrame} layout and specify, if required, which sub-slides
you want to be repeated via \alert{Insert\lyxarrow Overlay Specifications}
(again, see below for the concept of ``overlays'').
\begin{proof}<3>
\alert{Here's the proof!} (This text is only shown on sub-slide
3 which is itself only shown when this frame is repeated later on)
\end{proof}

\end{frame}
%
\begin{frame}{Keeping frames together}

\framesubtitle{Use nesting!}
\begin{itemize}
\item Note that all frame content, if the style is not \structure{Frame},
must be nested to the frame environment (via \alert{Edit\lyxarrow Increase List Depth}
or \shortcut{Alt+Shift+Right}). This is done automatically if you
insert new frame paragraphs.
\item Nested content is marked by a red bar in the margin of the \LyX{} workarea
\end{itemize}
\end{frame}
\begin{itemize}
\item Non-nested content (such as this) will also be displayed in the presentation
(on a separate slide), but not properly aligned
\item So please avoid this
\end{itemize}
%
\begin{frame}{Separating frames}

\noindent Consecutive frames have to be separated from each other.
This is done by means of the \structure{Separator} inset, which can
be produced by hitting return in an empty Standard paragraph right
below the frame (see UserGuide, sec.~3.4.6).
\begin{block}{Tip}

There is a simple and much more convenient way to start a new frame:
Issue \alert{Insert\lyxarrow Separated Frame Below} (\shortcut{undefined}
if you are in a non-nested \structure{Frame} paragraph, or \shortcut{Alt+P Shift+Return},
respectively, if you are in a nested paragraph within the frame).
If you are in the frame heading, \alert{Insert\lyxarrow Separated Frame Above}
inserts a new, properly separated frame above the current one!
\end{block}
\end{frame}
%

\againframe<3>{myframe}

\begin{frame}[plain]{Special frame types}

\LyX{} provides two special frame types:
\begin{enumerate}
\item \structure{Frame (plain)} is a frame without a sidebar/header (such
as this one). This is useful for slides with much content\slash wide
tables
\item \structure{Frame (fragile)} is to be used if the frame consists of
``fragile'' content, especially verbatim stuff such as program listings
\end{enumerate}
If you want a fragile plain frame, pass the option ``plain'' to
a fragile frame or the option ``fragile'' to a plain frame.
\end{frame}
%
\begin{frame}{Sectioning a presentation}
\begin{itemize}
\item To group frames, you can use the usual sectioning commands (\structure{Section},
\structure{Subsection} etc.)
\item These are shown in the table of contents, the sidebar\slash header
(depending on the theme) and the article output (for ``article''
see below, the section on ``modes'')
\end{itemize}
\end{frame}
%
\begin{frame}{Parts have special meaning}
\begin{itemize}
\item You can also divide your presentation into \structure{Parts}. Note,
however, that parts behave differently in \structure{Beamer} than
in other document classes: a part is considered to be ``a little
`talk of its own' with its own table of contents, its own navigation
bars, and so on.'' \cite[sec.~10.3]{beamer-ug}
\item This means, for instance, that if you use parts, the table of contents
will only list the sections and subsections of the part that contains
this table of contents, and the sidebar\slash header will also only
show the sections of the current part.
\end{itemize}
\end{frame}
%
\begin{frame}{Re-arranging frames}
\begin{block}{Tip}

Did you know that you can easily move and re-arrange whole frames
via the outliner (\alert{View\lyxarrow Outline Pane})?

Also, you can navigate to a specific frame via the \alert{Navigate}
menu!
\end{block}
\end{frame}
%
\begin{frame}{The appendix}
\begin{itemize}
\item Appendices might be useful for additional\slash reserve material.
The appendix is part of the presentation, but not shown in the table
of contents\slash sidebar\slash header
\item An appendix is inserted as usual in \LyX :
\begin{itemize}
\item Use \alert{Document\lyxarrow Start Appendix Here} at the position
where the appendix should begin
\end{itemize}
\item Typical content of the appendix is the bibliography
\begin{itemize}
\item You insert it as in all other \LyX{} classes, via the \structure{Bibliography}
style (see the bibliography at the end of this presentation as an
example)
\item Note that you can also use Bib\TeX , although not all Bib\TeX{} styles
are prepared to work with \structure{Beamer}
\end{itemize}
\end{itemize}
\end{frame}
%

\section{The overlay concept}
\begin{frame}{What are overlays?}

Basically, the overlay concept allows to change the slide content
dynamically. You can uncover things/text piecewise, fade out content,
highlight things, replace text, images etc.

\pause{}
\begin{itemize}[<+->]
\item Overlays are useful to build up slides as you speak
\item They help you to shift your audience's focus on specific things
\item And they help your audience to follow you
\item So use overlays! \alert<6>{Really, use them!}
\end{itemize}
\end{frame}
%
\begin{frame}{Overlay types}

\structure{Beamer} provides many different overlay types. The most
important ones are:
\begin{description}
\item [{Hidden~content:}] Stuff that is completely invisible up to a point
\item [{Covered~content:}] Stuff that is faded out (not completely invisible)
\item [{Highlighted~content:}] Stuff that is somehow emphasized at a certain
point
\end{description}
We give examples for these types in what follows, but begin with some
general remarks on overlay possibilities
\end{frame}
%
\begin{frame}{General overlay/action possibilities}

Many \structure{Beamer} elements provide overlay settings. Basically,
you can define on which sub-slide(s) a given content appears (``2'',
``2-4'', ``3-'', ``1,3'' etc.), or in which output mode (``presentation'',
``article'' etc.)
\begin{itemize}
\item In \LyX , these settings are generally accessible via \alert{Insert\lyxarrow Overlay Specifications}
or \alert{Insert\lyxarrow Action Specifications}
\end{itemize}
\begin{overprint}
\onslide<2> 
\begin{definition}
``Action'' is a more general concept, which does not only include
what we have called ``overlays'' (``on which sub-slide{[}s{]} is
this to be shown\slash hidden\slash highlighted''), but also tasks
such as ``only show this in the presentation, not on the handout''
or ``show this on the second screen only'' (so-called ``modes'').
\end{definition}

\onslide<3> 
\begin{alertblock}{Note to the \LaTeX{} aficionados}

The mentioned overlay/action settings conform to those command/environment
options embraced by\alert{\ <\ldots >} and \alert{{[}<\ldots >{]}}
in the \LaTeX{} output.

Note that \LyX{} adds those braces on export, so you must not enter
them yourself. In other words, enter ``1'' or ``+-'' to the overlay/action
insets, not ``<1>'' or ``{[}<+->{]}''!
\end{alertblock}
\end{overprint}
\end{frame}
%
\begin{frame}{An example}

Take for example a quote. In a \structure{Quote} environment, you
can specify the overlay settings via \alert{Insert\lyxarrow Overlay Specifications}.
If you do this and enter ``2'', the quote will only appear on (sub-)slide
2:
\begin{quote}<2>
Fear no more the heat o\textquoteright{} the sun

Nor the furious winter\textquoteright s rages

Thou thy worldly task hast done

Home art gone, and ta\textquoteright en thy wages
\end{quote}
This is how the concept works, basically.
\end{frame}
%
\begin{frame}{Covering vs. hiding}

The difference between ``covering'' and ``hiding'' is that hidden
content is treated as if it isn't there, while covered content is
just covered (and the space is reserved). If we would have hidden
the quote on the last slide and not covered, it would only have taken
space on appearance:
\begin{quote}<only@2>
Fear no more the heat o\textquoteright{} the sun

Nor the furious winter\textquoteright s rages

Thou thy worldly task hast done

Home art gone, and ta\textquoteright en thy wages
\end{quote}

You can see how this text moves when the quote is un-hidden.
\end{frame}
%
\begin{frame}{Coverage degrees}

\setbeamercovered{transparent}

\structure{Beamer} offers several degrees of ``coverage'', which
can be set via the command \alert{\textbackslash setbeamercovered}
either globally (for the whole presentation) or locally (e.\,g. for
a single frame, as here). By default, content is completely covered.
In ``transparent'' mode, you can see covered text greyed-out:
\begin{quote}<2>
Fear no more the heat o\textquoteright{} the sun

Nor the furious winter\textquoteright s rages

Thou thy worldly task hast done

Home art gone, and ta\textquoteright en thy wages
\end{quote}
Check the \structure{Beamer} manual for more possibilities.
\end{frame}
%
\begin{frame}{Default overlay/action specifications vs.\\
(normal) overlay/action specifications}
\begin{itemize}
\item For some environments (such as lists and also frames), you can set
``default specifications'' additionally to normal overlay/action
specifications (or in the case of lists: ``overlay specifications''
for the whole list and ``item overlay specifications'' for singular
items)
\item Default specifications apply to all content of the given environment,
if not individually specified otherwise
\item They use a placeholder syntax. E.\,g., ``+(1)-'' will uncover all
items in a list step by step (with a start offset of 1) if they have
no individual item specification:
\begin{itemize}[<+(1)->]
\item One
\item Two
\item Three
\item<1-> Always
\end{itemize}
\end{itemize}
Please consult the \structure{Beamer} manual for details on this
syntax.

\end{frame}
%
\begin{frame}[<+->]{Default overlay/action specifications vs.\\
(normal) overlay/action specifications}

\noindent This frame uses a specific default overlay specification

which causes each overlay-aware paragraph \ldots{}
\begin{itemize}
\item \ldots{} or list item \ldots{}
\item \ldots{} to appear \ldots{}
\item \ldots{} on a subsequent sub-slide \ldots{}
\end{itemize}
\begin{block}{A block}

\ldots{} one after the other
\end{block}
\end{frame}
%
\begin{frame}[<alert@+>]{Default overlay/action specifications vs.\\
(normal) overlay/action specifications}

\noindent And this frame uses a specific default overlay specification
\ldots{}
\begin{itemize}
\item \ldots{} which causes each overlay-aware list item \ldots{}
\item \ldots{} to be highlighted \ldots{}
\item \ldots{} on respective sub-slides
\end{itemize}
\end{frame}
%
\begin{frame}{Pause}

The \structure{Pause} layout lets you mark a point where all following
content will be covered (by default for one slide, with regard to
the content preceding the pause):

\pause{}

After first pause

\pause{}

After second pause

\pause[2]{}

By default, consecutive pauses also end consecutively. 

Via \alert{Insert\lyxarrow Pause Number}, however, you can specify
a specific sub-slide at which the given pause ends, independent from
the number of pauses inserted before this one.
\end{frame}
%
\begin{frame}{Paragraph-wide overlays}

\structure{Beamer} and \LyX{} provide you with paragraph layouts whose
purpose it is to show/hide whole paragraphs or sequences of paragraphs
on specific slides. These are particularly:
\begin{uncoverenv}<2->

The \structure{Uncovered} layout which uncovers all content on the
specified slides \ldots{}
\begin{itemize}
\item \ldots{} including nested paragraphs of other layout.
\end{itemize}
\end{uncoverenv}

\begin{onlyenv}<3->

The \structure{Only} layout which un-hides content (note again how
the surrounding text ``moves'' when this gets visible).
\end{onlyenv}

\begin{overprint}
\onslide<4> 

And the \structure{Overprint} environment which lets you enter \ldots{}
\onslide<5> 

\ldots{} alternative text taking a specific space on specified slides.

\end{overprint}
as demonstrated here.
\end{frame}
%
\begin{frame}{Inline overlays}

\setbeamercovered{transparent}

\structure{Beamer} also supports inline overlays for text parts (as
opposed to whole paragraphs), which are accessible via \alert{Edit\lyxarrow Text Style}
in \LyX :
\begin{itemize}
\item You can \structure{uncover} \uncover<2->{text} on specific slides
\item You can make \visible<3->{text} \structure{visible} (which makes
a difference to ``uncover'' only with ``transparent'' coverage
setting, as used locally on this slide)
\item You can show \only<4->{text }\structure{only} on specific slides
\item You can make \invisible<5->{text} \structure{invisible}
\item And you can show \alt<6->{different}{\structure{alternative}} text
\end{itemize}
As for the paragraph layouts, the overlay settings can be accessed
via the \alert{Insert} menu.
\end{frame}
%
\begin{frame}{Overlay-aware commands}

Many ``inline'' commands (also to be found at \alert{Edit\lyxarrow Text Style})
are overlay-aware. 
\begin{itemize}
\item Thus, you can make for instance text on specific slides \emph<2>{emphasized},
\textbf<3>{bold}, shown in \alert<4>{alert} or \structure<5>{structure}
color.
\end{itemize}
\begin{block}<6>{Tip}

Use these Emphasize and Bold insets (instead of the usual respective
font settings) also if you do not need overlay specifications. Due
to the way emphasized and bold is defined in \structure{Beamer},
normal emphasizing and boldface can lead to \LaTeX{} errors, e.\,g.
when used in section headings.
\end{block}
\end{frame}
%

\section{Specific environments}
\begin{frame}{Specific environments}

Specific environments, particularly suited for presentations are:
\begin{itemize}
\item Diverse ``blocks''
\item Theorem-style environments
\item Columns
\end{itemize}
We sketch them briefly in what follows.
\end{frame}
%
\begin{frame}{Blocks}

Blocks can contain all sorts of information. We used them here for
``tips'' and ``hints''. The class provides 3 pre-defined blocks
with different look:
\begin{block}<2->{Block}

A general-purpose block
\end{block}
\begin{exampleblock}<3->{Example Block}

A block for ``examples''
\end{exampleblock}
\begin{alertblock}<4->{Alert Block}

And an ``alert'' block for important remarks.
\end{alertblock}
\end{frame}
%
\begin{frame}{Handling Blocks}
\begin{itemize}
\item In \LyX , blocks have a similar user interface to frames, which means
that
\begin{itemize}
\item Content inside blocks needs to be nested (if the paragraph layout
is not \structure{Block})
\item Consecutive blocks of the same type must be separated by the \structure{Separator}
paragraph style
\begin{block}<only@2>{Tip}

Use \alert{Edit\lyxarrow Start New Environment} (\shortcut{undefined})
to quickly start a new block from within a previous block!
\end{block}
\end{itemize}
\item Blocks are overlay-aware
\end{itemize}
\end{frame}
%
\begin{frame}{Theorem-style environments}

\framesubtitle{(Theorem, Corollary, Definition, Definitions, Example, Examples,
Fact, Proof)}

Theorems look similar to blocks in the output, but they have a fixed
title (depending on the type). 
\begin{theorem}
This is a theorem!
\end{theorem}

\begin{fact}
This is a fact!
\end{fact}


\pause{}

Via \alert{Insert\lyxarrow Additional Theorem Text}, you can add
some extra text to this fixed title
\begin{example}[a bad one!]

An example with additional text (brackets added automatically)
\end{example}

\end{frame}
%
\begin{frame}{Columns}

Sometimes it is useful to divide a presentation into columns
\begin{columns}[t]

\column{.4\textwidth}

To do this, first select \structure{Columns} (note the plural) to
start the columns

\pause{}

\column{.4\textwidth}

And then, in the following paragraph, select \structure{Column} (singular)
to start a specific column
\end{columns}

\pause{}

\medskip{}

Note:
\begin{itemize}
\item In the \structure{Column} (singular) environment, you need to specify
the width using \LaTeX{} syntax (but also something like ``3.5cm''
will work)
\item Any (singular) \structure{Column} must be nested to the (plural)
\structure{Columns}. Likewise, column content can be any paragraph
style that is nested to a singular \structure{Column}
\end{itemize}
\end{frame}
%

\section{Short remarks on modes}
\begin{frame}{Modes}

In \structure{Beamer} terms, a ``mode'' is a specific output route.
There are several modes for different purposes. We just want to highlight
three:
\begin{enumerate}
\item The ``beamer'' mode
\item The ``presentation'' mode
\item The ``article'' mode
\end{enumerate}
The beamer mode is the default. Unless explicitly specified otherwise,
your \structure{Beamer} document is in ``beamer'' mode.
\end{frame}
%
\begin{frame}<presentation>{Switching Modes}

However, you can switch document parts, frames, headings and all ``action''-aware
environments to a different mode. For instance, we have switched this
frame to ``presentation'' mode.
\begin{itemize}
\item What does this mean?
\begin{itemize}
\item It means that this frame will only be visible in the presentation,
not in the accompanying ``article'', if you produce such an article
(we will elaborate on this a bit below)
\end{itemize}
\end{itemize}
\end{frame}
%
\begin{frame}<article>{Switching Modes}

This frame will not be visible in the presentation, but only in the
article, since it is in ``article'' mode.
\end{frame}
%
\begin{frame}{So what?}

This is actually pretty useful! You can set up a single document and
produce both a presentation and \textendash{} using the article mode
\textendash{} a handout. 
\begin{itemize}
\item And we mean a \emph{real}, useful handout, not one of those scaled
slide printouts that are so common nowadays (but if you insist, you
can produce one of those as well)
\item Modes allow you to add extra text to the handout or hide parts from
it
\item You can use for instance different graphics for the presentation and
the handout
\item and so on \ldots{}
\end{itemize}
\end{frame}
%
\begin{frame}{Examples}

As said, many elements are mode-aware. 
\begin{itemize}
\item You can show particular text \only<presentation>{only in the presentation}\only<article>{only in the article}
via \alert{Edit\lyxarrow Text Style\lyxarrow Only}
\end{itemize}
\mode<article>{\begin{itemize}
\item Or put all sorts of complex contents via \alert{Insert\lyxarrow Custom Insets\lyxarrow ArticleMode}
in an inset that will only be output in article mode
\end{itemize}
}\mode<presentation>{\begin{itemize}
\item Or put all sorts of complex contents via \alert{Insert\lyxarrow Custom Insets\lyxarrow PresentationMode}
in an inset that will only be output in presentation mode
\end{itemize}
}
\begin{itemize}
\item Or you can define that an \emph<presentation>{emphasizing} should
only apply to the presentation, \textbf<article>{a bold face} only
to article
\item You can also show section headings or frame titles\slash subtitles
only in the presentation\slash article (like we do for the ``Contents''
and ``References'' frame titles in this presentation)
\item And much more of this sort \ldots{}
\end{itemize}
\end{frame}
%
\begin{frame}{Setting up an article}

Setting up a beamer article with \LyX{} is easy.
\begin{itemize}
\item Just create a new document with the class \structure{Beamer Article (Standard Class)}
or \structure{Beamer Article (KOMA-Script)}
\item Then add the presentation to this document as a child (via \alert{Insert\lyxarrow File\lyxarrow Child Document\ldots})
\item And that's it. Now you can produce the handout and the presentation
by compiling one of these two documents, while you only need to edit
one, namely the presentation
\end{itemize}
Check out the accompanying beamer-article example document for this
presentation. You can find it in the same folder as this document.
\end{frame}
%

\section{Changing the look}
\begin{frame}{Themes}
\begin{itemize}
\item \structure{Beamer} presentations are themeable. Themes determine
the colors used, the macro structure (use of sidebars, headlines etc.),
the fonts, the look of list items, blocks and in general the whole
look and feel of a presentation
\item \structure{Beamer} itself ships a number of different-looking themes
to chose from (we use the ``Berkeley'' theme in this presentation;
see \alert{Document\lyxarrow Settings\lyxarrow\LaTeX{} Preamble}
for how we activated and slightly tweaked the theme)
\item In addition to this standard set, you can get more themes from \href{http://www.ctan.org}{CTAN}
and other places at the Internet
\item If you still are not satisified or if you need a theme matching to
your University's or company's corporate design, the \structure{Beamer}
manual \cite{beamer-ug} explains how you can setup your own theme
\end{itemize}
\end{frame}
%
\begin{frame}{Themes can be modified}

But you do not need to write a theme from scratch if you want to alter
the look.
\begin{itemize}
\item Existing themes can be modified both in details and in major areas
(such as the coloring)
\item Consult the \structure{Beamer} manual \cite{beamer-ug} for details
\end{itemize}
\end{frame}
%

\section{And more \ldots}
\begin{frame}{\ldots{} much more!}

Note that \structure{Beamer} can do much more than we have described
here. The \structure{Beamer} manual \cite{beamer-ug} provides a
comprehensive documentation.

Also, have a look at the \structure{Beamer} examples and templates
shipped with \LyX !
\end{frame}
%

\appendix

\section{Appendix}

\begin{frame}

\frametitle<presentation>{References}

\end{frame}
%
\begin{thebibliography}{1}
\bibitem{beamer-ug}Tantau, Till et al.:\newblock The beamer class.
\url{https://ctan.org/tex-archive/macros/latex/contrib/beamer/doc/beameruserguide.pdf}.

\end{thebibliography}
%

\end{document}