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