]> git.lyx.org Git - lyx.git/blob - lib/examples/seminar.lyx
- slides.layout, seminar.layout: Both classes don't create presentations, but transpa...
[lyx.git] / lib / examples / seminar.lyx
1 #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 344
3 \begin_document
4 \begin_header
5 \textclass seminar
6 \begin_preamble
7 \renewcommand{\printlandscape}{\special{landscape}}
8 %\sliderotation{right}
9 \end_preamble
10 \options a4, semrot, slidesec
11 \use_default_options false
12 \language english
13 \inputencoding auto
14 \font_roman lmodern
15 \font_sans lmss
16 \font_typewriter lmtt
17 \font_default_family default
18 \font_sc false
19 \font_osf false
20 \font_sf_scale 100
21 \font_tt_scale 100
22
23 \graphics default
24 \paperfontsize default
25 \spacing single
26 \use_hyperref false
27 \papersize default
28 \use_geometry false
29 \use_amsmath 1
30 \use_esint 0
31 \cite_engine basic
32 \use_bibtopic false
33 \paperorientation portrait
34 \secnumdepth 3
35 \tocdepth 3
36 \paragraph_separation indent
37 \defskip medskip
38 \quotes_language english
39 \papercolumns 1
40 \papersides 1
41 \paperpagestyle empty
42 \tracking_changes false
43 \output_changes false
44 \author "" 
45 \author "" 
46 \end_header
47
48 \begin_body
49
50 \begin_layout Standard
51 \begin_inset Note Note
52 status open
53
54 \begin_layout Plain Layout
55
56 \series bold
57 Note:
58 \series default
59  You must not use the view PDF button to preview this file! For viewing
60  and exporting this as PDF use in the menus only the method 
61 \family sans
62 PDF (dvipdfm)
63 \family default
64 .
65  Viewing and exporting seminar documents to DVI and PS can result in an
66  unwanted output, depending on your LaTeX system and the DVI or PostScript
67  viewer.
68 \end_layout
69
70 \begin_layout Plain Layout
71
72 \series bold
73 Note:
74 \series default
75  The 
76 \family sans
77 seminar
78 \family default
79  class is designed to produce transparencies, not presentations.
80  For presentations, use a presentation document class like 
81 \family sans
82 beamer
83 \family default
84  or 
85 \family sans
86 powerdot
87 \family default
88 .
89 \end_layout
90
91 \end_inset
92
93
94 \end_layout
95
96 \begin_layout LandscapeSlide
97
98 \end_layout
99
100 \begin_deeper
101 \begin_layout SlideHeading
102 How to make a presentation with LyX
103 \begin_inset Newline newline
104 \end_inset
105
106 and the seminar LaTeX class 
107 \end_layout
108
109 \begin_layout SlideSubHeading
110 seminar.cls and seminar.layout
111 \begin_inset Newline newline
112 \end_inset
113
114 template and introduction
115 \end_layout
116
117 \end_deeper
118 \begin_layout --Separator--
119
120 \end_layout
121
122 \begin_layout LandscapeSlide
123
124 \end_layout
125
126 \begin_deeper
127 \begin_layout SlideHeading
128 Some basic points to start with:
129 \end_layout
130
131 \begin_layout Itemize
132 Start a slide with an paragraph of type 
133 \family typewriter
134 LandscapeSlide
135 \family default
136  or 
137 \family typewriter
138 PortraitSlide
139 \family default
140 .
141 \end_layout
142
143 \begin_layout Itemize
144 It is really helpful to read the seminar handbook: 
145 \family typewriter
146 sem-user.pdf
147 \family default
148  (or 
149 \family typewriter
150 sem-user.dvi
151 \family default
152 )
153 \end_layout
154
155 \end_deeper
156 \begin_layout --Separator--
157
158 \end_layout
159
160 \begin_layout PortraitSlide
161
162 \end_layout
163
164 \begin_deeper
165 \begin_layout SlideHeading
166 Putting some stuff in a slide 
167 \end_layout
168
169 \begin_layout Standard
170 If a paragraph shall appear in a slide, it need to be 
171 \end_layout
172
173 \begin_layout Itemize
174 either inside the opening 
175 \family sans
176 LandscapeSlide
177 \family default
178  paragraph 
179 \end_layout
180
181 \begin_layout Itemize
182 or nested inside the 
183 \family sans
184 LandscapeSlide
185 \family default
186  environment
187 \end_layout
188
189 \begin_layout Standard
190 How to nest things is explained in LyX's User's Guide chapter 3.4.
191 \end_layout
192
193 \end_deeper
194 \begin_layout --Separator--
195
196 \end_layout
197
198 \begin_layout LandscapeSlide
199
200 \end_layout
201
202 \begin_deeper
203 \begin_layout SlideHeading
204 What can be part of a slide?
205 \end_layout
206
207 \begin_layout Standard
208 Virtually everything that can appear in normal LaTeX, can also be on a slide.
209 \end_layout
210
211 \begin_layout Standard
212 (Well, floats are an exception --- who would want them on a slide.)
213 \end_layout
214
215 \begin_layout Standard
216 Additionally there are the paragraph styles:
217 \end_layout
218
219 \begin_layout Itemize
220
221 \family sans
222 SlideHeading,
223 \end_layout
224
225 \begin_layout Itemize
226
227 \family sans
228 SlideSubheading,
229 \end_layout
230
231 \begin_layout Itemize
232
233 \family sans
234 ListOfSlides,
235 \end_layout
236
237 \begin_layout Itemize
238
239 \family sans
240 SlideContents,
241 \family default
242  and
243 \end_layout
244
245 \begin_layout Itemize
246
247 \family sans
248 ProgressContents
249 \family default
250 .
251 \end_layout
252
253 \begin_layout Standard
254 All of them can be found in the Style pulldown.
255 \end_layout
256
257 \end_deeper
258 \begin_layout --Separator--
259
260 \end_layout
261
262 \begin_layout LandscapeSlide
263 Text within the 
264 \family sans
265 LandscapeSlide
266 \family default
267  environment will go on top of the slide as a standard paragraph.
268 \end_layout
269
270 \begin_deeper
271 \begin_layout SlideHeading
272 What happens, when you want a List or a Heading first? 
273 \end_layout
274
275 \begin_layout Standard
276 Normally, LyX doesn't like empty paragraphs and it kills empty environments
277  before you are able to nest something in them (if you don't insert an empty
278  command, like 
279 \begin_inset ERT
280 status collapsed
281
282 \begin_layout Plain Layout
283
284 {}
285 \end_layout
286
287 \end_inset
288
289 , say).
290  
291 \family typewriter
292 seminar
293 \family default
294 .
295 \family typewriter
296 layout
297 \family default
298  tells LyX to leave an empty 
299 \family sans
300 LandscapeSlide
301 \family default
302  or 
303 \family sans
304 PortraitSlide
305 \family default
306 , so you don't need to use the above workaround.
307 \end_layout
308
309 \begin_layout Standard
310 The same holds for the 
311 \family sans
312 --Separator--
313 \family default
314  Environment, that is needed because LyX will normally merge two environments
315  if they come immediately one after the other (i.e.
316  two Paragraphs in the 
317 \family sans
318 LandscapeSlide
319 \family default
320  environment will go to one slide, if there is nothing else in between.)
321 \end_layout
322
323 \end_deeper
324 \begin_layout LandscapeSlide
325
326 \end_layout
327
328 \begin_layout --Separator--
329
330 \end_layout
331
332 \begin_layout Standard
333 There is no need for a 
334 \family sans
335 --Separator--
336 \family default
337  paragraph, if some notes follow the slide (or if a 
338 \family sans
339 Landscape Slide
340 \family default
341  is followed by a 
342 \family sans
343 Portrait Slide
344 \family default
345 .
346  The seminar class puts everything that is not nested inside a 
347 \family sans
348 Slide
349 \family default
350  environment on extra pages (see slide 
351 \begin_inset CommandInset ref
352 LatexCommand ref
353 reference "sli:output-options"
354
355 \end_inset
356
357  for output options).
358 \end_layout
359
360 \begin_layout Section
361 Outline
362 \end_layout
363
364 \begin_layout Standard
365 Seminar defines additional content-listing commands, as the standard Table
366  of Contents only lists standard headings and subheadings:
367 \end_layout
368
369 \begin_layout Standard
370 \begin_inset CommandInset toc
371 LatexCommand tableofcontents
372
373 \end_inset
374
375
376 \end_layout
377
378 \begin_layout Standard
379 The 
380 \family sans
381 SlideContents
382 \family default
383  paragraph style lists every page of the output (to produce a slide with
384  the contents, nest it in a 
385 \family sans
386 Slide
387 \family default
388  paragraph):
389 \end_layout
390
391 \begin_layout SlideContents
392
393 \end_layout
394
395 \begin_layout Standard
396 If you want to have a listing of the slides only, use the 
397 \family sans
398 ListOfSlides
399 \family default
400  paragraph style:
401 \end_layout
402
403 \begin_layout ListOfSlides
404
405 \end_layout
406
407 \begin_layout Section
408 Progress Contents
409 \end_layout
410
411 \begin_layout Standard
412 If you want to assure the audience, that the presentation is almost over,
413  insert a slide with 
414 \family sans
415 ProgressContents
416 \family default
417 :
418 \end_layout
419
420 \begin_layout LandscapeSlide
421
422 \end_layout
423
424 \begin_deeper
425 \begin_layout ProgressContents
426
427 \end_layout
428
429 \end_deeper
430 \begin_layout --Separator--
431
432 \end_layout
433
434 \begin_layout LandscapeSlide
435
436 \end_layout
437
438 \begin_deeper
439 \begin_layout SlideHeading
440 output options 
441 \begin_inset CommandInset label
442 LatexCommand label
443 name "sli:output-options"
444
445 \end_inset
446
447
448 \end_layout
449
450 \begin_layout Standard
451 The following options can be added to the 
452 \family sans
453 Options
454 \family default
455  field in the menu 
456 \family sans
457 Document\SpecialChar \menuseparator
458 Settings\SpecialChar \menuseparator
459 Document
460 \begin_inset space ~
461 \end_inset
462
463 Class
464 \family default
465 :
466 \end_layout
467
468 \begin_layout Description
469 slidesonly Only the slides are printed
470 \end_layout
471
472 \begin_layout Description
473 notesonly Only the notes are printed
474 \end_layout
475
476 \begin_layout Description
477 notes Both notes and slides are printed
478 \end_layout
479
480 \begin_layout Description
481 notesonly* Produces a slide marker for each slide environment
482 \end_layout
483
484 \begin_layout Description
485 article Print as article (two-up)
486 \end_layout
487
488 \begin_layout SlideHeading
489 preamble commands 
490 \end_layout
491
492 \begin_layout Description
493
494 \backslash
495 onlyslides{8,9,11} print only slides number 8, 9 and 11 (e.g.
496  color plots),
497 \end_layout
498
499 \begin_layout Description
500
501 \backslash
502 notslides{4,8,9,11} don't print these slides.
503 \end_layout
504
505 \end_deeper
506 \begin_layout --Separator--
507
508 \end_layout
509
510 \begin_layout LandscapeSlide
511
512 \end_layout
513
514 \begin_deeper
515 \begin_layout SlideHeading
516 Fancier formatting
517 \end_layout
518
519 \begin_layout Standard
520 The LaTeX preamble is the right place for many many options to get fancier
521  formatting, e.
522 \begin_inset space \thinspace{}
523 \end_inset
524
525 g.:
526 \end_layout
527
528 \begin_layout Itemize
529 different font sets, e.
530 \begin_inset space \thinspace{}
531 \end_inset
532
533 g.
534 \begin_inset space ~
535 \end_inset
536
537 the Iwona fonts: 
538 \end_layout
539
540 \begin_deeper
541 \begin_layout LyX-Code
542
543 \backslash
544 usepackage{iwona}
545 \end_layout
546
547 \end_deeper
548 \begin_layout Itemize
549 fancy frames:
550 \end_layout
551
552 \begin_deeper
553 \begin_layout LyX-Code
554
555 \backslash
556 usepackage{fancybox}
557 \end_layout
558
559 \begin_layout LyX-Code
560
561 \backslash
562 setlength{
563 \backslash
564 slideframewidth}{1pt}
565 \end_layout
566
567 \begin_layout LyX-Code
568
569 \backslash
570 slideframe[
571 \backslash
572 setlength{
573 \backslash
574 shadowsize}{1pt}]{shadow} 
575 \end_layout
576
577 \end_deeper
578 \end_deeper
579 \begin_layout --Separator--
580
581 \end_layout
582
583 \begin_layout LandscapeSlide
584
585 \end_layout
586
587 \begin_deeper
588 \begin_layout SlideHeading
589 Troubleshooting
590 \end_layout
591
592 \begin_layout Itemize
593 There is a bug in 
594 \family typewriter
595 seminar.cls
596 \family default
597  making it fail with the 
598 \family typewriter
599 a4paper
600 \family default
601  option.
602  If you use A4 paper, set in the menu 
603 \family sans
604 Document\SpecialChar \menuseparator
605 Settings\SpecialChar \menuseparator
606 Page
607 \begin_inset space ~
608 \end_inset
609
610 Layout
611 \family default
612  the 
613 \family sans
614 Paper
615 \begin_inset space ~
616 \end_inset
617
618 Size
619 \family default
620  to 
621 \family sans
622 Default
623 \family default
624  and add 
625 \begin_inset Quotes eld
626 \end_inset
627
628
629 \family sans
630 a4
631 \family default
632
633 \begin_inset Quotes erd
634 \end_inset
635
636  to the 
637 \family sans
638 Options
639 \family default
640  field in the menu 
641 \family sans
642 Document\SpecialChar \menuseparator
643 Settings\SpecialChar \menuseparator
644 Document
645 \begin_inset space ~
646 \end_inset
647
648 Class
649 \family default
650 .
651 \end_layout
652
653 \begin_layout Itemize
654 If you have problems with the orientation of the slides/page, try the recommenda
655 tions in Apppendix E of the seminar handbook.
656 \end_layout
657
658 \begin_layout Itemize
659 Assure that the document page margins are set to default.
660 \end_layout
661
662 \end_deeper
663 \begin_layout LandscapeSlide
664
665 \end_layout
666
667 \end_body
668 \end_document