]> git.lyx.org Git - lyx.git/blob - lib/examples/seminar.lyx
Cmake export tests: Handle attic files with now missing references to png graphics
[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 babel
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 default
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 \SpecialChar 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 \SpecialChar LaTeX
343  (except floats) can also
344  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  or 
391 \family sans
392 PDF (LuaTeX)
393 \family default
394 .
395 \end_layout
396
397 \begin_layout Itemize
398 Landscape slides do not work with 
399 \family sans
400 DVI
401 \family default
402  or 
403 \family sans
404 PDF (LuaTeX)
405 \family default
406 .
407 \end_layout
408
409 \begin_layout Itemize
410 Compiling with XeTeX works (with both, TeX-fonts and Unicode fonts) but
411  requires Babel (not Polyglossia).
412 \end_layout
413
414 \begin_layout Plain Layout
415 With the current configuration in Document\SpecialChar menuseparator
416 Settings,
417 \end_layout
418
419 \begin_layout Itemize
420
421 \family sans
422 PDF (dvips)
423 \family default
424  adapts the pager orientation → online viewing and presentation.
425 \end_layout
426
427 \begin_layout Itemize
428
429 \family sans
430 Postscript
431 \family default
432  and 
433 \family sans
434 PDF (dvipdfm)
435 \family default
436  rotate landscape slides → hardcopies.
437 \end_layout
438
439 \end_inset
440
441
442 \end_layout
443
444 \begin_layout Standard
445 Seminar uses non-standard ways to deal with paper layout and orientation.
446  Therefore, also Document\SpecialChar menuseparator
447 Settings\SpecialChar menuseparator
448 Page Layout\SpecialChar menuseparator
449 Orientation has no effect on
450  the output.
451 \end_layout
452
453 \begin_layout Section
454 Outline
455 \end_layout
456
457 \begin_layout Standard
458 Seminar defines additional content-listing commands, as the Table of Contents
459  only lists 
460 \begin_inset Quotes eld
461 \end_inset
462
463 normal
464 \begin_inset Quotes erd
465 \end_inset
466
467  headings and subheadings.
468  (To get a slide with the listings, nest themt in a 
469 \family sans
470 slide 
471 \family default
472 inset.)
473 \end_layout
474
475 \begin_layout Subsection
476 Slide contents
477 \end_layout
478
479 \begin_layout Standard
480 The 
481 \family sans
482 SlideContents
483 \family default
484  inset is an analogue to the table of contents but lists only 
485 \family sans
486 SlideHeading
487 \family default
488 s (no 
489 \family sans
490 SlideSubheading
491 \family default
492 s): 
493 \begin_inset Flex SlideContents
494 status collapsed
495
496 \begin_layout Plain Layout
497
498 \end_layout
499
500 \end_inset
501
502
503 \end_layout
504
505 \begin_layout Subsection
506 List of slides
507 \end_layout
508
509 \begin_layout Standard
510 Analogue to a list of tables, the 
511 \family sans
512 ListOfSlides
513 \family default
514  style lists all slides in your document: 
515 \end_layout
516
517 \begin_layout Standard
518 \begin_inset Flex ListOfSlides
519 status collapsed
520
521 \begin_layout Plain Layout
522
523 \end_layout
524
525 \end_inset
526
527
528 \end_layout
529
530 \begin_layout Subsection
531 Progress Contents
532 \end_layout
533
534 \begin_layout Standard
535 If you want to assure the audience, that the presentation is almost over,
536  insert a slide with 
537 \family sans
538 ProgressContents
539 \family default
540 :
541 \end_layout
542
543 \begin_layout Standard
544 \begin_inset Flex LandscapeSlide
545 status open
546
547 \begin_layout Plain Layout
548 \align center
549 \begin_inset Flex ProgressContents
550 status collapsed
551
552 \begin_layout Plain Layout
553
554 \end_layout
555
556 \end_inset
557
558
559 \end_layout
560
561 \end_inset
562
563
564 \end_layout
565
566 \begin_layout SlideSubHeading
567 Fancier formatting
568 \end_layout
569
570 \begin_layout Standard
571 The \SpecialChar LaTeX
572  preamble is the right place for many options to get fancier formatting,
573  e.
574 \begin_inset space \thinspace{}
575 \end_inset
576
577 g.:
578 \end_layout
579
580 \begin_layout Itemize
581 different font sets, e.
582 \begin_inset space \thinspace{}
583 \end_inset
584
585 g.
586 \begin_inset space \space{}
587 \end_inset
588
589 the Iwona fonts: 
590 \end_layout
591
592 \begin_layout LyX-Code
593
594 \backslash
595 usepackage{iwona}
596 \end_layout
597
598 \begin_layout Itemize
599 fancy frames:
600 \end_layout
601
602 \begin_layout LyX-Code
603
604 \backslash
605 usepackage{fancybox}
606 \end_layout
607
608 \begin_layout LyX-Code
609
610 \backslash
611 setlength{
612 \backslash
613 slideframewidth}{1pt}
614 \end_layout
615
616 \begin_layout LyX-Code
617
618 \backslash
619 slideframe[
620 \backslash
621 setlength{
622 \backslash
623 shadowsize}{1pt}]{shadow} framecolor "black"backgroundcolor "none"
624 \end_layout
625
626 \begin_layout Standard
627 See 
628 \family typewriter
629
630 \begin_inset CommandInset href
631 LatexCommand href
632 name "sem-user.pdf"
633 target "http://mirror.ctan.org/macros/latex/contrib/seminar/doc/sem-user.pdf"
634
635 \end_inset
636
637  for details.
638 \end_layout
639
640 \begin_layout SlideHeading
641 Troubleshooting
642 \end_layout
643
644 \begin_layout Itemize
645
646 \family typewriter
647 seminar.cls
648 \family default
649  versions before 1.5 (2008-10-15) contained a bug regarding the a4paper option.
650  If you use A4 paper with such a version, set in the menu 
651 \family sans
652 Document\SpecialChar menuseparator
653 Settings\SpecialChar menuseparator
654 Page
655 \begin_inset space ~
656 \end_inset
657
658 Layout
659 \family default
660  the 
661 \family sans
662 Paper
663 \begin_inset space ~
664 \end_inset
665
666 Size
667 \family default
668  to 
669 \begin_inset Quotes eld
670 \end_inset
671
672
673 \family sans
674 A4
675 \family default
676
677 \begin_inset Quotes erd
678 \end_inset
679
680  (unless it is the default layout of your \SpecialChar LaTeX
681  distribution), and delete the
682  option 
683 \begin_inset Quotes eld
684 \end_inset
685
686
687 \family sans
688 a4paper
689 \family default
690
691 \begin_inset Quotes erd
692 \end_inset
693
694  if necessary in the 
695 \family sans
696 Options
697 \family default
698  field in the menu 
699 \family sans
700 Document\SpecialChar menuseparator
701 Settings\SpecialChar menuseparator
702 Document
703 \begin_inset space ~
704 \end_inset
705
706 Class
707 \family default
708 .
709 \end_layout
710
711 \begin_layout Itemize
712 If you have problems with the orientation of the slides/page, try the recommenda
713 tions in Apppendix
714 \begin_inset space ~
715 \end_inset
716
717 E of the seminar handbook 
718 \family typewriter
719
720 \begin_inset CommandInset href
721 LatexCommand href
722 name "sem-user.pdf"
723 target "http://mirror.ctan.org/macros/latex/contrib/seminar/doc/sem-user.pdf"
724
725 \end_inset
726
727
728 \family default
729 .
730 \end_layout
731
732 \begin_layout Itemize
733 Assure that the document page margins are set to default.
734 \end_layout
735
736 \end_body
737 \end_document