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