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