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