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