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