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