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