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