]> git.lyx.org Git - lyx.git/blob - lib/examples/seminar.lyx
Add Tommaso to credits
[lyx.git] / lib / examples / seminar.lyx
1 #LyX 1.6.5svn 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 a4paper, 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  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 \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.
317 \begin_inset space \thinspace{}
318 \end_inset
319
320 g.
321 \begin_inset space \space{}
322 \end_inset
323
324 two Paragraphs in the 
325 \family sans
326 LandscapeSlide
327 \family default
328  environment will go to one slide, if there is nothing else between.)
329 \end_layout
330
331 \end_deeper
332 \begin_layout --Separator--
333
334 \end_layout
335
336 \begin_layout Standard
337 The seminar class puts everything that is not nested inside a 
338 \family sans
339 Slide
340 \family default
341  environment on extra pages as 
342 \emph on
343 notes
344 \emph default
345  (see slide 
346 \begin_inset CommandInset ref
347 LatexCommand ref
348 reference "sli:output-options"
349
350 \end_inset
351
352  for output options).
353 \end_layout
354
355 \begin_layout Standard
356 There is no need for a 
357 \family sans
358 --Separator--
359 \family default
360  paragraph, if notes follow the slide (or if a 
361 \family sans
362 Landscape Slide
363 \family default
364  is followed by a 
365 \family sans
366 Portrait Slide
367 \family default
368 .
369 \end_layout
370
371 \begin_layout Section
372 Outline
373 \end_layout
374
375 \begin_layout Standard
376 Seminar defines additional content-listing commands, as the Table of Contents
377  only lists 
378 \begin_inset Quotes eld
379 \end_inset
380
381 normal
382 \begin_inset Quotes erd
383 \end_inset
384
385  headings and subheadings:
386 \end_layout
387
388 \begin_layout Standard
389 \begin_inset CommandInset toc
390 LatexCommand tableofcontents
391
392 \end_inset
393
394
395 \end_layout
396
397 \begin_layout Subsection
398 Slide contents
399 \end_layout
400
401 \begin_layout Standard
402 The 
403 \family sans
404 SlideContents
405 \family default
406  paragraph style is an analogue to the table of contents but lists only
407  
408 \family sans
409 SlideHeading
410 \family default
411 s.
412  It has problems with 
413 \family sans
414 SlideSubheading
415 \family default
416 s, though which fail to show up in the list (seems to be a bug in 
417 \family typewriter
418 slidesec.sty
419 \family default
420 ):
421 \end_layout
422
423 \begin_layout SlideContents
424
425 \end_layout
426
427 \begin_layout Subsection
428 List of slides
429 \end_layout
430
431 \begin_layout Standard
432 Analogue to a list of tables, the 
433 \family sans
434 ListOfSlides
435 \family default
436  style lists all slides in your document (to produce a slide with the list,
437  nest it in a 
438 \family sans
439 ...Slide
440 \family default
441  paragraph):
442 \end_layout
443
444 \begin_layout ListOfSlides
445
446 \end_layout
447
448 \begin_layout Subsection
449 Progress Contents
450 \end_layout
451
452 \begin_layout Standard
453 If you want to assure the audience, that the presentation is almost over,
454  insert a slide with 
455 \family sans
456 ProgressContents
457 \family default
458 :
459 \end_layout
460
461 \begin_layout LandscapeSlide
462
463 \end_layout
464
465 \begin_deeper
466 \begin_layout ProgressContents
467
468 \end_layout
469
470 \end_deeper
471 \begin_layout --Separator--
472
473 \end_layout
474
475 \begin_layout LandscapeSlide
476
477 \end_layout
478
479 \begin_deeper
480 \begin_layout SlideHeading
481 Configuration
482 \end_layout
483
484 \begin_layout SlideSubHeading
485 Output options
486 \begin_inset CommandInset label
487 LatexCommand label
488 name "sli:output-options"
489
490 \end_inset
491
492
493 \end_layout
494
495 \begin_layout Standard
496 The following options can be added to the 
497 \family sans
498 Options
499 \family default
500  field in the menu 
501 \family sans
502 Document\SpecialChar \menuseparator
503 Settings\SpecialChar \menuseparator
504 Document
505 \begin_inset space ~
506 \end_inset
507
508 Class
509 \family default
510 :
511 \end_layout
512
513 \begin_layout Description
514 slidesonly Only the slides are printed.
515 \end_layout
516
517 \begin_layout Description
518 notesonly Only the notes are printed
519 \end_layout
520
521 \begin_layout Description
522 notes Both notes and slides are printed.
523 \end_layout
524
525 \begin_layout Description
526 notesonly* Produces a slide marker for each slide environment
527 \end_layout
528
529 \begin_layout Description
530 article Print as article (two-up).
531 \end_layout
532
533 \begin_layout Standard
534 \begin_inset Newpage newpage
535 \end_inset
536
537
538 \end_layout
539
540 \begin_layout SlideSubHeading
541 Preamble commands 
542 \end_layout
543
544 \begin_layout Description
545
546 \backslash
547 onlyslides{8,9,11} print only slides number 8, 9 and 11 (e.
548 \begin_inset space \thinspace{}
549 \end_inset
550
551 g.
552 \begin_inset space \space{}
553 \end_inset
554
555 color plots),
556 \end_layout
557
558 \begin_layout Description
559
560 \backslash
561 notslides{4,8,9,11} don't print these slides.
562 \end_layout
563
564 \end_deeper
565 \begin_layout --Separator--
566
567 \end_layout
568
569 \begin_layout LandscapeSlide
570
571 \end_layout
572
573 \begin_deeper
574 \begin_layout SlideSubHeading
575 Fancier formatting
576 \end_layout
577
578 \begin_layout Standard
579 The LaTeX preamble is the right place for many many options to get fancier
580  formatting, e.
581 \begin_inset space \thinspace{}
582 \end_inset
583
584 g.:
585 \end_layout
586
587 \begin_layout Itemize
588 different font sets, e.
589 \begin_inset space \thinspace{}
590 \end_inset
591
592 g.
593 \begin_inset space \space{}
594 \end_inset
595
596 the Iwona fonts: 
597 \end_layout
598
599 \begin_deeper
600 \begin_layout LyX-Code
601
602 \backslash
603 usepackage{iwona}
604 \end_layout
605
606 \end_deeper
607 \begin_layout Itemize
608 fancy frames:
609 \end_layout
610
611 \begin_deeper
612 \begin_layout LyX-Code
613
614 \backslash
615 usepackage{fancybox}
616 \end_layout
617
618 \begin_layout LyX-Code
619
620 \backslash
621 setlength{
622 \backslash
623 slideframewidth}{1pt}
624 \end_layout
625
626 \begin_layout LyX-Code
627
628 \backslash
629 slideframe[
630 \backslash
631 setlength{
632 \backslash
633 shadowsize}{1pt}]{shadow} 
634 \end_layout
635
636 \end_deeper
637 \end_deeper
638 \begin_layout --Separator--
639
640 \end_layout
641
642 \begin_layout LandscapeSlide
643
644 \end_layout
645
646 \begin_deeper
647 \begin_layout SlideHeading
648 Troubleshooting
649 \end_layout
650
651 \begin_layout Itemize
652
653 \family typewriter
654 seminar.cls
655 \family default
656  versions before 1.5 (2008-10-15) contained a bug regarding the a4paper option.
657  If you use A4 paper with such a version, set in the menu 
658 \family sans
659 Document\SpecialChar \menuseparator
660 Settings\SpecialChar \menuseparator
661 Page
662 \begin_inset space ~
663 \end_inset
664
665 Layout
666 \family default
667  the 
668 \family sans
669 Paper
670 \begin_inset space ~
671 \end_inset
672
673 Size
674 \family default
675  to 
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  (unless it is the default layout of your LaTeX distribution), and delete
688  the option 
689 \begin_inset Quotes eld
690 \end_inset
691
692
693 \family sans
694 a4paper
695 \family default
696
697 \begin_inset Quotes erd
698 \end_inset
699
700  if necessary in the 
701 \family sans
702 Options
703 \family default
704  field in the menu 
705 \family sans
706 Document\SpecialChar \menuseparator
707 Settings\SpecialChar \menuseparator
708 Document
709 \begin_inset space ~
710 \end_inset
711
712 Class
713 \family default
714 .
715 \end_layout
716
717 \begin_layout Itemize
718 If you have problems with the orientation of the slides/page, try the recommenda
719 tions in Apppendix
720 \begin_inset space ~
721 \end_inset
722
723 E of the seminar handbook.
724 \end_layout
725
726 \begin_layout Itemize
727 Assure that the document page margins are set to default.
728 \end_layout
729
730 \end_deeper
731 \begin_layout LandscapeSlide
732
733 \end_layout
734
735 \end_body
736 \end_document