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