]> git.lyx.org Git - lyx.git/blob - lib/examples/powerdot-example.lyx
MergedManuals.lyx: fix a file path
[lyx.git] / lib / examples / powerdot-example.lyx
1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
2 \lyxformat 508
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/
7 \textclass powerdot
8 \begin_preamble
9 \pdsetup{%
10   lf=left footer,
11   rf=right footer
12 }
13 \end_preamble
14 \options style=fyma,display=slidesnotes
15 \use_default_options false
16 \maintain_unincluded_children false
17 \language english
18 \language_package default
19 \inputencoding auto
20 \fontencoding global
21 \font_roman "default" "default"
22 \font_sans "default" "default"
23 \font_typewriter "default" "default"
24 \font_math "auto" "auto"
25 \font_default_family default
26 \use_non_tex_fonts false
27 \font_sc false
28 \font_osf false
29 \font_sf_scale 100 100
30 \font_tt_scale 100 100
31 \graphics default
32 \default_output_format pdf
33 \output_sync 0
34 \bibtex_command default
35 \index_command default
36 \paperfontsize size=10
37 \spacing single
38 \use_hyperref false
39 \papersize letterpaper
40 \use_geometry true
41 \use_package amsmath 1
42 \use_package amssymb 1
43 \use_package cancel 0
44 \use_package esint 0
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 landscape
57 \suppress_date false
58 \justification true
59 \use_refstyle 0
60 \index Index
61 \shortcut idx
62 \color #008000
63 \end_index
64 \secnumdepth 3
65 \tocdepth 3
66 \paragraph_separation indent
67 \paragraph_indentation default
68 \quotes_language english
69 \papercolumns 1
70 \papersides 1
71 \paperpagestyle default
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 Standard
82 \begin_inset Note Note
83 status open
84
85 \begin_layout Plain Layout
86
87 \series bold
88 \size larger
89 General Notes
90 \end_layout
91
92 \begin_layout Enumerate
93
94 \series bold
95 Output Format:
96 \series default
97  
98 \emph on
99 Powerdot
100 \emph default
101  heavily draws on 
102 \begin_inset Quotes eld
103 \end_inset
104
105 postscript code
106 \begin_inset Quotes erd
107 \end_inset
108
109 .
110  Thus, it does 
111 \series bold
112 not work with PDF
113 \begin_inset space ~
114 \end_inset
115
116 (pdflatex)
117 \series default
118 .
119  The 
120 \begin_inset Quotes eld
121 \end_inset
122
123 View
124 \begin_inset Quotes erd
125 \end_inset
126
127  button uses 
128 \emph on
129 ps2pdf
130 \emph default
131  to generate a PDF, which is the recommended method (for your own documents,
132  you can set this via 
133 \family sans
134 Document\SpecialChar menuseparator
135 Settings\SpecialChar ldots
136 \SpecialChar menuseparator
137 Output\SpecialChar menuseparator
138 Default Output Format
139 \family default
140 ).
141  Via the menus or the 
142 \begin_inset Quotes eld
143 \end_inset
144
145 View other formats
146 \begin_inset Quotes erd
147 \end_inset
148
149  button, you can use other output formats.
150  However, the only sensible alternative is 
151 \emph on
152 Postscript
153 \emph default
154  itself.
155  
156 \emph on
157 PDF
158 \begin_inset space ~
159 \end_inset
160
161 (dvipdfm)
162 \emph default
163  compiles, but most likely does not produce correct output.
164  The same applies to 
165 \emph on
166 DVI
167 \emph default
168 .
169 \end_layout
170
171 \begin_layout Enumerate
172
173 \series bold
174 Options:
175 \series default
176  Depending on your \SpecialChar LaTeX
177  system you might have to add the option 
178 \begin_inset Quotes eld
179 \end_inset
180
181 dvips
182 \begin_inset Quotes erd
183 \end_inset
184
185  to the document class options (
186 \family sans
187 Document\SpecialChar menuseparator
188 Settings\SpecialChar ldots
189 \SpecialChar menuseparator
190 Document Class\SpecialChar menuseparator
191 Class Options\SpecialChar menuseparator
192 Custom
193 \family default
194 ) to get proper output.
195 \end_layout
196
197 \begin_layout Enumerate
198
199 \series bold
200 Appearance:
201 \series default
202  You can customize the look of the presentation with the class options 
203 \emph on
204 style=<style>
205 \emph default
206  (via 
207 \family sans
208 Document\SpecialChar menuseparator
209 Settings\SpecialChar ldots
210 \SpecialChar menuseparator
211 Document Class\SpecialChar menuseparator
212 Class Options\SpecialChar menuseparator
213 Custom
214 \family default
215 ); the 
216 \emph on
217 powerdot
218 \emph default
219  manual describes the styles at disposal.
220  Please also refer to the 
221 \emph on
222 powerdot
223 \emph default
224  manual for further class options.
225 \end_layout
226
227 \begin_layout Enumerate
228
229 \series bold
230 Compatibility:
231 \series default
232  
233 \emph on
234 Powerdot
235 \emph default
236  version <= 1.4g is incompatible with 
237 \emph on
238 enumitem
239 \emph default
240  version 3.5.
241  If you get 
242 \emph on
243 enumitem
244 \emph default
245  errors, make sure to download 
246 \emph on
247 powerdot
248 \emph default
249  version 1.4h (2011/09/15) or a later version from CTAN.
250 \end_layout
251
252 \end_inset
253
254
255 \end_layout
256
257 \begin_layout Title
258 Powerdot Presentations: A \SpecialChar LyX
259  Sample
260 \end_layout
261
262 \begin_layout Author
263 Mael Hilléreau 
264 \begin_inset ERT
265 status collapsed
266
267 \begin_layout Plain Layout
268
269
270 \backslash
271 and
272 \end_layout
273
274 \end_inset
275
276  Hendri Adriaens 
277 \begin_inset ERT
278 status collapsed
279
280 \begin_layout Plain Layout
281
282
283 \backslash
284 and
285 \end_layout
286
287 \end_inset
288
289  Christopher Ellison
290 \begin_inset Note Note
291 status collapsed
292
293 \begin_layout Plain Layout
294 Extensions and comments for \SpecialChar LyX
295  2.1 by Jürgen Spitzmüller.
296 \end_layout
297
298 \end_inset
299
300
301 \end_layout
302
303 \begin_layout Date
304 \begin_inset ERT
305 status collapsed
306
307 \begin_layout Plain Layout
308
309
310 \backslash
311 today
312 \end_layout
313
314 \end_inset
315
316
317 \end_layout
318
319 \begin_layout Slide
320 My first slide
321 \end_layout
322
323 \begin_layout Standard
324 We use a 
325 \family typewriter
326 Slide
327 \family default
328  style (magenta color, see above this text in the \SpecialChar LyX
329  window) for the title
330  of each slide and to start a new slide.
331 \end_layout
332
333 \begin_layout WideSlide
334 My wide slide
335 \end_layout
336
337 \begin_layout Standard
338 \begin_inset CommandInset label
339 LatexCommand label
340 name "toc"
341
342 \end_inset
343
344 But we may also produce wide slides via the 
345 \family typewriter
346 WideSlide
347 \family default
348  style (green color, see above this text in the \SpecialChar LyX
349  window).
350 \end_layout
351
352 \begin_layout Slide
353 The TOC
354 \end_layout
355
356 \begin_layout Standard
357 \begin_inset Note Note
358 status open
359
360 \begin_layout Plain Layout
361 If you need TOC options (see 
362 \emph on
363 powerdot
364 \emph default
365  manual), you have to insert 
366 \family typewriter
367
368 \backslash
369 tableofcontents[<options>]
370 \family default
371  in \SpecialChar TeX
372  mode.
373 \end_layout
374
375 \end_inset
376
377
378 \end_layout
379
380 \begin_layout Standard
381 Let's have a look at the TOC:
382 \begin_inset VSpace medskip
383 \end_inset
384
385
386 \end_layout
387
388 \begin_layout Standard
389 \begin_inset CommandInset toc
390 LatexCommand tableofcontents
391
392 \end_inset
393
394
395 \end_layout
396
397 \begin_layout Section
398 This is the first section
399 \end_layout
400
401 \begin_layout Slide
402 \begin_inset Argument 1
403 status open
404
405 \begin_layout Plain Layout
406 toc=This slide has\SpecialChar ldots
407
408 \end_layout
409
410 \end_inset
411
412 This slide has a very very long title
413 \end_layout
414
415 \begin_layout Standard
416 This slide's title is different in the TOC, since we use the slide option
417  
418 \emph on
419 toc=<shorttitle>
420 \emph default
421 ; see slide 
422 \begin_inset CommandInset ref
423 LatexCommand pageref
424 reference "toc"
425
426 \end_inset
427
428  or the navigation bar at the left side of all slides in this section.
429  Note that you can use 
430 \emph on
431 toc=
432 \emph default
433  (i.
434 \begin_inset space \thinspace{}
435 \end_inset
436
437 e., pass an empty value) to hide a title completely from the TOC.
438 \begin_inset VSpace defskip
439 \end_inset
440
441
442 \end_layout
443
444 \begin_layout Standard
445 Slide options can be specified via 
446 \family typewriter
447 Insert
448 \family default
449 \SpecialChar menuseparator
450
451 \family typewriter
452 Slide Option
453 \family default
454 .
455 \end_layout
456
457 \begin_layout Note
458 Important note!
459 \end_layout
460
461 \begin_layout Standard
462 With the style 
463 \family typewriter
464 Note
465 \family default
466  you can add notes to yourself.
467 \begin_inset VSpace defskip
468 \end_inset
469
470
471 \end_layout
472
473 \begin_layout Standard
474 The class option 
475 \emph on
476 display=<displaytype>
477 \emph default
478  (via 
479 \family sans
480 Document\SpecialChar menuseparator
481 Settings\SpecialChar ldots
482 \SpecialChar menuseparator
483 Document Class\SpecialChar menuseparator
484 Class Options\SpecialChar menuseparator
485 Custom
486 \family default
487 ) determines whether notes are visible in the output.
488  By default, they are not (
489 \emph on
490 display=slides
491 \emph default
492 ).
493  We use the option 
494 \emph on
495 display=slidesnotes
496 \emph default
497  in this presentation to display both the slides and the notes.
498  You can also display the notes only (
499 \emph on
500 display=notes
501 \emph default
502 ).
503  See the 
504 \emph on
505 powerdot
506 \emph default
507  manual for details.
508 \end_layout
509
510 \begin_layout Slide
511 Pausing
512 \end_layout
513
514 \begin_layout Standard
515 Let's make a pause!
516 \begin_inset Note Note
517 status open
518
519 \begin_layout Plain Layout
520 Use the paragraph style 
521 \family typewriter
522 Pause
523 \family default
524  or 
525 \family typewriter
526
527 \backslash
528 pause
529 \family default
530  in \SpecialChar TeX
531  mode!
532 \end_layout
533
534 \end_inset
535
536
537 \end_layout
538
539 \begin_layout Pause
540
541 \end_layout
542
543 \begin_layout Standard
544 \SpecialChar ldots
545  and then continue.
546 \end_layout
547
548 \begin_layout Slide
549 Uncovering text
550 \end_layout
551
552 \begin_layout Standard
553 Use Edit\SpecialChar menuseparator
554 Text Style to access the 
555 \family typewriter
556 Onslide
557 \family default
558  (
559 \begin_inset Quotes eld
560 \end_inset
561
562 Visible
563 \begin_inset Quotes erd
564 \end_inset
565
566 ), 
567 \family typewriter
568 Onslide*
569 \family default
570  (
571 \begin_inset Quotes eld
572 \end_inset
573
574 Only
575 \begin_inset Quotes erd
576 \end_inset
577
578 ) and 
579 \family typewriter
580 Onslide+
581 \family default
582  (
583 \begin_inset Quotes eld
584 \end_inset
585
586 Uncover
587 \begin_inset Quotes erd
588 \end_inset
589
590 ) insets, which correspond to 
591 \emph on
592 powerdot's
593 \emph default
594  various 
595 \family typewriter
596
597 \backslash
598 onslide
599 \family default
600  commands:
601 \begin_inset Note Note
602 status open
603
604 \begin_layout Plain Layout
605 The 
606 \begin_inset Quotes eld
607 \end_inset
608
609 On Slides
610 \begin_inset Quotes erd
611 \end_inset
612
613  sub-inset is accessible via 
614 \family sans
615 Insert\SpecialChar menuseparator
616 Overlay Specifications
617 \family default
618 .
619 \end_layout
620
621 \end_inset
622
623
624 \end_layout
625
626 \begin_layout Enumerate
627
628 \family typewriter
629 Onslide
630 \family default
631  (
632 \begin_inset Quotes eld
633 \end_inset
634
635 Visible
636 \begin_inset Quotes erd
637 \end_inset
638
639 ): This 
640 \begin_inset Flex Onslide
641 status open
642
643 \begin_layout Plain Layout
644 \begin_inset Argument 1
645 status open
646
647 \begin_layout Plain Layout
648 2
649 \end_layout
650
651 \end_inset
652
653 makes invisible text
654 \end_layout
655
656 \end_inset
657
658  visible.
659 \end_layout
660
661 \begin_layout Enumerate
662
663 \family typewriter
664 Onslide
665 \family default
666 * (
667 \begin_inset Quotes eld
668 \end_inset
669
670 Only
671 \begin_inset Quotes erd
672 \end_inset
673
674 ): This 
675 \begin_inset Flex Onslide*
676 status open
677
678 \begin_layout Plain Layout
679 \begin_inset Argument 1
680 status open
681
682 \begin_layout Plain Layout
683 2
684 \end_layout
685
686 \end_inset
687
688 shows previously completely hidden text
689 \end_layout
690
691 \end_inset
692
693  (note how, contrary to the above, the space is here only occupied after
694  un-hiding!) 
695 \end_layout
696
697 \begin_layout Enumerate
698
699 \family typewriter
700 Onslide
701 \family default
702 + (
703 \begin_inset Quotes eld
704 \end_inset
705
706 Uncover
707 \begin_inset Quotes erd
708 \end_inset
709
710 ): This 
711 \begin_inset Flex Onslide+
712 status open
713
714 \begin_layout Plain Layout
715 \begin_inset Argument 1
716 status open
717
718 \begin_layout Plain Layout
719 2
720 \end_layout
721
722 \end_inset
723
724 uncovers
725 \end_layout
726
727 \end_inset
728
729  
730 \begin_inset Quotes eld
731 \end_inset
732
733 deactivated
734 \begin_inset Quotes erd
735 \end_inset
736
737  text.
738 \end_layout
739
740 \begin_layout Section
741 Second section
742 \end_layout
743
744 \begin_layout Slide
745 Using 
746 \family typewriter
747 Enumerate
748 \end_layout
749
750 \begin_layout Standard
751 \begin_inset Note Note
752 status open
753
754 \begin_layout Plain Layout
755 List options can be inserted via 
756 \family sans
757 Insert\SpecialChar menuseparator
758 Enumerate Options
759 \family default
760  or 
761 \family sans
762 Insert\SpecialChar menuseparator
763 Itemize Options
764 \family default
765 , respectively.
766  A list item can be customized by means of 
767 \family sans
768 Insert\SpecialChar menuseparator
769 Custom Item
770 \family default
771 .
772 \end_layout
773
774 \end_inset
775
776
777 \end_layout
778
779 \begin_layout Standard
780 Let's enumerate things:
781 \end_layout
782
783 \begin_layout Pause
784
785 \end_layout
786
787 \begin_layout EnumerateType1
788 The first thing;
789 \end_layout
790
791 \begin_deeper
792 \begin_layout Pause
793
794 \end_layout
795
796 \end_deeper
797 \begin_layout EnumerateType1
798 The second thing;
799 \end_layout
800
801 \begin_deeper
802 \begin_layout Pause
803
804 \end_layout
805
806 \end_deeper
807 \begin_layout EnumerateType1
808 The third thing;
809 \end_layout
810
811 \begin_deeper
812 \begin_layout Pause
813
814 \end_layout
815
816 \end_deeper
817 \begin_layout EnumerateType1
818 The final thing!
819 \end_layout
820
821 \begin_layout Slide
822 List types
823 \end_layout
824
825 \begin_layout Standard
826 \begin_inset Note Note
827 status open
828
829 \begin_layout Plain Layout
830 Here you can see the difference between the styles 
831 \family typewriter
832 Enumerate
833 \family default
834  and 
835 \family typewriter
836 EnumerateType1
837 \family default
838 .
839  
840 \family typewriter
841 EnumerateType1
842 \family default
843  (used on the previous slides) shows forthcoming items in 
844 \begin_inset Quotes eld
845 \end_inset
846
847 inactive
848 \begin_inset Quotes erd
849 \end_inset
850
851  mode, while 
852 \family typewriter
853 Enumerate
854 \family default
855  (used here) hides them completely (the same applies to 
856 \family typewriter
857 Itemize
858 \family default
859  and 
860 \family typewriter
861 ItemizeType1
862 \family default
863 ).
864 \end_layout
865
866 \end_inset
867
868 Let's enumerate things again (
869 \family typewriter
870 Enumerate
871 \family default
872  instead of 
873 \family typewriter
874 EnumerateType1
875 \family default
876 ):
877 \end_layout
878
879 \begin_layout Pause
880
881 \end_layout
882
883 \begin_layout Enumerate
884 The first thing;
885 \end_layout
886
887 \begin_deeper
888 \begin_layout Pause
889
890 \end_layout
891
892 \end_deeper
893 \begin_layout Enumerate
894 The second thing;
895 \end_layout
896
897 \begin_deeper
898 \begin_layout Pause
899
900 \end_layout
901
902 \end_deeper
903 \begin_layout Enumerate
904 The third thing;
905 \end_layout
906
907 \begin_deeper
908 \begin_layout Pause
909
910 \end_layout
911
912 \end_deeper
913 \begin_layout Enumerate
914 The final thing!
915 \end_layout
916
917 \begin_layout Slide
918 Using 
919 \family typewriter
920 Itemize
921 \end_layout
922
923 \begin_layout Standard
924 \begin_inset Note Note
925 status open
926
927 \begin_layout Plain Layout
928 The overlay argument of a list item (
929 \family typewriter
930
931 \backslash
932 item<arg>
933 \family default
934  in \SpecialChar LaTeX
935  output, 
936 \begin_inset Quotes eld
937 \end_inset
938
939 On Slide
940 \begin_inset Quotes erd
941 \end_inset
942
943  in \SpecialChar LyX
944 ) is inserted via 
945 \family sans
946 Insert\SpecialChar menuseparator
947 Overlay Specification.
948  Note how these, as opposed to 
949 \family typewriter
950 Pause
951 \family sans
952 , can be used to highlight only one item on each sub-slide (but try 
953 \begin_inset Quotes eld
954 \end_inset
955
956 2-
957 \begin_inset Quotes erd
958 \end_inset
959
960
961 \begin_inset Quotes eld
962 \end_inset
963
964 3-
965 \begin_inset Quotes erd
966 \end_inset
967
968  etc.
969  the get the same effect as with 
970 \family typewriter
971 Pause
972 \family sans
973 ).
974 \end_layout
975
976 \end_inset
977
978
979 \end_layout
980
981 \begin_layout Standard
982 We may also make some items and nest them:
983 \end_layout
984
985 \begin_layout ItemizeType1
986 \begin_inset Argument item:2
987 status open
988
989 \begin_layout Plain Layout
990 2
991 \end_layout
992
993 \end_inset
994
995 The first;
996 \end_layout
997
998 \begin_layout ItemizeType1
999 \begin_inset Argument item:2
1000 status open
1001
1002 \begin_layout Plain Layout
1003 3
1004 \end_layout
1005
1006 \end_inset
1007
1008 The second;
1009 \end_layout
1010
1011 \begin_deeper
1012 \begin_layout ItemizeType1
1013 \begin_inset Argument item:2
1014 status open
1015
1016 \begin_layout Plain Layout
1017 4
1018 \end_layout
1019
1020 \end_inset
1021
1022 One,
1023 \end_layout
1024
1025 \begin_layout ItemizeType1
1026 \begin_inset Argument item:2
1027 status open
1028
1029 \begin_layout Plain Layout
1030 5
1031 \end_layout
1032
1033 \end_inset
1034
1035 Two,
1036 \end_layout
1037
1038 \begin_layout ItemizeType1
1039 \begin_inset Argument item:2
1040 status open
1041
1042 \begin_layout Plain Layout
1043 6
1044 \end_layout
1045
1046 \end_inset
1047
1048 Three,
1049 \end_layout
1050
1051 \end_deeper
1052 \begin_layout ItemizeType1
1053 \begin_inset Argument item:2
1054 status open
1055
1056 \begin_layout Plain Layout
1057 7
1058 \end_layout
1059
1060 \end_inset
1061
1062 The last one.
1063 \end_layout
1064
1065 \begin_layout EmptySlide
1066 \begin_inset Argument 1
1067 status collapsed
1068
1069 \begin_layout Plain Layout
1070 toc=,randomdots
1071 \end_layout
1072
1073 \end_inset
1074
1075 The empty slide!
1076 \end_layout
1077
1078 \begin_layout Standard
1079 \begin_inset VSpace bigskip
1080 \end_inset
1081
1082
1083 \end_layout
1084
1085 \begin_layout Standard
1086 \align center
1087 This slide is empty (or rather 
1088 \begin_inset Quotes eld
1089 \end_inset
1090
1091 plain
1092 \begin_inset Quotes erd
1093 \end_inset
1094
1095 , for that matter, i.
1096 \begin_inset space \thinspace{}
1097 \end_inset
1098
1099 e.
1100  it has no title, navigation bar etc.) \SpecialChar ldots
1101  
1102 \end_layout
1103
1104 \begin_layout Pause
1105
1106 \end_layout
1107
1108 \begin_layout Standard
1109 \align center
1110 It uses the 
1111 \family typewriter
1112 EmptySlide
1113 \family default
1114  style for its title (cyan color in the \SpecialChar LyX
1115  window).
1116 \end_layout
1117
1118 \begin_layout Pause
1119
1120 \end_layout
1121
1122 \begin_layout Standard
1123 \align center
1124 You may also have noticed the use of 
1125 \family typewriter
1126 randomdots
1127 \family default
1128  slide option which
1129 \begin_inset Newline newline
1130 \end_inset
1131
1132 allows displaying those multicolor dots into the slide background.
1133 \end_layout
1134
1135 \begin_layout Slide
1136 Two columns
1137 \end_layout
1138
1139 \begin_layout Standard
1140 \begin_inset Note Note
1141 status open
1142
1143 \begin_layout Plain Layout
1144 Use the 
1145 \family typewriter
1146 Twocolumn
1147 \family default
1148  style to enter two columns.
1149  The inset for the left column is automatically inserted or can be inserted
1150  via 
1151 \family sans
1152 Insert\SpecialChar menuseparator
1153 Left Column
1154 \family default
1155 .
1156  Column options (see 
1157 \emph on
1158 powerdot
1159 \emph default
1160  manual) can be inserted via 
1161 \family sans
1162 Insert\SpecialChar menuseparator
1163 Column Options
1164 \family default
1165 .
1166 \end_layout
1167
1168 \end_inset
1169
1170
1171 \end_layout
1172
1173 \begin_layout Twocolumn
1174 \begin_inset Argument 2
1175 status open
1176
1177 \begin_layout Plain Layout
1178 This is the left column
1179 \end_layout
1180
1181 \end_inset
1182
1183 This is the right column.
1184 \end_layout
1185
1186 \begin_layout Slide
1187 \begin_inset Argument 1
1188 status open
1189
1190 \begin_layout Plain Layout
1191 method=direct
1192 \end_layout
1193
1194 \end_inset
1195
1196 Example of \SpecialChar LaTeX
1197  source code
1198 \end_layout
1199
1200 \begin_layout Standard
1201 Let's now use the 
1202 \family typewriter
1203 listings
1204 \family default
1205  package in order to typeset some source code.
1206  Here's the 
1207 \family typewriter
1208
1209 \backslash
1210 HelloWorld
1211 \family default
1212  \SpecialChar LaTeX
1213  command:
1214 \end_layout
1215
1216 \begin_layout Standard
1217 \begin_inset listings
1218 lstparams "language={[LaTeX]TeX}"
1219 inline false
1220 status open
1221
1222 \begin_layout Plain Layout
1223
1224
1225 \backslash
1226 newcommand{
1227 \backslash
1228 HelloWorld}{Hello World!}
1229 \end_layout
1230
1231 \end_inset
1232
1233
1234 \end_layout
1235
1236 \begin_layout Standard
1237 Note that this slide uses the 
1238 \family typewriter
1239 method=direct
1240 \family default
1241  option.
1242  This is necessary if you use 
1243 \begin_inset Quotes eld
1244 \end_inset
1245
1246 verbatim
1247 \begin_inset Quotes erd
1248 \end_inset
1249
1250  or 
1251 \begin_inset Quotes eld
1252 \end_inset
1253
1254 fragile
1255 \begin_inset Quotes erd
1256 \end_inset
1257
1258  content (such as listings).
1259  Note, though, that this option does not allow for overlays.
1260 \end_layout
1261
1262 \begin_layout Slide
1263 \begin_inset Argument 1
1264 status open
1265
1266 \begin_layout Plain Layout
1267 method=file
1268 \end_layout
1269
1270 \end_inset
1271
1272 Verbatim material with overlays
1273 \end_layout
1274
1275 \begin_layout Standard
1276 Verbatim content 
1277 \emph on
1278 and
1279 \emph default
1280  overlays are possible with the option 
1281 \family typewriter
1282 method=file
1283 \family default
1284 .
1285  Note that this method is slower than 
1286 \family typewriter
1287 method=direct
1288 \family default
1289 , thus the latter is recommended if you have verbatim content and do not
1290  use overlays.
1291 \end_layout
1292
1293 \begin_layout Pause
1294
1295 \end_layout
1296
1297 \begin_layout Standard
1298 \begin_inset VSpace defskip
1299 \end_inset
1300
1301
1302 \end_layout
1303
1304 \begin_layout Standard
1305 Here's 
1306 \family typewriter
1307 HelloWorld()
1308 \family default
1309  C function:
1310 \end_layout
1311
1312 \begin_layout Standard
1313 \begin_inset listings
1314 lstparams "language=C"
1315 inline false
1316 status open
1317
1318 \begin_layout Plain Layout
1319
1320 void HelloWorld() {
1321 \end_layout
1322
1323 \begin_layout Plain Layout
1324
1325 printf("Hello World!
1326 \backslash
1327 n");
1328 \end_layout
1329
1330 \begin_layout Plain Layout
1331
1332 }
1333 \end_layout
1334
1335 \end_inset
1336
1337
1338 \end_layout
1339
1340 \begin_layout Slide
1341 Floats
1342 \end_layout
1343
1344 \begin_layout Standard
1345 You can use the standard float types 
1346 \emph on
1347 algorithm
1348 \emph default
1349
1350 \emph on
1351 figure
1352 \emph default
1353  and 
1354 \emph on
1355 table
1356 \emph default
1357 :
1358 \end_layout
1359
1360 \begin_layout Standard
1361 \begin_inset Float algorithm
1362 placement H
1363 wide false
1364 sideways false
1365 status open
1366
1367 \begin_layout Plain Layout
1368 \begin_inset Caption Standard
1369
1370 \begin_layout Plain Layout
1371 algorithm float
1372 \end_layout
1373
1374 \end_inset
1375
1376
1377 \end_layout
1378
1379 \end_inset
1380
1381
1382 \end_layout
1383
1384 \begin_layout Standard
1385 \begin_inset Float figure
1386 wide false
1387 sideways false
1388 status open
1389
1390 \begin_layout Plain Layout
1391 \begin_inset Caption Standard
1392
1393 \begin_layout Plain Layout
1394 figure float
1395 \end_layout
1396
1397 \end_inset
1398
1399
1400 \end_layout
1401
1402 \end_inset
1403
1404
1405 \end_layout
1406
1407 \begin_layout Standard
1408 \begin_inset Float table
1409 wide false
1410 sideways false
1411 status open
1412
1413 \begin_layout Plain Layout
1414 \begin_inset Caption Standard
1415
1416 \begin_layout Plain Layout
1417 table float
1418 \end_layout
1419
1420 \end_inset
1421
1422
1423 \end_layout
1424
1425 \end_inset
1426
1427
1428 \end_layout
1429
1430 \begin_layout Slide
1431 The end.
1432 \end_layout
1433
1434 \begin_layout Standard
1435 At the end of the document, you have to put an 
1436 \family typewriter
1437 EndSlide
1438 \family default
1439  style (see the black symbol below into \SpecialChar LyX
1440  window).
1441 \end_layout
1442
1443 \begin_layout Standard
1444 Have fun!
1445 \end_layout
1446
1447 \begin_layout EndSlide
1448
1449 \end_layout
1450
1451 \end_body
1452 \end_document