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