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