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