]> git.lyx.org Git - wiki-uploads.git/blob - Layouts/seminar/seminar.lyx
Import uploads from wiki
[wiki-uploads.git] / Layouts / seminar / seminar.lyx
1 #LyX 1.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 221
3 \textclass seminar
4 \begin_preamble
5
6 \end_preamble
7 \options slidesec
8 \language english
9 \inputencoding latin1
10 \fontscheme default
11 \graphics default
12 \paperfontsize default
13 \spacing single 
14 \papersize a4paper
15 \paperpackage a4
16 \use_geometry 0
17 \use_amsmath 0
18 \use_natbib 0
19 \use_numerical_citations 0
20 \paperorientation portrait
21 \leftmargin 2cm
22 \topmargin 1cm
23 \rightmargin 2cm
24 \bottommargin 1cm
25 \secnumdepth 3
26 \tocdepth 3
27 \paragraph_separation skip
28 \defskip medskip
29 \quotes_language german
30 \quotes_times 2
31 \papercolumns 1
32 \papersides 1
33 \paperpagestyle default
34
35 \layout LandscapeSlide
36
37 \begin_deeper 
38 \layout SlideHeading
39
40 How to make a presentation with LyX 
41 \newline 
42 and the seminar LaTeX class 
43 \layout SlideSubHeading
44
45 seminar.cls and seminar.layout 
46 \newline 
47 template and introduction
48 \layout Standard
49 \align center 
50 Version 1.2 
51 \layout Standard
52 \align center 
53 Günter Milde
54 \end_deeper 
55 \layout EndOfSlide
56
57 \layout LandscapeSlide
58
59 \begin_deeper 
60 \layout SlideHeading
61
62 Some basic points to start with:
63 \layout Itemize
64
65 Obviously, you need seminar.cls (somewhere, where LaTeX can find it) and
66  seminar.layout in your layouts dir (
67 \family typewriter 
68 ~/.lyx/layouts
69 \family default 
70 ).
71 \layout Itemize
72
73 It is really helpfull to read 
74 \family typewriter 
75 sem-user.dvi
76 \family default 
77 , the documentation that comes with seminar as well as the LyX User Guide.
78 \layout Itemize
79
80 Set the documentclass to 
81 \family typewriter 
82 seminar 
83 \family default 
84 When you did a reconfigure after installing seminar, this class should show
85  up in the Layout>Document dialog.
86 \layout Itemize
87
88 Start a slide with an paragraph of type 
89 \family typewriter 
90 LandscapeSlide
91 \family default 
92  or 
93 \family typewriter 
94 PortraitSlide.
95 \end_deeper 
96 \layout EndOfSlide
97
98 \layout LandscapeSlide
99
100 \layout LandscapeSlide
101
102 \begin_deeper 
103 \layout SlideHeading
104
105 Putting some stuff in a slide 
106 \layout Standard
107
108 If a paragraph shall appear in a slide, it need to be 
109 \layout Itemize
110
111 either inside the opening 
112 \family sans 
113 LandscapeSlide
114 \family default 
115  paragraph 
116 \layout Itemize
117
118 or nested inside the 
119 \family sans 
120 LandscapeSlide
121 \family typewriter 
122  
123 \family default 
124 environment
125 \layout Standard
126
127 How to nest things is explained in the User Guide chapter 3.4, basically
128 \layout Enumerate
129
130 Write your paragraph
131 \layout Enumerate
132
133 Press Alt-p > and see the red brace appear on the left side
134 \layout Enumerate
135
136 To nest more than one paragraph at once, mark them and press Alt-p >
137 \layout Enumerate
138
139 Press Alt-Return instead of Return, when the next paragraph shall be nested
140  as well.
141 \layout Enumerate
142
143 To 
144 \begin_inset Quotes gld
145 \end_inset 
146
147 unnest
148 \begin_inset Quotes grd
149 \end_inset 
150
151 , press Alt-p <
152 \end_deeper 
153 \layout EndOfSlide
154
155 \layout LandscapeSlide
156
157 \begin_deeper 
158 \layout SlideHeading
159
160 What can be part of a slide?
161 \layout Standard
162
163 Virtually everything that can appear in normal LaTeX, can also be on a slide.
164 \layout Standard
165
166 (Well, floats are an exception --- who would want them on a slide.)
167 \layout Standard
168
169 Aditionally there are the commands/types
170 \layout Itemize
171
172
173 \family sans 
174 SlideHeading,
175 \layout Itemize
176
177
178 \family sans 
179 SlideSubheading,
180 \layout Itemize
181
182
183 \family sans 
184 ListOfSlides,
185 \layout Itemize
186
187
188 \family sans 
189 SlideContents, 
190 \family default 
191 and
192 \layout Itemize
193
194
195 \family sans 
196 ProgressContents
197 \family default 
198 .
199 \layout Standard
200
201 All of them can be found in the Style pulldown (Alt-p Space).
202 \end_deeper 
203 \layout EndOfSlide
204
205 \layout LandscapeSlide
206
207 Text within the 
208 \family sans 
209 LandscapeSlide
210 \family default 
211  environment will go on top of the slide as a standard paragraph.
212 \begin_deeper 
213 \layout SlideHeading
214
215 What happens, when you want a List or a Heading first? 
216 \layout Standard
217
218 LyX doesnot like empty paragraphs and it kills empty environments before
219  you are able to nest something in them (if you don't insert an empty command,
220  like 
221 \begin_inset ERT
222 status Collapsed
223
224 \layout Standard
225 {}
226 \end_inset 
227
228 , say).
229
230 \family typewriter 
231  seminar
232 \family default 
233 .
234 \family typewriter 
235 layout
236 \family default 
237  tells LyX to leave an empty 
238 \family sans 
239 LandscapeSlide
240 \family default 
241  or 
242 \family sans 
243 PortraitSlide
244 \family typewriter 
245
246 \family default 
247 so you don't need to ressort to the above workaround.
248  Unfortunately, LyX will not let you start a new paragraph until there is
249  something in the actual one (i.e.
250  pressing Enter does nothing :-(
251 \begin_inset Foot
252 collapsed true
253
254 \layout Standard
255
256 Bug No 313 in http://bugzilla.lyx.org/show_bug.cgi?id=313
257 \end_inset 
258
259  
260 \layout Standard
261
262 So you can either:
263 \layout Itemize
264
265 insert some text (a single letter suffices) that you delete after writing
266  of the next paragraph, or
267 \layout Itemize
268
269 Write the content of the slide first and insert the opening 
270 \family sans 
271 LandscapeSlide
272 \family default 
273  later on.
274 \layout Standard
275
276 The same holds for the 
277 \family sans 
278 EndOfSlide
279 \family default 
280  Environment, that is needed becouse LyX will normally merge two environments
281  if they come immediately one after the other (i.e.
282  two Paragraphs in the 
283 \family sans 
284 LandscapeSlide
285 \family default 
286  environment will go to one slide, if there is nothing else inbetween.)
287 \end_deeper 
288 \layout EndOfSlide
289
290 \layout Standard
291
292 There is no need for an 
293 \family sans 
294 EndOfSlide
295 \family default 
296  paragraph, if some notes follow the slide.
297  The semiar class puts everything that is not nested inside a slide environment
298  on extra pages (see the next slide for output options).
299 \layout Standard
300
301 In case you don't want any text between the slides, the 
302 \family sans 
303 EndOfSlide
304 \family default 
305  environment can act as a dummy paragraph as this one will 
306 \begin_inset Quotes gld
307 \end_inset 
308
309 remain if empty
310 \begin_inset Quotes grd
311 \end_inset 
312
313  as well.
314  (Again you need to write some dummy text which you can delete later again,
315  if you want to append a new paragraph with Enter.) Furthermore, it provides
316  a nice visual feedback to remember you that text following the blue line
317  will not go to the slide.
318 \layout Section
319
320 Outline
321 \layout Standard
322
323 Seminar defines additional content-listing commands, as 
324 \backslash 
325 tableofcontents (Insert\SpecialChar \menuseparator
326 Lists and TOC\SpecialChar \menuseparator
327 TOC) only lists standard headings and
328  subheadings.
329  
330 \layout Standard
331
332
333 \begin_inset LatexCommand \tableofcontents{}
334
335 \end_inset 
336
337
338 \layout Standard
339
340
341 \backslash 
342 slidecontents (packed into the 
343 \family sans 
344 SlideContents
345 \family default 
346  Paragraph Style) lists every page of the output:
347 \layout SlideContents
348
349 \layout Standard
350
351 If you want to have a listing of the slides only, use the 
352 \family sans 
353 ListOfSlides
354 \family default 
355  Paragraph Style:
356 \layout LandscapeSlide
357
358 \begin_deeper 
359 \layout ListOfSlides
360
361 \end_deeper 
362 \layout EndOfSlide
363
364 \layout Section
365
366 Progress Contents
367 \layout Standard
368
369 If you want to assure the audience, that the presentation is almost over,
370  use the 
371 \family sans 
372 ProgressContents
373 \family default 
374  Paragraph Style.
375 \layout LandscapeSlide
376
377 \begin_deeper 
378 \layout ProgressContents
379
380 \end_deeper 
381 \layout EndOfSlide
382
383 \layout PortraitSlide
384
385 \begin_deeper 
386 \layout SlideHeading
387
388 output options 
389 \layout Description
390
391 slidesonly Only the slides are printed.
392 \layout Description
393
394 notesonly Only the notes are printed
395 \layout Description
396
397 notes Both notes and slides are printed.
398 \layout Description
399
400 notesonly* Produces a slide marker for each slide environment
401 \layout Description
402
403 article Print as article (two-up).
404 \layout Description
405
406 (set with \SpecialChar \menuseparator
407 Layout\SpecialChar \menuseparator
408 Document\SpecialChar \menuseparator
409 Extra Options)
410 \layout SlideHeading
411
412 preamble commands 
413 \layout Description
414
415
416 \backslash 
417 onlyslides{8,9,11} print only slides number 8, 9 and 11 (e.g.
418  color plots),
419 \layout Description
420
421
422 \backslash 
423 notslides{4,8,9,11} don't print these slides.
424 \end_deeper 
425 \layout EndOfSlide
426
427 \layout LandscapeSlide
428
429 \begin_deeper 
430 \layout SlideHeading
431
432 Fancier formatting
433 \layout Standard
434
435 The LaTeX preamble (Layout>LaTeX preamble) is the right place for many many
436  options to get fancier formatting, e.g.:
437 \layout Itemize
438
439 different font sets, e.g.
440  Pandora fonts:
441 \begin_inset Foot
442 collapsed true
443
444 \layout Standard
445
446 Unfortunately, Pandora fonts are bitmapped -- they give bad screen output
447  with the acrobat reader.
448 \end_inset 
449
450  
451 \begin_deeper 
452 \layout LyX-Code
453
454
455 \backslash 
456 usepackage{pandora}
457 \end_deeper 
458 \layout Itemize
459
460 fancy frames:
461 \begin_deeper 
462 \layout LyX-Code
463
464
465 \backslash 
466 usepackage{fancybox}
467 \layout LyX-Code
468
469
470 \backslash 
471 setlength{
472 \backslash 
473 slideframewidth}{1pt}
474 \layout LyX-Code
475
476
477 \backslash 
478 slideframe[
479 \backslash 
480 setlength{
481 \backslash 
482 shadowsize}{1pt}]{shadow} 
483 \the_end