]> git.lyx.org Git - lyx.git/blob - lib/examples/Presentations/Foils.lyx
Import Additional from 2.4.x
[lyx.git] / lib / examples / Presentations / Foils.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 620
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 no
15 \language english
16 \language_package default
17 \inputencoding utf8
18 \fontencoding auto
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_roman_osf false
27 \font_sans_osf false
28 \font_typewriter_osf false
29 \font_sf_scale 100 100
30 \font_tt_scale 100 100
31 \use_microtype false
32 \use_dash_ligatures false
33 \graphics dvips
34 \default_output_format pdf
35 \output_sync 0
36 \bibtex_command default
37 \index_command default
38 \paperfontsize default
39 \spacing single
40 \use_hyperref false
41 \papersize default
42 \use_geometry false
43 \use_package amsmath 1
44 \use_package amssymb 1
45 \use_package cancel 1
46 \use_package esint 1
47 \use_package mathdots 1
48 \use_package mathtools 1
49 \use_package mhchem 1
50 \use_package stackrel 1
51 \use_package stmaryrd 1
52 \use_package undertilde 1
53 \cite_engine basic
54 \cite_engine_type default
55 \biblio_style plain
56 \use_bibtopic false
57 \use_indices false
58 \paperorientation portrait
59 \suppress_date false
60 \justification true
61 \use_refstyle 0
62 \use_minted 0
63 \use_lineno 0
64 \index Index
65 \shortcut idx
66 \color #008000
67 \end_index
68 \paperwidth 0cm
69 \paperheight 0cm
70 \leftmargin 0cm
71 \topmargin 0cm
72 \rightmargin 0cm
73 \bottommargin 0cm
74 \headheight 0cm
75 \headsep 0cm
76 \footskip 0cm
77 \secnumdepth 0
78 \tocdepth 1
79 \paragraph_separation indent
80 \paragraph_indentation default
81 \is_math_indent 0
82 \math_numbering_side default
83 \quotes_style english
84 \dynamic_quotes 0
85 \papercolumns 1
86 \papersides 1
87 \paperpagestyle default
88 \tablestyle default
89 \bullet 0 5 2 -1
90 \bullet 1 5 4 -1
91 \bullet 2 4 8 -1
92 \bullet 3 1 3 -1
93 \tracking_changes false
94 \output_changes false
95 \change_bars false
96 \postpone_fragile_content false
97 \html_math_output 0
98 \html_css_as_file 0
99 \html_be_strict false
100 \docbook_table_output 0
101 \docbook_mathml_prefix 1
102 \end_header
103
104 \begin_body
105
106 \begin_layout Title
107 Foils Class 
108 \end_layout
109
110 \begin_layout Author
111
112 \noun on
113 Allan Rae 
114 \end_layout
115
116 \begin_layout Date
117 November 19 1997
118 \end_layout
119
120 \begin_layout Standard
121 \begin_inset VSpace 7pt
122 \end_inset
123
124
125 \end_layout
126
127 \begin_layout Standard
128 \begin_inset CommandInset line
129 LatexCommand rule
130 offset "0ex"
131 width "100col%"
132 height "7pt"
133
134 \end_inset
135
136
137 \end_layout
138
139 \begin_layout Abstract
140 \SpecialChar LyX
141  and Foil\SpecialChar TeX
142  combine to provide a powerful presentation package for creating 
143 \begin_inset Quotes eld
144 \end_inset
145
146 foils
147 \begin_inset Quotes erd
148 \end_inset
149
150  also known as slides and overhead transparencies.
151 \end_layout
152
153 \begin_layout Foilhead
154 This is a Foilhead
155 \end_layout
156
157 \begin_layout Standard
158 \begin_inset CommandInset line
159 LatexCommand rule
160 offset "0ex"
161 width "100col%"
162 height "3pt"
163
164 \end_inset
165
166
167 \end_layout
168
169 \begin_layout Standard
170 A Foilhead starts a new foil.
171  A 
172 \emph on
173 short
174 \emph default
175  version is also provided that reduces the separation between the Foilhead and the body of the foil.
176  Almost all the environments found in other classes are also supported.
177 \end_layout
178
179 \begin_layout Itemize
180 \begin_inset ERT
181 status collapsed
182
183 \begin_layout Plain Layout
184
185
186 \backslash
187 zerolistvertdimens{}
188 \end_layout
189
190 \end_inset
191
192 The new Itemize Bullet Selection popup
193 \end_layout
194
195 \begin_deeper
196 \begin_layout Itemize
197 is tailor-made for use with the foils class
198 \end_layout
199
200 \begin_deeper
201 \begin_layout Itemize
202 allowing you to select the bullet used
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:
215  to get the full capabilities of the Itemize Bullet Selection popup read the Special Tools manual and the ItemizeBullets.lyx file included with the examples.
216 \end_layout
217
218 \begin_layout Itemize
219 NOTE 2:
220  To get your list spacing small like this use the Foil\SpecialChar TeX
221  command:
222  
223 \family typewriter
224
225 \backslash
226 zerolistvertdimens{}
227 \family default
228  set as \SpecialChar TeX
229  at the start of the first item.
230 \end_layout
231
232 \begin_layout ShortFoilhead
233 This is a ShortFoilhead
234 \end_layout
235
236 \begin_layout Standard
237 \begin_inset CommandInset line
238 LatexCommand rule
239 offset "0ex"
240 width "100col%"
241 height "3pt"
242
243 \end_inset
244
245
246 \end_layout
247
248 \begin_layout Standard
249 The foils class has been extended to provide two additional bullet-lists.
250  These lists are namely:
251 \end_layout
252
253 \begin_layout TickList
254 TickList
255 \end_layout
256
257 \begin_layout Standard
258 and
259 \end_layout
260
261 \begin_layout CrossList
262 CrossList
263 \end_layout
264
265 \begin_layout Standard
266 These two lists were added because the listing of do's and don'ts or good and bad are relatively common in foils.
267  Providing a dedicated paragraph style for these occasions should allow faster entry and simplify interaction with \SpecialChar LyX
268 .
269 \end_layout
270
271 \begin_layout Rotatefoilhead
272 Rotatefoilhead
273 \end_layout
274
275 \begin_layout Standard
276
277 \backslash
278 hrule height 3pt
279 \end_layout
280
281 \begin_layout Itemize
282 Create landscape foils by using Rotatefoilhead
283 \end_layout
284
285 \begin_layout Itemize
286 Note that if you are viewing this with xdvi the page will appear to overrun the page dimensions because it xdvi doesn't rotate the text
287 \end_layout
288
289 \begin_layout Itemize
290 If you view this document using ghostview or something similar then the page should appear rotated.
291  If not then you probably don't have the necessary dvips driver.
292 \end_layout
293
294 \begin_layout Definition*
295 There are also several environments specially designed for presenting Theorems,
296  Lemmas,
297  Corollaries,
298  Propositions,
299  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 in the preamble.
325  This will affect both the normal and short versions of foilhead and rotatefoilhead.
326  For example,
327 \begin_inset Newline newline
328 \end_inset
329
330  
331 \family typewriter
332
333 \backslash
334 setlength{
335 \backslash
336 foilheadskip}{-0.5in}
337 \family default
338  
339 \begin_inset Newline newline
340 \end_inset
341
342 will reduce the spacing by 0.5 inches.
343  Other units include mm (millimeters) and pt (points).
344 \end_layout
345
346 \begin_layout Itemize
347 The 
348 \emph on
349 short
350 \emph default
351  versions of the foilheads reduce the separation by 0.5 inches (approximately 12.5mm).
352 \end_layout
353
354 \begin_layout ShortFoilhead
355 Tricky Proofs
356 \end_layout
357
358 \begin_layout Standard
359 \begin_inset CommandInset line
360 LatexCommand rule
361 offset "0ex"
362 width "100col%"
363 height "3pt"
364
365 \end_inset
366
367
368 \end_layout
369
370 \begin_layout Lemma*
371 Several consecutive paragraphs of type 
372 \emph on
373 Theorem
374 \emph default
375 ,
376  
377 \emph on
378 Lemma
379 \emph default
380 ,
381  
382 \emph on
383 Corollary
384 \emph default
385 ,
386  
387 \emph on
388 Proposition
389 \emph default
390 ,
391  
392 \emph on
393 Definition
394 \emph default
395 ,
396  
397 \emph on
398 Proof
399 \emph default
400  or the starred versions of these are part of the same environment.
401 \end_layout
402
403 \begin_layout Lemma*
404 As you can see,
405  we are still in the same lemma.
406 \end_layout
407
408 \begin_layout Standard
409 \begin_inset Separator plain
410 \end_inset
411
412
413 \end_layout
414
415 \begin_layout Lemma*
416 To force this second Lemma straight after the first it's necessary to add some dividing text or as I've done in this case separate the two by inserting a 
417 \emph on
418 \SpecialChar TeX
419
420 \emph default
421  inset that simply contains a 
422 \begin_inset Quotes eld
423 \end_inset
424
425 %
426 \begin_inset Quotes erd
427 \end_inset
428
429 .
430  This is simply a comment character in \SpecialChar LaTeX
431  but the insertion of the \SpecialChar LaTeX
432  paragraph is sufficient to fool \SpecialChar LyX
433  into correctly handling the multiple environments.
434 \end_layout
435
436 \begin_layout Lemma*
437 NOTE:
438  You only have this problem with multiple paragraphs of the same type 
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 instead they appear exactly where they appear in the text.
585  Any placement parameters you set will be ignored.
586 \begin_inset Float table
587 placement htbp
588 alignment document
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 in a document.
755  If you want to change these settings in the document the best place to do so is at the very top of a foil ie.
756  straight after the foilhead.
757 \end_layout
758
759 \begin_layout Standard
760 The left-footer is controlled by two commands:
761  
762 \family typewriter
763
764 \backslash
765 MyLogo{}
766 \family default
767  and 
768 \family typewriter
769
770 \backslash
771 Restriction{}
772 \family default
773 .
774  The first is meant to allow you to include a graphic logo on your foils and defaults to 
775 \begin_inset Quotes eld
776 \end_inset
777
778 -Typeset by Foil\SpecialChar TeX
779 -
780 \begin_inset Quotes erd
781 \end_inset
782
783 .
784  While the second is meant to provide a classification for the audience e.
785 \begin_inset space \thinspace{}
786 \end_inset
787
788 g.
789 \begin_inset space \space{}
790 \end_inset
791
792 Confidential.
793 \end_layout
794
795 \begin_layout Standard
796 The remaining corners are controlled by:
797 \end_layout
798
799 \begin_layout Standard
800
801 \family typewriter
802
803 \backslash
804 rightfooter{}
805 \family default
806  – which defaults to page numbers
807 \end_layout
808
809 \begin_layout Standard
810
811 \family typewriter
812
813 \backslash
814 rightheader{}
815 \end_layout
816
817 \begin_layout Standard
818
819 \family typewriter
820
821 \backslash
822 leftheader{}
823 \end_layout
824
825 \begin_layout Foilhead
826 Further Reading
827 \end_layout
828
829 \begin_layout Standard
830 \begin_inset CommandInset line
831 LatexCommand rule
832 offset "0ex"
833 width "100col%"
834 height "3pt"
835
836 \end_inset
837
838
839 \end_layout
840
841 \begin_layout Standard
842 Your \SpecialChar LaTeX
843  distribution should include some documentation on Foil\SpecialChar TeX
844 .
845  There are many more features in Foil\SpecialChar TeX
846  than those described here.
847  For example,
848  Foil\SpecialChar TeX
849  can automatically place a horizontal rule between the headers and all foilheads,
850  and between the body and the footers.
851 \end_layout
852
853 \begin_layout Bibliography
854 \begin_inset CommandInset bibitem
855 LatexCommand bibitem
856 key "2"
857 literal "true"
858
859 \end_inset
860
861 Jim Hafner,
862  
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  
873 \family typewriter
874 .../texmf/texmf/doc/latex/foiltex/foiltex.dvi
875 \end_layout
876
877 \begin_layout Bibliography
878 \begin_inset CommandInset bibitem
879 LatexCommand bibitem
880 key "2"
881 literal "true"
882
883 \end_inset
884
885 \SpecialChar LyX
886  Documentation Team,
887  
888 \begin_inset Quotes eld
889 \end_inset
890
891 Advanced Editing Tools
892 \begin_inset Quotes erd
893 \end_inset
894
895 .
896 \end_layout
897
898 \end_body
899 \end_document