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