]> git.lyx.org Git - lyx.git/blob - lib/examples/seminar.lyx
seminar.lyx: mention Günter as author
[lyx.git] / lib / examples / seminar.lyx
1 #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 344
3 \begin_document
4 \begin_header
5 \textclass seminar
6 \begin_preamble
7 \renewcommand{\printlandscape}{\special{landscape}}
8 %\sliderotation{right}
9 \end_preamble
10 \options a4, semrot, slidesec
11 \use_default_options false
12 \language english
13 \inputencoding auto
14 \font_roman lmodern
15 \font_sans lmss
16 \font_typewriter lmtt
17 \font_default_family default
18 \font_sc false
19 \font_osf false
20 \font_sf_scale 100
21 \font_tt_scale 100
22
23 \graphics default
24 \paperfontsize default
25 \spacing single
26 \use_hyperref false
27 \papersize default
28 \use_geometry false
29 \use_amsmath 1
30 \use_esint 0
31 \cite_engine basic
32 \use_bibtopic false
33 \paperorientation portrait
34 \secnumdepth 3
35 \tocdepth 3
36 \paragraph_separation indent
37 \defskip medskip
38 \quotes_language english
39 \papercolumns 1
40 \papersides 1
41 \paperpagestyle empty
42 \tracking_changes false
43 \output_changes false
44 \author "" 
45 \author "" 
46 \end_header
47
48 \begin_body
49
50 \begin_layout Standard
51 \begin_inset Note Note
52 status open
53
54 \begin_layout Plain Layout
55
56 \series bold
57 Note:
58 \series default
59  You must not use the view PDF button to preview this file! For viewing
60  and exporting this as PDF use in the menus only the method 
61 \family sans
62 PDF (dvipdfm)
63 \family default
64 .
65  Viewing and exporting seminar documents to DVI and PS can result in an
66  unwanted output, depending on your LaTeX system and the DVI or PostScript
67  viewer.
68 \end_layout
69
70 \begin_layout Plain Layout
71
72 \series bold
73 Note:
74 \series default
75  The 
76 \family sans
77 seminar
78 \family default
79  class is designed to produce transparencies, not presentations.
80  For presentations, use a presentation document class like 
81 \family sans
82 beamer
83 \family default
84  or 
85 \family sans
86 powerdot
87 \family default
88 .
89 \end_layout
90
91 \end_inset
92
93
94 \end_layout
95
96 \begin_layout LandscapeSlide
97
98 \end_layout
99
100 \begin_deeper
101 \begin_layout SlideHeading
102 Slides and Notes with the 
103 \family sans
104 \noun on
105 Seminar
106 \family default
107 \noun default
108  class
109 \begin_inset Note Note
110 status open
111
112 \begin_layout Plain Layout
113 written by Günter Milde
114 \end_layout
115
116 \end_inset
117
118
119 \end_layout
120
121 \end_deeper
122 \begin_layout --Separator--
123
124 \end_layout
125
126 \begin_layout LandscapeSlide
127
128 \end_layout
129
130 \begin_deeper
131 \begin_layout SlideHeading
132 Some basic points to start with:
133 \end_layout
134
135 \begin_layout Itemize
136 Start a slide with an paragraph of type 
137 \family typewriter
138 LandscapeSlide
139 \family default
140  or 
141 \family typewriter
142 PortraitSlide
143 \family default
144 .
145 \end_layout
146
147 \begin_layout Itemize
148 It is really helpful to read the seminar handbook: 
149 \family typewriter
150 sem-user.pdf
151 \family default
152  (or 
153 \family typewriter
154 sem-user.dvi
155 \family default
156 )
157 \end_layout
158
159 \end_deeper
160 \begin_layout --Separator--
161
162 \end_layout
163
164 \begin_layout PortraitSlide
165
166 \end_layout
167
168 \begin_deeper
169 \begin_layout SlideHeading
170 Putting some content in a slide 
171 \end_layout
172
173 \begin_layout Standard
174 If a paragraph shall appear in a slide, it need to be 
175 \end_layout
176
177 \begin_layout Itemize
178 either inside the opening 
179 \family sans
180 LandscapeSlide
181 \family default
182  paragraph 
183 \end_layout
184
185 \begin_layout Itemize
186 or nested inside the 
187 \family sans
188 LandscapeSlide
189 \family default
190  environment
191 \end_layout
192
193 \begin_layout Standard
194 How to nest things is explained in LyX's User's Guide chapter 3.4.
195 \end_layout
196
197 \end_deeper
198 \begin_layout --Separator--
199
200 \end_layout
201
202 \begin_layout LandscapeSlide
203
204 \end_layout
205
206 \begin_deeper
207 \begin_layout SlideSubHeading
208 What can be part of a slide?
209 \end_layout
210
211 \begin_layout Standard
212 Virtually everything that can appear in normal LaTeX, can also be on a slide.
213 \end_layout
214
215 \begin_layout Standard
216 (Well, floats are an exception --- who would want them on a slide.)
217 \end_layout
218
219 \begin_layout Standard
220 Additionally there are the paragraph styles:
221 \end_layout
222
223 \begin_layout Itemize
224
225 \family sans
226 SlideHeading,
227 \end_layout
228
229 \begin_layout Itemize
230
231 \family sans
232 SlideSubheading,
233 \end_layout
234
235 \begin_layout Itemize
236
237 \family sans
238 ListOfSlides,
239 \end_layout
240
241 \begin_layout Itemize
242
243 \family sans
244 SlideContents,
245 \family default
246  and
247 \end_layout
248
249 \begin_layout Itemize
250
251 \family sans
252 ProgressContents
253 \family default
254 .
255 \end_layout
256
257 \begin_layout Standard
258 All of them can be found in the Style pull-down box.
259 \end_layout
260
261 \end_deeper
262 \begin_layout --Separator--
263
264 \end_layout
265
266 \begin_layout LandscapeSlide
267 Text within the 
268 \family sans
269 LandscapeSlide
270 \family default
271  environment will go on top of the slide as a standard paragraph.
272 \end_layout
273
274 \begin_deeper
275 \begin_layout SlideHeading
276 What happens, when you want a List or a Heading first? 
277 \end_layout
278
279 \begin_layout Standard
280 Normally, LyX does not like empty paragraphs and it kills empty environments
281  before you are able to nest something in them (if you don't insert an empty
282  command or a note).
283  
284 \family typewriter
285 seminar
286 \family default
287 .
288 \family typewriter
289 layout
290 \family default
291  tells LyX to leave an empty 
292 \family sans
293 LandscapeSlide
294 \family default
295  or 
296 \family sans
297 PortraitSlide
298 \family default
299 , so you don't need to use the above workaround.
300 \end_layout
301
302 \begin_layout Standard
303 The 
304 \family sans
305 --Separator--
306 \family default
307  paragraph after a slide is needed because LyX will normally merge two environme
308 nts if they come immediately one after the other (i.
309 \begin_inset space \thinspace{}
310 \end_inset
311
312 e.
313 \begin_inset space ~
314 \end_inset
315
316 two Paragraphs in the 
317 \family sans
318 LandscapeSlide
319 \family default
320  environment will go to one slide, if there is nothing else between.)
321 \end_layout
322
323 \end_deeper
324 \begin_layout --Separator--
325
326 \end_layout
327
328 \begin_layout Standard
329 The seminar class puts everything that is not nested inside a 
330 \family sans
331 Slide
332 \family default
333  environment on extra pages as 
334 \emph on
335 notes
336 \emph default
337  (see slide 
338 \begin_inset CommandInset ref
339 LatexCommand ref
340 reference "sli:output-options"
341
342 \end_inset
343
344  for output options).
345 \end_layout
346
347 \begin_layout Standard
348 There is no need for a 
349 \family sans
350 --Separator--
351 \family default
352  paragraph, if notes follow the slide (or if a 
353 \family sans
354 Landscape Slide
355 \family default
356  is followed by a 
357 \family sans
358 Portrait Slide
359 \family default
360 .
361 \end_layout
362
363 \begin_layout Section
364 Outline
365 \end_layout
366
367 \begin_layout Standard
368 Seminar defines additional content-listing commands, as the Table of Contents
369  only lists 
370 \begin_inset Quotes eld
371 \end_inset
372
373 normal
374 \begin_inset Quotes erd
375 \end_inset
376
377  headings and subheadings:
378 \end_layout
379
380 \begin_layout Standard
381 \begin_inset CommandInset toc
382 LatexCommand tableofcontents
383
384 \end_inset
385
386
387 \end_layout
388
389 \begin_layout Subsection
390 Slide contents
391 \end_layout
392
393 \begin_layout Standard
394 The 
395 \family sans
396 SlideContents
397 \family default
398  paragraph style is an analogue to the table of contents but lists only
399  
400 \family sans
401 SlideHeading
402 \family default
403 s.
404  It has problems with 
405 \family sans
406 SlideSubheading
407 \family default
408 s, though which fail to show up in the list (seems to be a bug in 
409 \family typewriter
410 slidesec.sty
411 \family default
412 ):
413 \end_layout
414
415 \begin_layout SlideContents
416
417 \end_layout
418
419 \begin_layout Subsection
420 List of slides
421 \end_layout
422
423 \begin_layout Standard
424 Analogue to a list of tables, the 
425 \family sans
426 ListOfSlides
427 \family default
428  style lists all slides in your document (to produce a slide with the list,
429  nest it in a 
430 \family sans
431 ...Slide
432 \family default
433  paragraph):
434 \end_layout
435
436 \begin_layout ListOfSlides
437
438 \end_layout
439
440 \begin_layout Subsection
441 Progress Contents
442 \end_layout
443
444 \begin_layout Standard
445 If you want to assure the audience, that the presentation is almost over,
446  insert a slide with 
447 \family sans
448 ProgressContents
449 \family default
450 :
451 \end_layout
452
453 \begin_layout LandscapeSlide
454
455 \end_layout
456
457 \begin_deeper
458 \begin_layout ProgressContents
459
460 \end_layout
461
462 \end_deeper
463 \begin_layout --Separator--
464
465 \end_layout
466
467 \begin_layout LandscapeSlide
468
469 \end_layout
470
471 \begin_deeper
472 \begin_layout SlideHeading
473 Configuration
474 \end_layout
475
476 \begin_layout SlideSubHeading
477 Output options
478 \begin_inset CommandInset label
479 LatexCommand label
480 name "sli:output-options"
481
482 \end_inset
483
484
485 \end_layout
486
487 \begin_layout Standard
488 The following options can be added to the 
489 \family sans
490 Options
491 \family default
492  field in the menu 
493 \family sans
494 Document\SpecialChar \menuseparator
495 Settings\SpecialChar \menuseparator
496 Document
497 \begin_inset space ~
498 \end_inset
499
500 Class
501 \family default
502 :
503 \end_layout
504
505 \begin_layout Description
506 slidesonly Only the slides are printed.
507 \end_layout
508
509 \begin_layout Description
510 notesonly Only the notes are printed
511 \end_layout
512
513 \begin_layout Description
514 notes Both notes and slides are printed.
515 \end_layout
516
517 \begin_layout Description
518 notesonly* Produces a slide marker for each slide environment
519 \end_layout
520
521 \begin_layout Description
522 article Print as article (two-up).
523 \end_layout
524
525 \begin_layout Standard
526 \begin_inset Newpage newpage
527 \end_inset
528
529
530 \end_layout
531
532 \begin_layout SlideSubHeading
533 Preamble commands 
534 \end_layout
535
536 \begin_layout Description
537
538 \backslash
539 onlyslides{8,9,11} print only slides number 8, 9 and 11 (e.
540 \begin_inset space \thinspace{}
541 \end_inset
542
543 g.
544 \begin_inset space ~
545 \end_inset
546
547 color plots),
548 \end_layout
549
550 \begin_layout Description
551
552 \backslash
553 notslides{4,8,9,11} don't print these slides.
554 \end_layout
555
556 \end_deeper
557 \begin_layout --Separator--
558
559 \end_layout
560
561 \begin_layout LandscapeSlide
562
563 \end_layout
564
565 \begin_deeper
566 \begin_layout SlideSubHeading
567 Fancier formatting
568 \end_layout
569
570 \begin_layout Standard
571 The LaTeX preamble is the right place for many many options to get fancier
572  formatting, e.
573 \begin_inset space \thinspace{}
574 \end_inset
575
576 g.:
577 \end_layout
578
579 \begin_layout Itemize
580 different font sets, e.
581 \begin_inset space \thinspace{}
582 \end_inset
583
584 g.
585 \begin_inset space ~
586 \end_inset
587
588 the Iwona fonts: 
589 \end_layout
590
591 \begin_deeper
592 \begin_layout LyX-Code
593
594 \backslash
595 usepackage{iwona}
596 \end_layout
597
598 \end_deeper
599 \begin_layout Itemize
600 fancy frames:
601 \end_layout
602
603 \begin_deeper
604 \begin_layout LyX-Code
605
606 \backslash
607 usepackage{fancybox}
608 \end_layout
609
610 \begin_layout LyX-Code
611
612 \backslash
613 setlength{
614 \backslash
615 slideframewidth}{1pt}
616 \end_layout
617
618 \begin_layout LyX-Code
619
620 \backslash
621 slideframe[
622 \backslash
623 setlength{
624 \backslash
625 shadowsize}{1pt}]{shadow} 
626 \end_layout
627
628 \end_deeper
629 \end_deeper
630 \begin_layout --Separator--
631
632 \end_layout
633
634 \begin_layout LandscapeSlide
635
636 \end_layout
637
638 \begin_deeper
639 \begin_layout SlideHeading
640 Troubleshooting
641 \end_layout
642
643 \begin_layout Itemize
644 There is a bug in 
645 \family typewriter
646 seminar.cls
647 \family default
648  making it fail with the 
649 \family typewriter
650 a4paper
651 \family default
652  option.
653  If you use A4 paper, set in the menu 
654 \family sans
655 Document\SpecialChar \menuseparator
656 Settings\SpecialChar \menuseparator
657 Page
658 \begin_inset space ~
659 \end_inset
660
661 Layout
662 \family default
663  the 
664 \family sans
665 Paper
666 \begin_inset space ~
667 \end_inset
668
669 Size
670 \family default
671  to 
672 \family sans
673 Default
674 \family default
675  and add 
676 \begin_inset Quotes eld
677 \end_inset
678
679
680 \family sans
681 a4
682 \family default
683
684 \begin_inset Quotes erd
685 \end_inset
686
687  to the 
688 \family sans
689 Options
690 \family default
691  field in the menu 
692 \family sans
693 Document\SpecialChar \menuseparator
694 Settings\SpecialChar \menuseparator
695 Document
696 \begin_inset space ~
697 \end_inset
698
699 Class
700 \family default
701 .
702 \end_layout
703
704 \begin_layout Itemize
705 If you have problems with the orientation of the slides/page, try the recommenda
706 tions in Apppendix
707 \begin_inset space ~
708 \end_inset
709
710 E of the seminar handbook.
711 \end_layout
712
713 \begin_layout Itemize
714 Assure that the document page margins are set to default.
715 \end_layout
716
717 \end_deeper
718 \begin_layout LandscapeSlide
719
720 \end_layout
721
722 \end_body
723 \end_document