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