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