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