]> git.lyx.org Git - lyx.git/blob - lib/examples/Foils.lyx
1ebd930b667eb28b3541a91ffb5066196d6bc71f
[lyx.git] / lib / examples / Foils.lyx
1 #This file was created by <lasgoutt> Mon Apr 20 15:52:03 1998
2 #LyX 0.12 (C) 1995-1998 Matthias Ettrich and the LyX Team
3 \lyxformat 2.15
4 \textclass foils
5 \begin_preamble
6 \raggedright
7 \MyLogo{-\LyX{} and \FoilTeX{}: What a team!-}
8 \end_preamble
9 \options dvips
10 \language default
11 \inputencoding default
12 \fontscheme default
13 \graphics dvips
14 \paperfontsize default
15 \spacing single 
16 \papersize Default
17 \paperpackage a4
18 \use_geometry 0
19 \use_amsmath 0
20 \paperorientation portrait
21 \paperwidth 0cm
22 \paperheight 0cm
23 \leftmargin 0cm
24 \topmargin 0cm
25 \rightmargin 0cm
26 \bottommargin 0cm
27 \headheight 0cm
28 \headsep 0cm
29 \footskip 0cm
30 \secnumdepth 0
31 \tocdepth 3
32 \paragraph_separation indent
33 \defskip medskip
34 \quotes_language english
35 \quotes_times 2
36 \papercolumns 1
37 \papersides 1
38 \paperpagestyle default
39 \bullet 0
40         5
41         2
42         -1
43 \end_bullet
44 \bullet 1
45         5
46         4
47         -1
48 \end_bullet
49 \bullet 2
50         4
51         8
52         -1
53 \end_bullet
54 \bullet 3
55         1
56         3
57         -1
58 \end_bullet
59
60 \layout Title
61
62 Foils Class
63 \latex latex 
64
65 \newline 
66
67 \backslash 
68 vspace{7pt}
69 \backslash 
70 hrule height 7pt
71 \layout Author
72
73
74 \noun on 
75 Allan Rae 
76 \noun default 
77 and The LyX Team
78 \layout Date
79
80 November 19 1997
81 \layout Abstract
82
83 LyX and FoilTeX combine to provide a powerful presentation package for creating
84  
85 \begin_inset Quotes eld
86 \end_inset 
87
88 foils
89 \begin_inset Quotes erd
90 \end_inset 
91
92  also known as slides and overhead transparencies.
93 \layout Foilhead
94
95 This is a Foilhead
96 \layout LaTeX
97
98
99 \backslash 
100 hrule height 3pt 
101 \layout Standard
102
103 A Foilhead starts a new foil.
104  A 
105 \emph on 
106 short
107 \emph default 
108  version is also provided that reduces the separation between the Foilhead
109  and the body of the foil.
110  Almost all the environments found in other classes are also supported.
111 \layout Itemize
112
113
114 \latex latex 
115
116 \backslash 
117 zerolistvertdimens{}
118 \latex default 
119 The new Itemize Bullet Selection popup
120 \begin_deeper 
121 \layout Itemize
122
123 is tailor-made for use with the foils class
124 \begin_deeper 
125 \layout Itemize
126
127 allowing you to select the bullet used
128 \begin_deeper 
129 \layout Itemize
130
131 at each of the four levels of the Itemize environment
132 \end_deeper 
133 \end_deeper 
134 \end_deeper 
135 \layout Itemize
136
137 NOTE: to get the full capabilities of the Itemize Bullet Selection popup
138  read the Special Tools manual and the ItemizeBullets.lyx file included with
139  the examples.
140 \layout Itemize
141
142 NOTE 2: To get your list spacing small like this use the FoilTeX command:
143  
144 \family typewriter 
145
146 \backslash 
147 zerolistvertdimens{}
148 \family default 
149  set as TeX at the start of the first item.
150 \layout ShortFoilhead
151
152 This is a ShortFoilhead
153 \layout LaTeX
154
155
156 \backslash 
157 hrule height 3pt
158 \layout Standard
159
160 The foils class has been extended to provide two additional bullet-lists.
161  These lists are namely:
162 \layout TickList
163
164 TickList
165 \layout Standard
166
167 and
168 \layout CrossList
169
170 CrossList
171 \layout Standard
172
173 These two lists were added because the listing of do's and don'ts or good
174  and bad are relatively common in foils.
175  Providing a dedicated paragraph style for these occasions should allow
176  faster entry and simplify interaction with LyX.
177 \layout Rotatefoilhead
178
179 Rotatefoilhead
180 \layout LaTeX
181
182
183 \backslash 
184 hrule height 3pt
185 \layout Itemize
186
187 Create landscape foils by using Rotatefoilhead
188 \layout Itemize
189
190 Note that if you are viewing this with xdvi the page will appear to overrun
191  the page dimensions because it xdvi doesn't rotate the text
192 \layout Itemize
193
194 If you view this document using ghostview or something similar then the
195  page should appear rotated.
196  If not then you probably don't have the necessary dvips driver.
197 \layout Definition*
198
199 There are also several environments specially designed for presenting Theorems,
200  Lemmas, Corollaries, Propositions, Proofs and Definitions.
201  These are available as numbered or unnumbered environments.
202 \layout ShortRotatefoilhead
203
204 ShortRotateFoilhead
205 \layout LaTeX
206
207
208 \backslash 
209 hrule height 3pt
210 \layout Itemize
211
212 Again the short version reduces the space below the heading
213 \layout Itemize
214
215 Another way to control the amount of separation is to adjust the length
216  in the preamble.
217  This will affect both the normal and short versions of foilhead and rotatefoilh
218 ead.
219  For example,
220 \newline 
221
222 \family typewriter 
223  
224 \backslash 
225 setlength{
226 \backslash 
227 foilheadskip}{-0.5in} 
228 \family default 
229
230 \newline 
231 will reduce the spacing by 0.5 inches.
232  Other units include mm (millimeters) and pt (points).
233 \layout Itemize
234
235 The 
236 \emph on 
237 short
238 \emph default 
239  versions of the foilheads reduce the separation by 0.5 inches (approximately
240  12.5mm).
241 \layout ShortFoilhead
242
243 Tricky Proofs
244 \layout LaTeX
245
246
247 \backslash 
248 hrule height 3pt 
249 \layout Lemma*
250
251 Several consecutive paragraphs of type
252 \emph on 
253  Theorem
254 \emph default 
255
256 \emph on 
257 Lemma
258 \emph default 
259
260 \emph on 
261 Corollary
262 \emph default 
263
264 \emph on 
265 Proposition
266 \emph default 
267
268 \emph on 
269 Definition
270 \emph default 
271
272 \emph on 
273 Proof
274 \emph default 
275  or the starred versions of these are part of the same environment.
276 \layout Lemma*
277
278 As you can see, we are still in the same lemma.
279 \layout LaTeX
280
281 %
282 \layout Lemma*
283
284 To force this second Lemma straight after the first it's necessary to add
285  some dividing text or as I've done in this case separate the two by inserting
286  a 
287 \emph on 
288 LaTeX
289 \emph default 
290  environment that simply contains a 
291 \begin_inset Quotes eld
292 \end_inset 
293
294 %
295 \begin_inset Quotes erd
296 \end_inset 
297
298 .
299  This is simply a comment character in LaTeX but the insertion of the LaTeX
300  paragraph is sufficient to fool LyX into correctly handling the multiple
301  environments.
302 \layout Lemma*
303
304 NOTE: You only have this problem with multiple paragraphs of the same type
305  
306 \emph on 
307 not
308 \emph default 
309  with different types such as a Proof followed by a Theorem.
310 \layout ShortFoilhead
311
312 Tables and Figures
313 \layout LaTeX
314
315
316 \backslash 
317 hrule height 3pt 
318 \layout Standard
319 \added_space_top 0.3cm \added_space_bottom 0.3cm \align center \LyXTable
320 multicol4
321 3 3 0 0 -1 -1 -1 -1
322 1 1 0 0
323 1 0 0 0
324 1 1 0 0
325 8 1 0 
326 8 1 0 
327 8 1 1 
328 0 8 1 0 0 0 0
329 0 8 1 0 0 0 0
330 0 8 1 0 0 0 0
331 0 8 1 0 0 0 0
332 0 8 1 0 0 0 0
333 0 8 1 0 0 0 0
334 0 8 1 0 0 0 0
335 0 8 1 0 0 0 0
336 0 8 1 0 0 0 0
337
338 Column1
339 \newline 
340 Column2
341 \newline 
342 Column3
343 \newline 
344 A
345 \newline 
346
347 \emph on 
348 simple
349 \emph default 
350
351 \newline 
352 table
353 \newline 
354
355 \bar under 
356 example
357 \bar default 
358
359 \newline 
360 with
361 \newline 
362
363 \series bold 
364 foils
365 \layout Standard
366
367 Both tables and figures are supported in Foils however floats don't float
368  instead they appear exactly where they appear in the text.
369  Any placement parameters you set will be ignored.
370 \begin_float tab 
371 \layout Standard
372 \align center \LyXTable
373 multicol4
374 3 3 0 0 -1 -1 -1 -1
375 1 1 0 0
376 1 0 0 0
377 1 1 0 0
378 8 1 0 
379 8 1 0 
380 8 1 1 
381 0 8 1 0 0 0 0
382 0 8 1 0 0 0 0
383 0 8 1 0 0 0 0
384 0 8 1 0 0 0 0
385 0 8 1 0 0 0 0
386 0 8 1 0 0 0 0
387 0 8 1 0 0 0 0
388 0 8 1 0 0 0 0
389 0 8 1 0 0 0 0
390
391 Row1
392 \newline 
393
394 \emph on 
395 Another
396 \emph default 
397
398 \newline 
399 simple
400 \newline 
401 Row2
402 \newline 
403
404 \bar under 
405 table
406 \bar default 
407
408 \newline 
409 example
410 \newline 
411 Row3
412 \newline 
413
414 \series bold 
415 with
416 \series default 
417
418 \newline 
419 foils
420 \layout Caption
421
422 This is a non-floating 
423 \begin_inset Quotes eld
424 \end_inset 
425
426 float
427 \begin_inset Quotes erd
428 \end_inset 
429
430  table
431 \end_float 
432 \layout ShortFoilhead
433
434 Headers and Footers
435 \layout LaTeX
436
437
438 \backslash 
439 hrule height 3pt
440 \layout Standard
441
442 FoilTeX provides some powerful header and footer capabilities
443 \begin_float footnote 
444 \layout Standard
445
446 You can also use the standard footnotes like this one.
447 \end_float 
448  that are best set in the preamble although they may be set at any point
449  in a document.
450  If you want to change these settings in the document the best place to
451  do so is at the very top of a foil ie.
452  straight after the foilhead.
453 \layout Standard
454
455 The left-footer is controlled by two commands: 
456 \family typewriter 
457
458 \backslash 
459 MyLogo{}
460 \family default 
461  and 
462 \family typewriter 
463
464 \backslash 
465 Restriction{}
466 \family default 
467 .
468  The first is meant to allow you to include a graphic logo on your foils
469  and defaults to 
470 \begin_inset Quotes eld
471 \end_inset 
472
473 -Typeset by FoilTeX-
474 \begin_inset Quotes erd
475 \end_inset 
476
477 .
478  While the second is meant to provide a classification for the audience
479  eg.
480  Confidential.
481 \layout Standard
482
483 The remaining corners are controlled by:
484 \layout Standard
485
486
487 \family typewriter 
488
489 \backslash 
490 rightfooter{}
491 \family default 
492  -- which defaults to page numbers
493 \layout Standard
494
495
496 \family typewriter 
497
498 \backslash 
499 rightheader{}
500 \layout Standard
501
502
503 \family typewriter 
504
505 \backslash 
506 leftheader{}
507 \layout Foilhead
508
509 Further Reading
510 \layout LaTeX
511
512
513 \backslash 
514 hrule height 3pt
515 \layout Standard
516
517 Your LaTeX distribution should include some documentation on FoilTeX.
518  There are many more features in FoilTeX than those described here.
519  For example, FoilTeX can automatically place a horizontal rule between
520  the headers and all foilheads, and between the body and the footers.
521 \layout Bibliography
522 \bibitem {2}
523
524 Jim Hafner, 
525 \begin_inset Quotes eld
526 \end_inset 
527
528 The FoilTeX Class Package
529 \begin_inset Quotes erd
530 \end_inset 
531
532
533 \family typewriter 
534 .../texmf/texmf/doc/latex/foiltex/foiltex.dvi
535 \layout Bibliography
536 \bibitem {2}
537
538 LyX Documentation Team, 
539 \begin_inset Quotes eld
540 \end_inset 
541
542 Advanced Editing Tools
543 \begin_inset Quotes erd
544 \end_inset 
545
546 .
547 \the_end