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