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