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