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