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