]> git.lyx.org Git - lyx.git/blob - lib/layouts/beamer.layout
Add powerdot layout and example
[lyx.git] / lib / layouts / beamer.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[beamer,pgf.sty,xcolor.sty]{presentation (beamer)}
3 # Author : Till Tantau <tantau@users.sourceforge.net>
4
5 # $Header: /cvsroot/latex-beamer/latex-beamer/lyx/layouts/beamer.layout,v 1.16 2004/10/07 20:53:07 tantau Exp $
6
7 # Includes
8 Format 4
9 Input stdcounters.inc
10
11 # local counters
12
13 # Is this needed? Could probably go -- MV 16/05/2007
14 Counter
15   Name                 figure
16   Name                 lyxframeend{}\section
17 End
18
19
20 # General textclass parameters
21 Columns            1
22 Sides              1
23 SecNumDepth        2
24 TocDepth           2
25 DefaultStyle       Standard
26
27 DefaultFont
28   Family           Sans
29   Series           Medium
30   Shape            Up
31   Size             Normal
32   Color            None
33 EndFont
34
35
36 # Standard style definition
37 Style Standard
38   Margin           Static
39   LatexType        Paragraph
40   LatexName        dummy
41   ParIndent        MM
42   ParSkip          0.4
43   Align            Left
44   AlignPossible    Block, Left, Right, Center
45   LabelType        No_Label
46 End
47
48 # List section
49 # Itemize style definition
50 Style Itemize
51   Margin           Static
52   LatexType        Item_Environment
53   LatexName        itemize
54   OptionalArgs     1
55   NextNoIndent     1
56   LeftMargin       MMN
57   LabelSep         xx
58   ItemSep          0.2
59   TopSep           0.7
60   BottomSep        0.7
61   ParSep           0.3
62   Align            Left
63   AlignPossible    Left
64   LabelType        Itemize
65   LabelString      "*"
66 End
67
68 # Enumerate style definition
69 Style Enumerate
70   Margin           Static
71   LatexType        Item_Environment
72   LatexName        enumerate
73   OptionalArgs     2
74   NextNoIndent     1
75   LeftMargin       MMN
76   LabelSep         xx
77   ParSkip          0.0
78   ItemSep          0.2
79   TopSep           0.7
80   BottomSep        0.7
81   ParSep           0.3
82   Align            Left
83   AlignPossible    Left
84   LabelType        Enumerate
85 End
86
87 # Description style definition
88 Style Description
89   Margin           First_Dynamic
90   LatexType        Item_environment
91   LatexName        description
92   OptionalArgs     2
93   NextNoIndent     1
94   LeftMargin       MM
95   LabelSep         xxx
96   ParSkip          0.4
97   ItemSep          0.2
98   TopSep           0.7
99   BottomSep        0.7
100   ParSep           0.3
101   Align            Left
102   AlignPossible    Left
103   LabelType        Manual
104   LabelString      "MM"
105
106   # label font definition
107   LabelFont 
108     Series        Bold
109   EndFont
110 End
111
112 # Sectioning section
113 # Part style definition
114 Style Part
115   Margin           Dynamic
116   LatexType        Command
117   LatexName        part
118   OptionalArgs     1
119   NeedProtect      1
120   NextNoIndent     1
121   Labelsep         xxx
122   ParSkip          0.4
123   TopSep           4
124   BottomSep        4
125   ParSep           0.8
126   Align            Center
127   Alignpossible    Center
128   LabelType        Static
129   LabelString      "Part "
130
131   # standard font definition
132   Font 
133     Family         Roman
134     Series         Bold
135     Size           Huge
136   EndFont
137
138   LabelFont
139     Color          Latex
140   EndFont
141 End
142
143 # Section style definition
144 Style Section
145   Margin           First_Dynamic
146   LatexType        Command
147   LatexName        lyxframeend{}\section
148   NeedProtect      1
149   NextNoIndent     1
150   LabelSep         xxx
151   ParSkip          0.4
152   TopSep           2
153   BottomSep        0.25
154   ParSep           0.7
155   Align            Left
156   AlignPossible    Left
157   LabelType        Counter
158   LabelCounter     section
159   LabelString      "Section \arabic{section}"
160   OptionalArgs     1
161
162   Font 
163     Family         Roman
164     Series         Bold
165     Size           huge
166   EndFont
167
168   LabelFont 
169     Color          latex
170   EndFont
171   LabelStringAppendix "\Alph{section}"
172   TocLevel         1
173 End
174
175 # Section* style definition
176 Style Section*
177   CopyStyle        Section
178   Margin           Static
179   LatexName        lyxframeend{}\section*
180   LabelType        No_Label
181   OptionalArgs     0
182 End
183
184 # Subsection style definition
185 Style Subsection
186   Margin           First_Dynamic
187   LatexType        Command
188   LatexName        lyxframeend{}\subsection
189   NeedProtect      1
190   NextNoIndent     1
191   LabelSep         xxx
192   ParSkip          0.4
193   TopSep           2
194   BottomSep        0.25
195   ParSep           0.5
196   Align            Left
197   AlignPossible    Left
198   LabelType        Counter
199   LabelCounter     subsection
200   LabelString      "Subsection \arabic{section}.\arabic{subsection}"
201   OptionalArgs     1
202
203   # standard font definition
204   Font 
205     Family         Roman
206     Series         Bold
207     Size           larger
208   EndFont
209
210   LabelFont 
211     Color          latex
212   EndFont
213   LabelStringAppendix "\arabic{section}.\arabic{subsection}"
214   TocLevel 2
215 End
216
217 # Subsection* style definition
218 Style Subsection*
219   CopyStyle        Subsection
220   Margin           Static
221   LatexName        lyxframeend{}\subsection*
222   LabelType        No_Label
223   OptionalArgs     0
224 End
225
226 # Frame control definition
227 Style BeginFrame
228   KeepEmpty        1
229   LatexType        Command
230   LatexName        lyxframeend{}\lyxframe
231   OptionalArgs     1
232   Margin           First_Dynamic
233   NextNoIndent     1
234   ParSkip          0
235   TopSep           2.5
236   BottomSep        0.5
237   ParSep           0
238   Align            Center
239   AlignPossible    Center
240   LabelType        Static
241   LabelBottomSep   0
242   LeftMargin       M
243   LabelString      "Frame "
244
245   Font
246     Series         Bold
247     Size           Largest
248     Color          Blue
249   EndFont
250
251   LabelFont 
252     Family         Roman
253     Color          latex
254   EndFont
255
256   Preamble
257     \makeatletter
258     \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
259     \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
260     \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
261     \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
262     \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
263     \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
264       \frame<#1>[#2][#3]{\frametitle{#4}#5}}
265     \makeatother
266   EndPreamble
267 End
268
269 Style BeginPlainFrame
270   KeepEmpty         1
271   LatexType         Command
272   LatexName         lyxframeend{}\lyxplainframe
273   Margin            First_Dynamic
274   NextNoIndent      1
275   ParSkip           0
276   TopSep            2.5
277   BottomSep         0.5
278   ParSep            0
279   Align             Center
280   AlignPossible     center
281   LabelType         Static
282   LabelBottomSep    0
283   LeftMargin        M
284   LabelString       "Frame (no head/foot/sidebars)__"
285
286   Font
287     Series          Bold
288     Size            Largest
289     Color           Blue
290   EndFont
291
292   LabelFont 
293     Family          Roman
294     Color           latex
295   EndFont
296
297   Preamble
298     \makeatletter
299     \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
300     \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
301     \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
302       \frame<#1>[plain]{\frametitle{#2}#3}}
303     \makeatother
304   EndPreamble
305 End
306
307 Style AgainFrame
308   KeepEmpty         0
309   LatexType         Command
310   LatexName         lyxframeend{}\lyxagainframe
311   OptionalArgs      2
312   Margin            First_Dynamic
313   NextNoIndent      1
314   ParSkip           0
315   TopSep            3
316   BottomSep         3
317   ParSep            0
318   Align             Center
319   AlignPossible     Center
320   LabelType         Static
321   LabelBottomSep    0
322   LeftMargin        M
323   LabelString       "Again frame with label__"
324
325   Font
326     Color           latex
327   EndFont
328
329   LabelFont 
330     Family          Roman
331     Color           latex
332     Series          Bold
333     Size            Largest
334   EndFont
335
336   Preamble
337     \makeatletter
338     \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
339     \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
340     \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
341     \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
342       \againframe<#1>[#2]{#3}}
343     \makeatother
344   EndPreamble
345 End
346
347 Style EndFrame
348   KeepEmpty         1
349   LatexType         Command
350   LatexName         lyxframeend
351   Margin            First_Dynamic
352   ParSkip           0
353   TopSep            0
354   BottomSep         3
355   ParSep            0
356   Align             Center
357   AlignPossible     Center
358   LabelType         Static
359   LabelBottomSep    0
360   LeftMargin        MMMMM
361   LabelString       "________________________________" 
362
363   LabelFont 
364     Family          typewriter
365     Series          Medium
366     Size            Normal
367     Color           latex
368   EndFont
369
370   Preamble
371     \def\lyxframeend{} % In case there is a superfluous frame end
372   EndPreamble
373 End
374
375 # Frame decoration section
376 Style FrameSubtitle
377   Margin           Static
378   LatexType        Command
379   LatexName        framesubtitle
380   ParSkip          0.4
381   ItemSep          0
382   TopSep           0
383   BottomSep        1
384   ParSep           1
385   Align            Center
386   AlignPossible    Center
387   LabelType        No_Label
388   OptionalArgs     1
389
390   # standard font definition
391   Font 
392     Series         Bold
393     Color          Blue
394   EndFont
395
396 End
397
398
399 Style Column
400   Margin           Static
401   LatexType        Command
402   LatexName        column
403   ParSkip          0.5
404   TopSep           1
405   BottomSep        1
406   ParSep           0
407   ParIndent        MM
408   Align            Left
409   LabelType        Static
410   LabelSep         xx
411   LabelString      "start column (increase depth!), width:" 
412   OptionalArgs     1
413   LeftMargin       "start column (increase depth!), width:"
414
415   # standard font definition
416   LabelFont 
417     Family         Roman
418     Color          latex
419   EndFont
420 End
421
422
423 Style Columns
424
425   KeepEmpty        1
426   Margin           Static
427   LatexType        Environment
428   NextNoIndent     0
429   ParIndent        MM
430   Align            Left
431   LabelType        Static
432   LabelSep         x
433
434   LatexName        columns}%{
435   LabelString      "columns" 
436   LeftMargin       "columnsx"
437
438   ParSkip          0.5
439   TopSep           1
440   BottomSep        1
441   ParSep           0
442
443
444   # font & label font definition
445
446   LabelFont 
447     Family         Roman
448     Color          latex
449   EndFont
450 End
451
452 Style ColumnsCenterAligned
453   KeepEmpty        1
454   Margin           Static
455   LatexType        Environment
456   NextNoIndent     0
457   ParIndent        MM
458   Align            left
459   LabelType        Static
460   LabelSep         x
461
462   LatexName        centercolumns}%{
463   LabelString      "columns (center aligned)" 
464   LeftMargin       "columns (center aligned) x"
465
466   ParSkip          0.5
467   TopSep           1
468   BottomSep        1
469   ParSep           0
470
471   Preamble
472   \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
473   EndPreamble
474   # font & label font definition
475
476   LabelFont 
477     Family         Roman
478     Color          latex
479   EndFont
480 End
481
482 Style ColumnsTopAligned
483   KeepEmpty        1
484   Margin           Static
485   LatexType        Environment
486   NextNoIndent     0
487   ParIndent        MM
488   Align            left
489   LabelType        Static
490   LabelSep         x
491
492   LatexName        topcolumns}%{
493   LabelString      "columns (top aligned)" 
494   LeftMargin       "columns (top aligned) x"
495
496   ParSkip          0.5
497   TopSep           1
498   BottomSep        1
499   ParSep           0
500
501   Preamble
502   \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
503   EndPreamble
504   # font & label font definition
505
506   LabelFont 
507     Family         Roman
508     Color          latex
509   EndFont
510 End
511
512 # Frame progression section
513 Style Pause
514   KeepEmpty         1
515   LatexType         Command
516   LatexName         pause
517   Margin            First_Dynamic
518   OptionalArgs      1
519   NextNoIndent      1
520   ParSkip           0
521   TopSep            0
522   BottomSep         0.25
523   ParSep            0
524   Align             Center
525   AlignPossible     Center
526   LabelType         Static
527   LabelBottomSep    0
528   LeftMargin        MMMMM
529   LabelString       "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
530
531   LabelFont 
532     Family          typewriter
533     Series          Medium
534     Size            Normal
535     Color           latex
536   EndFont
537 End
538
539 Style Overprint
540   Margin           First_Dynamic
541   LatexType        Environment
542   NextNoIndent     0
543   ParIndent        MM
544   Align            Left
545   LabelType        Static
546   LabelSep         xx
547
548   LatexName        overprint
549   LabelString      "overprint" 
550
551   ParSkip          0.5
552   TopSep           1
553   BottomSep        1
554   ParSep           0
555   KeepEmpty        1
556
557   # font & label font definition
558
559   LabelFont 
560     Family         Roman
561     Color          latex
562   EndFont
563 End
564
565 Style OverlayArea
566   Margin           First_Dynamic
567   LatexType        Environment
568   NextNoIndent     0
569   ParIndent        MM
570   Align            Left
571   LabelType        Static
572   LabelSep         xx
573
574   LatexName        overlayarea
575   LabelString      "overlayarea"
576
577   ParSkip          0.5
578   TopSep           1
579   BottomSep        1
580   ParSep           0
581
582   # font & label font definition
583
584   LabelFont 
585     Family         Roman
586     Color          latex
587   EndFont
588 End
589
590 Style Uncover
591   Margin           First_Dynamic
592   LatexType        Environment
593   NextNoIndent     0
594   ParIndent        MM
595   Align            Left
596   LabelType        Static
597
598   LatexName        uncoverenv}%{
599   LabelString      "uncovered on slides " 
600
601   ParSkip          0.5
602   TopSep           1
603   BottomSep        1
604   ParSep           0
605
606   # font & label font definition
607
608   LabelFont 
609     Family         Roman
610     Color          Latex
611   EndFont
612 End
613
614 Style Only
615   Margin           First_Dynamic
616   LatexType        Environment
617   NextNoIndent     0
618   ParIndent        MM
619   Align            Left
620   LabelType        Static
621
622   LatexName        onlyenv}%{
623   LabelString      "only on slides_"
624
625   ParSkip          0.5
626   TopSep           1
627   BottomSep        1
628   ParSep           0
629
630   # font & label font definition
631
632   LabelFont
633     Family         Roman
634     Color          Latex
635   EndFont
636 End
637
638 # Blocks section
639 Style Block
640   Margin           First_Dynamic
641   LatexType        Environment
642   NextNoIndent     0
643   ParIndent        MM
644   Align            Left
645   LabelType        Static
646   LabelSep         xx
647
648   LatexName        block
649   LabelString      "block ( ERT[{title}] body ): "
650
651   ParSkip          0.5
652   TopSep           1
653   BottomSep        1
654   ParSep           0
655
656   # font & label font definition
657
658   LabelFont
659     Family         Roman
660     Color          latex
661   EndFont
662 End
663
664 Style ExampleBlock
665   Margin           First_Dynamic
666   LatexType        Environment
667   NextNoIndent     0
668   ParIndent        MM
669   Align            Left
670   LabelType        Static
671   LabelSep         xx
672
673   LatexName        exampleblock
674   LabelString      "block ( ERT[{title}] example text ): "
675
676   ParSkip          0.5
677   TopSep           1
678   BottomSep        1
679   ParSep           0
680
681   # font & label font definition
682
683   Font
684     Color          green
685   EndFont
686
687   LabelFont 
688     Family         Roman
689     Color          latex
690   EndFont
691 End
692
693 Style AlertBlock
694   Margin           First_Dynamic
695   LatexType        Environment
696   NextNoIndent     0
697   ParIndent        MM
698   Align            Left
699   LabelType        Static
700   LabelSep         xx
701
702   LatexName        alertblock
703   LabelString      "block ( ERT[{title}] alert text ): "
704
705   ParSkip          0.5
706   TopSep           1
707   BottomSep        1
708   ParSep           0
709
710   # font & label font definition
711
712   Font
713     Color          red
714   EndFont
715
716   LabelFont 
717     Family         Roman
718     Color          latex
719   EndFont
720 End
721
722 # Title slide data section
723 # Title style definition
724 Style Title
725   Margin           Static
726   LatexType        Command
727   InTitle          1
728   LatexName        title
729   ParSkip          0.4
730   ItemSep          0
731   TopSep           0
732   BottomSep        1
733   ParSep           1
734   Align            Center
735   AlignPossible    Center
736   LabelType        No_Label
737   OptionalArgs     1
738
739   # standard font definition
740   Font 
741     Size           Huge
742     Series         Bold
743     Color          Blue
744   EndFont
745
746 End
747
748 Style Subtitle
749   Margin           Static
750   LatexType        Command
751   InTitle          1
752   LatexName        subtitle
753   ParSkip          0.4
754   ItemSep          0
755   TopSep           0
756   BottomSep        1
757   ParSep           1
758   Align            Center
759   AlignPossible    Center
760   LabelType        No_Label
761   OptionalArgs     1
762
763   # standard font definition
764   Font 
765     Size           Large
766     Series         Bold
767     Color          Blue
768   EndFont
769
770 End
771
772 # Author style definition
773 Style Author
774   Margin           Static
775   LatexType        Command
776   InTitle          1
777   LatexName        author
778   LabelSep         xxx
779   ParSkip          0.4
780   TopSep           1.3
781   BottomSep        0.7
782   ParSep           0.7
783   Align            Center
784   AlignPossible    Center
785   LabelType        No_Label
786   OptionalArgs     1
787
788   # standard font definition
789   Font 
790     Size           Largest
791     Color          Blue
792   EndFont
793
794 End
795
796 Style Institute
797   Margin           Dynamic
798   LatexType        Command
799   InTitle          1
800   LatexName        institute
801   LabelSep         xxx
802   ParSkip          0.4
803   TopSep           0.9
804   BottomSep        0.5
805   ParSep           1
806   Align            Center
807   AlignPossible    Center
808   LabelType        No_Label
809   OptionalArgs     1
810
811   # standard font definition
812   Font 
813     Size           Large
814     Color          Blue
815   EndFont
816 End
817
818 # Date style definition
819 Style Date
820   Margin           Dynamic
821   LatexType        Command
822   InTitle          1
823   LatexName        date
824   LabelSep         xxx
825   ParSkip          0.4
826   TopSep           0.9
827   BottomSep        0.5
828   ParSep           1
829   Align            Center
830   AlignPossible    Center
831   LabelType        No_Label
832   OptionalArgs     1
833
834   # standard font definition
835   Font 
836     Size           Largest
837     Color          Blue
838   EndFont
839 End
840
841 # Titles & bibliography section
842 # Bibliography style definition
843 Style Bibliography
844   Margin           First_Dynamic
845   LatexType        Bib_Environment
846   LatexName        thebibliography
847   NextNoIndent     1
848   LeftMargin       MM
849   ParSkip          0.4
850   ItemSep          0
851   TopSep           0.7
852   BottomSep        0.7
853   ParSep           0.5
854   Align            Left
855   AlignPossible    Left
856   LabelType        Bibliography
857   LabelString      "References"
858   LabelBottomSep   0.7
859
860   # label font definition
861   LabelFont 
862     Series         Bold
863     Size           Larger
864   EndFont
865 End
866
867 Style TitleGraphic
868   Margin           Static
869   LatexType        Command
870   InTitle          1
871   LatexName        titlegraphic
872   ParSkip          0.4
873   ItemSep          0
874   TopSep           0
875   BottomSep        1
876   ParSep           1
877   Align            Center
878   AlignPossible    Center
879   LabelType        No_Label
880
881   # standard font definition
882   Font 
883     Size           Huge
884     Series         Bold
885     Color          Blue
886   EndFont
887
888 End
889
890
891 # Theorems and such section
892 Style Corollary
893    Margin          First_Dynamic
894    LatexType       Environment
895    NextNoIndent    0
896    ParIndent       MM
897    Align           Left
898    LabelType       Static
899    LabelSep        xx
900
901    LatexName       corollary}%{
902    LabelString     "Corollary_"
903  
904    ParSkip         0.5
905    TopSep          1
906    BottomSep       1
907    ParSep          0
908    KeepEmpty       1
909  
910    # font & label font definition
911  
912    LabelFont
913      Series        Bold
914      Color         Blue
915      Size          Large
916    EndFont
917 End
918
919 Style Definition
920   CopyStyle        Corollary
921   LatexName        definition}%{
922   LabelString      "Definition. "
923 End
924
925 Style Definitions
926   CopyStyle        Corollary
927   LatexName        definitions}%{
928   LabelString      "Definitions. "
929 End
930
931 Style Example
932   CopyStyle        Corollary
933   LatexName        example}%{
934   LabelString      "Example. "
935
936   LabelFont
937     Series         Bold
938     Color          Green
939   EndFont
940 End
941
942 Style Examples
943   CopyStyle        Corollary
944   LatexName        examples}%{
945   LabelString      "Examples. "
946 End
947
948
949 Style Fact
950   CopyStyle        Corollary
951   LatexName        fact}%{
952   LabelString      "Fact. "
953 End
954
955 Style Proof
956   CopyStyle        Corollary
957   LatexName        proof}%{
958   LabelString      "Proof. "
959 End
960
961 Style Theorem
962   CopyStyle        Corollary
963   LatexName        theorem}%{
964   LabelString      "Theorem. "
965 End
966
967 # Misc. section
968 # Separator style definition
969 Style Separator
970   LatexType        Paragraph
971   LatexName        dummy
972   ParIndent        MM
973   ParSkip          0.4
974   Align            Left
975   AlignPossible    Block, Left, Right, Center
976   Margin           First_Dynamic
977   TopSep           0
978   BottomSep        0
979   ParSep           0
980   LabelType        Static
981   LabelBottomSep   0
982   LabelString      "___"
983   KeepEmpty        1
984
985   LabelFont 
986     Series         Medium
987     Size           Normal
988     Color          latex
989   EndFont
990 End
991  
992 Style LyX-Code
993   Margin           Static
994   LatexType        Environment
995   LatexName        lyxcode
996   NextNoIndent     1
997   LeftMargin       MMM
998   RightMargin      MMM
999   TopSep           0.5
1000   BottomSep        0.5
1001   Align            Left
1002   AlignPossible    Block, Left, Right, Center
1003   LabelType        No_Label
1004   FreeSpacing      1
1005
1006   # define the environment lyxcode
1007   Preamble
1008   \newenvironment{lyxcode}
1009     {\begin{list}{}{
1010       \setlength{\rightmargin}{\leftmargin}
1011       \setlength{\listparindent}{0pt}% needed for AMS classes
1012       \raggedright
1013       \setlength{\itemsep}{0pt}
1014       \setlength{\parsep}{0pt}
1015       \normalfont\ttfamily}%
1016      \def\{{\char`\{}
1017      \def\}{\char`\}}
1018      \def\textasciitilde{\char`\~}
1019      \item[]}
1020     {\end{list}}
1021   EndPreamble
1022
1023   # standard font definition
1024   Font 
1025     Family         Typewriter
1026   EndFont
1027 End
1028  
1029 Style NoteItem
1030   Margin           Static
1031   LatexType        Command
1032   LatexName        note[item]
1033   ParSkip          0.5
1034   TopSep           1
1035   BottomSep        1
1036   ParSep           0
1037   Align            Left
1038   LabelType        Static
1039   LabelSep         xx
1040   LabelString      "note: "
1041   OptionalArgs     1
1042   LeftMargin       MMM
1043  
1044   # standard font definition
1045   LabelFont 
1046     Family         Roman
1047     Color          latex
1048   EndFont
1049 End
1050  
1051
1052 # Input lyxmacros.inc
1053
1054 # Charstyles:
1055
1056 CharStyle Alert
1057   LatexType        Command
1058   LatexName        alert
1059   Font
1060     Color          red
1061   EndFont
1062 End
1063
1064
1065 CharStyle Structure
1066   LatexType        Command
1067   LatexName        structure
1068   Font
1069     Color          blue
1070   EndFont
1071 End
1072
1073
1074 Float
1075   Type             table
1076   GuiName          Table
1077   Placement        tbp
1078   Extension        lot
1079   NumberWithin     none
1080   Style            plain
1081   ListName         "List of Tables"
1082   LaTeXBuiltin     true
1083 End
1084   
1085 Float
1086   Type             figure
1087   GuiName          Figure
1088   Placement        tbp
1089   Extension        lof
1090   NumberWithin     none
1091   Style            plain
1092   ListName         "List of Figures"
1093   LaTeXBuiltin     true
1094 End
1095
1096 TitleLaTeXName frame{\maketitle}
1097
1098
1099 Preamble
1100   \AtBeginDocument{
1101     \let\origtableofcontents=\tableofcontents
1102     \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1103     \def\gobbletableofcontents#1{\origtableofcontents}
1104   }
1105 EndPreamble
1106