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