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