]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/beamer.layout
Update layout format.
[lyx.git] / lib / layouts / beamer.layout
index bf355d0470e7b3de09345831c48610ad9e6c923f..ebbd2860b6cecd395d00d5376f192239e0930cae 100644 (file)
 # $Header: /cvsroot/latex-beamer/latex-beamer/lyx/layouts/beamer.layout,v 1.16 2004/10/07 20:53:07 tantau Exp $
 
 # Includes
-Format 4
+Format 27
 Input stdcounters.inc
+Input stdinsets.inc
+
 
 # General textclass parameters
-Columns                        1
-Sides                  1
-SecNumDepth            2
-TocDepth               2
-DefaultStyle           Standard
-
-# This is just to show how to declare the default font.
-# The defaults are exactly those shown here.
+Columns            1
+Sides              1
+SecNumDepth        2
+TocDepth           2
+DefaultStyle       Standard
+Provides hyperref  1
+Provides geometry  1
+
 DefaultFont
-  Family               Sans
-  Series               Medium
-  Shape                        Up
-  Size                 Normal
-  Color                        None
+  Family           Sans
+  Series           Medium
+  Shape            Up
+  Size             Normal
+  Color            None
 EndFont
 
+
 # Standard style definition
 Style Standard
-  Margin               Static
-  LatexType            Paragraph
-  LatexName            dummy
-  ParIndent            MM
-  ParSkip              0.4
-  Align                Left
-  AlignPossible        Block, Left, Right, Center
-  LabelType            No_Label  
+  Category         MainText
+  Margin           Static
+  LatexType        Paragraph
+  LatexName        dummy
+  ParIndent        MM
+  ParSkip          0.4
+  Align            Left
+  AlignPossible    Block, Left, Right, Center
+  LabelType        No_Label
 End
 
+# List section
 # Itemize style definition
 Style Itemize
-  Margin               Static
-  LatexType            Item_Environment
-  LatexName            itemize
-  NextNoIndent         1
-  LeftMargin           MMN
-  LabelSep             xx
-  ItemSep              0.2
-  TopSep               0.7
-  BottomSep            0.7
-  ParSep               0.3
-  Align                        Left
-  AlignPossible                Left
-  LabelType            Itemize
-  LabelString          "*"
+  Category         List
+  Margin           Static
+  LatexType        Item_Environment
+  LatexName        itemize
+  OptionalArgs     1
+  NextNoIndent     1
+  LeftMargin       MMN
+  LabelSep         xx
+  ItemSep          0.2
+  TopSep           0.7
+  BottomSep        0.7
+  ParSep           0.3
+  Align            Left
+  LabelType        Itemize
+  LabelString      "*"
 End
 
 # Enumerate style definition
 Style Enumerate
-  Margin               Static
-  LatexType            Item_Environment
-  LatexName            enumerate
-  NextNoIndent         1
-  LeftMargin           MMN
-  LabelSep             xx
-  ParSkip              0.0
-  ItemSep              0.2
-  TopSep               0.7
-  BottomSep            0.7
-  ParSep               0.3
-  Align                        Left
-  AlignPossible                Left
-  LabelType            Enumerate
+  Category         List
+  Margin           Static
+  LatexType        Item_Environment
+  LatexName        enumerate
+  OptionalArgs     2
+  NextNoIndent     1
+  LeftMargin       MMN
+  LabelSep         xx
+  ParSkip          0.0
+  ItemSep          0.2
+  TopSep           0.7
+  BottomSep        0.7
+  ParSep           0.3
+  Align            Left
+  LabelType        Enumerate
 End
 
 # Description style definition
 Style Description
-  Margin               First_Dynamic
-  LatexType            Item_environment
-  LatexName            description
-  NextNoIndent         1
-  LeftMargin           MM
-  LabelSep             xxx
-  ParSkip              0.4
-  ItemSep              0.2
-  TopSep               0.7
-  BottomSep            0.7
-  ParSep               0.3
-  Align                        Left
-  AlignPossible                Left
-  LabelType            Manual
-  LabelString          "MM"
+  Category         List
+  Margin           First_Dynamic
+  LatexType        Item_environment
+  LatexName        description
+  OptionalArgs     2
+  NextNoIndent     1
+  LeftMargin       MM
+  LabelSep         xx
+  ParSkip          0.4
+  ItemSep          0.2
+  TopSep           0.7
+  BottomSep        0.7
+  ParSep           0.3
+  Align            Left
+  LabelType        Manual
+  LabelString      "MM"
 
   # label font definition
   LabelFont 
-    Series             Bold
+    Series        Bold
+  EndFont
+End
+
+# Sectioning section
+# Part style definition
+Style Part
+  Category         Section
+  Margin           Dynamic
+  LatexType        Command
+  LatexName        part
+  OptionalArgs     1
+  NeedProtect      1
+  NextNoIndent     1
+  Labelsep         xx
+  ParSkip          0.4
+  TopSep           4
+  BottomSep        4
+  ParSep           0.8
+  Align            Center
+  LabelType        Static
+  LabelString      "Part"
+       RefPrefix        part
+
+  # standard font definition
+  Font 
+    Family         Roman
+    Series         Bold
+    Size           Huge
+  EndFont
+
+  LabelFont
+    Color          Latex
+  EndFont
+       TocLevel 0
+End
+
+# Section style definition
+Style Section
+  Category         Section
+  Margin           First_Dynamic
+  LatexType        Command
+  LatexName        lyxframeend{}\section
+  NeedProtect      1
+  NextNoIndent     1
+  LabelSep         xx
+  ParSkip          0.4
+  TopSep           2
+  BottomSep        0.25
+  ParSep           0.7
+  Align            Left
+  LabelType        Counter
+  LabelCounter     section
+  LabelString      "Section \arabic{section}"
+       RefPrefix        sec
+  OptionalArgs     1
+
+  Font 
+    Family         Roman
+    Series         Bold
+    Size           huge
+  EndFont
+
+  LabelFont 
+    Color          latex
+  EndFont
+  LabelStringAppendix "\Alph{section}"
+  TocLevel         1
+End
+
+# Section* style definition
+Style Section*
+  CopyStyle        Section
+  Category         Unnumbered
+  Margin           Static
+  LatexName        lyxframeend{}\section*
+  LabelType        No_Label
+  OptionalArgs     0
+End
+
+# Subsection style definition
+Style Subsection
+  Category         Section
+  Margin           First_Dynamic
+  LatexType        Command
+  LatexName        lyxframeend{}\subsection
+  NeedProtect      1
+  NextNoIndent     1
+  LabelSep         xx
+  ParSkip          0.4
+  TopSep           2
+  BottomSep        0.25
+  ParSep           0.5
+  Align            Left
+  LabelType        Counter
+  LabelCounter     subsection
+  LabelString      "Subsection \arabic{section}.\arabic{subsection}"
+       RefPrefix        sub
+  OptionalArgs     1
+
+  # standard font definition
+  Font 
+    Family         Roman
+    Series         Bold
+    Size           larger
+  EndFont
+
+  LabelFont 
+    Color          latex
   EndFont
+  LabelStringAppendix "\arabic{section}.\arabic{subsection}"
+  TocLevel 2
+End
+
+# Subsection* style definition
+Style Subsection*
+  CopyStyle        Subsection
+  Category         Unnumbered
+  Margin           Static
+  LatexName        lyxframeend{}\subsection*
+  LabelType        No_Label
+  OptionalArgs     0
 End
 
+# Frame control definition
 Style BeginFrame
-  KeepEmpty    1
-  LatexType    Command
-  LatexName    lyxframeend{}\lyxframe
-  Margin            First_Dynamic
-  NextNoIndent      1
-  ParSkip           0
-  TopSep            2.5
-  BottomSep         0.5
-  ParSep            0
-  Align             Center
-  AlignPossible     Center
-  LabelType         Static
-  LabelBottomSep    0
-  LeftMargin        M
-  LabelString       "Frame   "
+  Category         Frames
+  TocLevel         4
+  KeepEmpty        1
+  LatexType        Command
+  LatexName        lyxframeend{}\lyxframe
+  OptionalArgs     1
+  Margin           First_Dynamic
+  NextNoIndent     1
+  ParSkip          0
+  TopSep           2.5
+  BottomSep        0.5
+  ParSep           0
+  Align            Center
+  LabelType        Static
+  LabelBottomSep   0
+  LeftMargin       M
+  LabelSep         xx
+  LabelString      "Frame"
 
   Font
-    Series          Bold
-    Size            Largest
-    Color           Blue
+    Series         Bold
+    Size           Largest
+    Color          Blue
   EndFont
 
   LabelFont 
-    Family          Roman
-    Color           latex
+    Family         Roman
+    Color          latex
   EndFont
 
   Preamble
@@ -139,9 +271,11 @@ Style BeginFrame
 End
 
 Style BeginPlainFrame
-  KeepEmpty    1
-  LatexType    Command
-  LatexName    lyxframeend{}\lyxplainframe
+  Category          Frames
+  TocLevel          4
+  KeepEmpty         1
+  LatexType         Command
+  LatexName         lyxframeend{}\lyxplainframe
   Margin            First_Dynamic
   NextNoIndent      1
   ParSkip           0
@@ -149,11 +283,11 @@ Style BeginPlainFrame
   BottomSep         0.5
   ParSep            0
   Align             Center
-  AlignPossible     center
   LabelType         Static
   LabelBottomSep    0
   LeftMargin        M
-  LabelString       "Frame (no head/foot/sidebars)  "
+  LabelSep          xx
+  LabelString       "Frame (no head/foot/sidebars)"
 
   Font
     Series          Bold
@@ -176,50 +310,62 @@ Style BeginPlainFrame
   EndPreamble
 End
 
-Style EndFrame
-  KeepEmpty        1
-  LatexType        Command
-  LatexName        lyxframeend
+Style AgainFrame
+  Category          Frames
+  KeepEmpty         0
+  LatexType         Command
+  LatexName         lyxframeend{}\lyxagainframe
+  OptionalArgs      2
   Margin            First_Dynamic
+  NextNoIndent      1
   ParSkip           0
-  TopSep            0
+  TopSep            3
   BottomSep         3
   ParSep            0
   Align             Center
-  AlignPossible     Center
   LabelType         Static
   LabelBottomSep    0
-  LeftMargin        MMMMM
-  LabelString       "________________________________" 
+  LeftMargin        M
+  LabelSep          xx
+  LabelString       "Again frame with label"
+
+  Font
+    Color           latex
+  EndFont
 
   LabelFont 
-    Family          typewriter
-    Series          Medium
-    Size            Normal
+    Family          Roman
     Color           latex
+    Series          Bold
+    Size            Largest
   EndFont
 
   Preamble
-    \def\lyxframeend{} % In case there is a superfluous frame end
+    \makeatletter
+    \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
+    \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
+    \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
+    \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
+      \againframe<#1>[#2]{#3}}
+    \makeatother
   EndPreamble
 End
 
-Style Pause
-  KeepEmpty    1
-  LatexType    Command
-  LatexName    pause
+Style EndFrame
+  Category          Frames
+  KeepEmpty         1
+  LatexType         Command
+  LatexName         lyxframeend
   Margin            First_Dynamic
-  NextNoIndent      1
   ParSkip           0
   TopSep            0
-  BottomSep         0.25
+  BottomSep         3
   ParSep            0
   Align             Center
-  AlignPossible     Center
   LabelType         Static
   LabelBottomSep    0
   LeftMargin        MMMMM
-  LabelString       "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
+  LabelString       "________________________________"
 
   LabelFont 
     Family          typewriter
@@ -227,889 +373,868 @@ Style Pause
     Size            Normal
     Color           latex
   EndFont
-End
 
-Counter
-  Name                 section 
+  Preamble
+    \def\lyxframeend{} % In case there is a superfluous frame end
+  EndPreamble
 End
 
-Counter
-  Name                 subsection
-  Within               section
-End
+# Frame decoration section
+Style FrameSubtitle
+  Category         Frames
+  Margin           Static
+  LatexType        Command
+  LatexName        framesubtitle
+  ParSkip          0.4
+  ItemSep          0
+  TopSep           0
+  BottomSep        1
+  ParSep           1
+  Align            Center
+  LabelType        No_Label
+  OptionalArgs     1
 
-Counter
-  Name                 bibitem
-End
+  # standard font definition
+  Font 
+    Series         Bold
+    Color          Blue
+  EndFont
 
-Counter
-  Name                 figure
-  Name                 lyxframeend{}\section
 End
 
-Counter
-  Name                 table
-End
 
-Counter
-  Name                 enumi
-End
+Style Column
+  Category         Columns
+  Margin           Static
+  LatexType        Command
+  LatexName        column
+  ParSkip          0.5
+  TopSep           1
+  BottomSep        1
+  ParSep           0
+  ParIndent        MM
+  Align            Left
+  LabelType        Static
+  LabelSep         xx
+  LabelString      "Start column (increase depth!), width:"
+  OptionalArgs     1
+  LeftMargin       "Start column (increase depth!), width:xx"
 
-Counter
-  Name                 enumii
-  Within               enumi
+  # standard font definition
+  LabelFont 
+    Family         Roman
+    Color          latex
+  EndFont
 End
 
 
-# Section style definition
-Style Section
-  Margin               First_Dynamic
-  LatexType            Command
-  LatexName            lyxframeend{}\section
-  NeedProtect          1
-  NextNoIndent         1
-  LabelSep             xxx
-  ParSkip              0.4
-  TopSep               2
-  BottomSep            0.25
-  ParSep               0.7
-  Align                        Left
-  AlignPossible                Left
-  LabelType            Counter
-  LabelCounter section
-  LabelString          "Section \arabic{section}"
-  OptionalArgs                         1
+Style Columns
+  Category         Columns
+  KeepEmpty        1
+  Margin           Static
+  LatexType        Environment
+  NextNoIndent     0
+  ParIndent        MM
+  Align            Left
+  LabelType        Static
+  LabelSep         xx
+
+  LatexName        columns}%{
+  LabelString      "Columns"
+  LeftMargin       "Columnsxx"
+
+  ParSkip          0.5
+  TopSep           1
+  BottomSep        1
+  ParSep           0
 
-  Font 
-    Family              Roman
-    Series             Bold
-    Size               huge
-  EndFont
+
+  # font & label font definition
 
   LabelFont 
-    Color           latex
+    Family         Roman
+    Color          latex
   EndFont
-  LabelStringAppendix "\Alph{section}"
-  TocLevel 1
-End
-
-# Section* style definition
-Style Section*
-  CopyStyle            Section
-  Margin               Static
-  LatexName            lyxframeend{}\section*
-  LabelType            No_Label
-  OptionalArgs         0
 End
 
-# Subsection style definition
-Style Subsection
-  Margin               First_Dynamic
-  LatexType            Command
-  LatexName            lyxframeend{}\subsection
-  NeedProtect          1
-  NextNoIndent         1
-  LabelSep             xxx
-  ParSkip              0.4
-  TopSep               2
-  BottomSep            0.25
-  ParSep               0.5
-  Align                        Left
-  AlignPossible                Left
-  LabelType            Counter
-  LabelCounter subsection
-  LabelString          "Subsection \arabic{section}.\arabic{subsection}"
-  OptionalArgs                         1
+Style ColumnsCenterAligned
+  Category         Columns
+  KeepEmpty        1
+  Margin           Static
+  LatexType        Environment
+  NextNoIndent     0
+  ParIndent        MM
+  Align            left
+  LabelType        Static
+  LabelSep         xx
+
+  LatexName        centercolumns}%{
+  LabelString      "Columns (center aligned)"
+  LeftMargin       "Columns (center aligned)xx"
+
+  ParSkip          0.5
+  TopSep           1
+  BottomSep        1
+  ParSep           0
 
-  # standard font definition
-  Font 
-    Family              Roman
-    Series             Bold
-    Size               larger
-  EndFont
+  Preamble
+  \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
+  EndPreamble
+  # font & label font definition
 
   LabelFont 
-    Color           latex
+    Family         Roman
+    Color          latex
   EndFont
-  LabelStringAppendix "\arabic{section}.\arabic{subsection}"
-  TocLevel 2
 End
 
-# Subsection* style definition
-Style Subsection*
-  CopyStyle            Subsection
-  Margin               Static
-  LatexName            lyxframeend{}\subsection*
-  LabelType            No_Label
-  OptionalArgs         0
+Style ColumnsTopAligned
+  Category         Columns
+  KeepEmpty        1
+  Margin           Static
+  LatexType        Environment
+  NextNoIndent     0
+  ParIndent        MM
+  Align            left
+  LabelType        Static
+  LabelSep         xx
+
+  LatexName        topcolumns}%{
+  LabelString      "Columns (top aligned)"
+  LeftMargin       "Columns (top aligned)xx"
+
+  ParSkip          0.5
+  TopSep           1
+  BottomSep        1
+  ParSep           0
+
+  Preamble
+  \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
+  EndPreamble
+  # font & label font definition
+
+  LabelFont 
+    Family         Roman
+    Color          latex
+  EndFont
 End
 
-Style AgainFrame
-  KeepEmpty        0
-  LatexType        Command
-  LatexName        lyxframeend{}\lyxagainframe
+# Frame progression section
+Style Pause
+  Category          Overlays
+  KeepEmpty         1
+  LatexType         Command
+  LatexName         pause
   Margin            First_Dynamic
+  OptionalArgs      1
   NextNoIndent      1
   ParSkip           0
-  TopSep            3
-  BottomSep         3
+  TopSep            0
+  BottomSep         0.25
   ParSep            0
   Align             Center
-  AlignPossible     Center
   LabelType         Static
   LabelBottomSep    0
-  LeftMargin        M
-  LabelString       "Again frame with label   "
-
-  Font
-    Color           latex
-  EndFont
+  LeftMargin        MMMMM
+  LabelString       "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
 
   LabelFont 
-    Family          Roman
+    Family          typewriter
+    Series          Medium
+    Size            Normal
     Color           latex
-    Series          Bold
-    Size            Largest
   EndFont
-
-  Preamble
-    \makeatletter
-    \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
-    \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
-    \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
-    \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
-      \againframe<#1>[#2]{#3}}
-    \makeatother
-  EndPreamble
 End
 
-Style AlertBlock
-  Margin               First_Dynamic
-  LatexType            Environment
-  NextNoIndent         0
-  ParIndent            MM
-  Align                        Left
-  LabelType            Static
-  LabelSep              xx
-
-  LatexName            alertblock
-  LabelString          "block with alerted text" 
-
-  ParSkip           0.5
-  TopSep            1
-  BottomSep         1
-  ParSep            0
+Style Overprint
+  Category         Overlays
+  Margin           First_Dynamic
+  LatexType        Environment
+  NextNoIndent     0
+  ParIndent        MM
+  Align            Left
+  LabelType        Static
+  LabelSep         xx
+
+  LatexName        overprint
+  LabelString      "Overprint"
+
+  ParSkip          0.5
+  TopSep           1
+  BottomSep        1
+  ParSep           0
+  KeepEmpty        1
 
   # font & label font definition
 
-  Font
-    Color               red
-  EndFont
-
   LabelFont 
-    Family              Roman
-    Color               latex
+    Family         Roman
+    Color          latex
   EndFont
 End
 
-# Author style definition
-Style Author
-  Margin               Static
-  LatexType            Command
-  InTitle              1
-  LatexName            author
-  LabelSep             xxx
-  ParSkip              0.4
-  TopSep               1.3
-  BottomSep            0.7
-  ParSep               0.7
-  Align                        Center
-  AlignPossible                Center
-  LabelType            No_Label
-  OptionalArgs                         1
-
-  # standard font definition
-  Font 
-    Size               Largest
-    Color               Blue
-  EndFont
-
-End
+Style OverlayArea
+  Category         Overlays
+  Margin           First_Dynamic
+  LatexType        Environment
+  NextNoIndent     0
+  ParIndent        MM
+  Align            Left
+  LabelType        Static
+  LabelSep         xx
+
+  LatexName        overlayarea
+  LabelString      "Overlayarea"
+
+  ParSkip          0.5
+  TopSep           1
+  BottomSep        1
+  ParSep           0
 
-# Bibliography style definition
-Style Bibliography
-  Margin               First_Dynamic
-  LatexType            Bib_Environment
-  LatexName            thebibliography
-  NextNoIndent         1
-  LeftMargin           MM
-  ParSkip              0.4
-  ItemSep              0
-  TopSep               0.7
-  BottomSep            0.7
-  ParSep               0.5
-  Align                        Left
-  AlignPossible                Left
-  LabelType            Bibliography
-  LabelString          "References"
-  LabelBottomSep    0.7
+  # font & label font definition
 
-  # label font definition
   LabelFont 
-    Series             Bold
-    Size               Larger
+    Family         Roman
+    Color          latex
   EndFont
 End
 
-Style Block
-  Margin               First_Dynamic
-  LatexType            Environment
-  NextNoIndent         0
-  ParIndent            MM
-  Align                        Left
-  LabelType            Static
-  LabelSep              xx
-
-  LatexName            block
-  LabelString          "block" 
-
-  ParSkip           0.5
-  TopSep            1
-  BottomSep         1
-  ParSep            0
+Style Uncover
+  Category         Overlays
+  Margin           First_Dynamic
+  LatexType        Environment
+  NextNoIndent     0
+  ParIndent        MM
+  Align            Left
+  LabelType        Static
+
+  LatexName        uncoverenv}%{
+  LabelSep         xx
+  LabelString      "Uncovered on slides"
+
+  ParSkip          0.5
+  TopSep           1
+  BottomSep        1
+  ParSep           0
 
   # font & label font definition
 
   LabelFont 
-    Family              Roman
-    Color               latex
+    Family         Roman
+    Color          Latex
   EndFont
 End
 
-Style Corollary
-  Margin               First_Dynamic
-  LatexType            Environment
-  NextNoIndent         0
-  ParIndent            MM
-  Align                        Left
-  LabelType            Static
-  LabelSep              xx
-
-  LatexName            corollary}%{
-  LabelString          "Corollary. " 
-
-  ParSkip           0.5
-  TopSep            1
-  BottomSep         1
-  ParSep            0
-  KeepEmpty             1
+Style Only
+  Category         Overlays
+  Margin           First_Dynamic
+  LatexType        Environment
+  NextNoIndent     0
+  ParIndent        MM
+  Align            Left
+  LabelType        Static
+
+  LatexName        onlyenv}%{
+  LabelSep         xx
+  LabelString      "Only on slides"
+
+  ParSkip          0.5
+  TopSep           1
+  BottomSep        1
+  ParSep           0
 
   # font & label font definition
 
-  LabelFont 
-    Series             Bold
-    Color               Blue
-    Size                Large
-  EndFont
-End
-
-Style Column
-  Margin               Static
-  LatexType            Command
-  LatexName            column
-  ParSkip               0.5
-  TopSep                1
-  BottomSep             1
-  ParSep                0
-  Align                        Left
-  LabelType            Static
-  LabelSep              xx
-  LabelString          "start column of width: " 
-  OptionalArgs         1
-  LeftMargin        MMMMMMMMM
-
-  # standard font definition
-  LabelFont 
-    Family             Roman
-    Color               latex
+  LabelFont
+    Family         Roman
+    Color          Latex
   EndFont
 End
 
-
-Style Columns
-
-  KeepEmpty             1
-  Margin               Static
-  LatexType            Environment
-  NextNoIndent         0
-  ParIndent            MM
-  Align                        Left
-  LabelType            Static
-  LabelSep              xx
-
-  LatexName            columns}%{
-  LabelString          "columns" 
-  LeftMargin        columns
-
-  ParSkip           0.5
-  TopSep            1
-  BottomSep         1
-  ParSep            0
-
+# Blocks section
+Style Block
+  Category         Blocks
+  Margin           First_Dynamic
+  LatexType        Environment
+  NextNoIndent     0
+  ParIndent        MM
+  Align            Left
+  LabelType        Static
+  LabelSep         xx
+
+  LatexName        block
+  LabelString      "Block ( ERT[{title}] body ):"
+  
+  ParSkip          0.5
+  TopSep           1
+  BottomSep        1
+  ParSep           0
 
   # font & label font definition
 
-  LabelFont 
-    Family             Roman
-    Color               latex
+  LabelFont
+    Family         Roman
+    Color          latex
   EndFont
 End
 
-Style ColumnsCenterAligned
-  KeepEmpty             1
-  Margin               Static
-  LatexType            Environment
-  NextNoIndent         0
-  ParIndent            MM
-  Align                        left
-  LabelType            Static
-  LabelSep              xx
-
-  LatexName            centercolumns}%{
-  LabelString          "columns (center aligned)" 
-  LeftMargin            "columns (center aligned)"
-
-  ParSkip           0.5
-  TopSep            1
-  BottomSep         1
-  ParSep            0
+Style ExampleBlock
+  Category         Blocks
+  Margin           First_Dynamic
+  LatexType        Environment
+  NextNoIndent     0
+  ParIndent        MM
+  Align            Left
+  LabelType        Static
+  LabelSep         xx
+
+  LatexName        exampleblock
+  LabelString      "Block ( ERT[{title}] example text ):"
+
+  ParSkip          0.5
+  TopSep           1
+  BottomSep        1
+  ParSep           0
 
-  Preamble
-  \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
-  EndPreamble
   # font & label font definition
 
+  Font
+    Color          green
+  EndFont
+
   LabelFont 
-    Family             Roman
-    Color               latex
+    Family         Roman
+    Color          latex
   EndFont
 End
 
-Style ColumnsTopAligned
-  KeepEmpty             1
-  Margin               Static
-  LatexType            Environment
-  NextNoIndent         0
-  ParIndent            MM
-  Align                        left
-  LabelType            Static
-  LabelSep              xx
-
-  LatexName            topcolumns}%{
-  LabelString          "columns (top aligned)" 
-  LeftMargin            "columns (top aligned)"
-
-  ParSkip           0.5
-  TopSep            1
-  BottomSep         1
-  ParSep            0
+Style AlertBlock
+  Category         Blocks
+  Margin           First_Dynamic
+  LatexType        Environment
+  NextNoIndent     0
+  ParIndent        MM
+  Align            Left
+  LabelType        Static
+  LabelSep         xx
+
+  LatexName        alertblock
+  LabelString      "Block ( ERT[{title}] alert text ):"
+
+  ParSkip          0.5
+  TopSep           1
+  BottomSep        1
+  ParSep           0
 
-  Preamble
-  \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
-  EndPreamble
   # font & label font definition
 
+  Font
+    Color          red
+  EndFont
+
   LabelFont 
-    Family             Roman
-    Color               latex
+    Family         Roman
+    Color          latex
   EndFont
 End
 
-
-# Date style definition
-Style Date
-  Margin               Dynamic
-  LatexType            Command
-  InTitle              1
-  LatexName            date
-  LabelSep             xxx
-  ParSkip              0.4
-  TopSep               0.9
-  BottomSep            0.5
-  ParSep               1
-  Align                        Center
-  AlignPossible                Center
-  LabelType            No_Label
-  OptionalArgs                         1
+# Title slide data section
+# Title style definition
+Style Title
+  Category         Titling
+  Margin           Static
+  LatexType        Command
+  InTitle          1
+  LatexName        title
+  ParSkip          0.4
+  ItemSep          0
+  TopSep           0
+  BottomSep        1
+  ParSep           1
+  Align            Center
+  LabelType        No_Label
+  OptionalArgs     1
 
   # standard font definition
   Font 
-    Size               Largest
-    Color               Blue
+    Size           Huge
+    Series         Bold
+    Color          Blue
   EndFont
-End
-
-Style Definition
-  CopyStyle            Corollary
-  LatexName            definition}%{
-  LabelString          "Definition. " 
-End
 
-Style Definitions
-  CopyStyle            Corollary
-  LatexName            definitions}%{
-  LabelString          "Definitions. " 
 End
 
-Style Example
-  CopyStyle            Corollary
-  LatexName            example}%{
-  LabelString          "Example. " 
-
-  LabelFont 
-    Series             Bold
-    Color               Green
-  EndFont
-End
-
-Style Examples
-  CopyStyle            Corollary
-  LatexName            examples}%{
-  LabelString          "Examples. " 
+Style Title_(Plain_Frame)
+  CopyStyle        Title
+  Preamble
+     % plain title style, override default
+     \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
+  EndPreamble
 End
 
-Style ExampleBlock
-  Margin               First_Dynamic
-  LatexType            Environment
-  NextNoIndent         0
-  ParIndent            MM
-  Align                        Left
-  LabelType            Static
-  LabelSep              xx
-
-  LatexName            exampleblock
-  LabelString          "block showing an example" 
-
-  ParSkip           0.5
-  TopSep            1
-  BottomSep         1
-  ParSep            0
-
-  # font & label font definition
-
-  Font
-    Color               green
-  EndFont
+Style Subtitle
+  Category         Titling
+  Margin           Static
+  LatexType        Command
+  InTitle          1
+  LatexName        subtitle
+  ParSkip          0.4
+  ItemSep          0
+  TopSep           0
+  BottomSep        1
+  ParSep           1
+  Align            Center
+  LabelType        No_Label
+  OptionalArgs     1
 
-  LabelFont 
-    Family              Roman
-    Color               latex
+  # standard font definition
+  Font 
+    Size           Large
+    Series         Bold
+    Color          Blue
   EndFont
-End
 
-Style Fact
-  CopyStyle            Corollary
-  LatexName            fact}%{
-  LabelString          "Fact. " 
 End
 
-Style FrameSubtitle
-  Margin               Static
-  LatexType            Command
-  LatexName            framesubtitle
-  ParSkip              0.4
-  ItemSep              0
-  TopSep               0
-  BottomSep            1
-  ParSep               1
-  Align                        Center
-  AlignPossible                Center
-  LabelType            No_Label
-  OptionalArgs                         1
+# Author style definition
+Style Author
+  Category         Titling
+  Margin           Static
+  LatexType        Command
+  InTitle          1
+  LatexName        author
+  ParSkip          0.4
+  TopSep           1.3
+  BottomSep        0.7
+  ParSep           0.7
+  Align            Center
+  LabelType        No_Label
+  OptionalArgs     1
 
   # standard font definition
   Font 
-    Series             Bold
-    Color               Blue
+    Size           Largest
+    Color          Blue
   EndFont
 
 End
 
-# Date style definition
 Style Institute
-  Margin               Dynamic
-  LatexType            Command
-  InTitle              1
-  LatexName            institute
-  LabelSep             xxx
-  ParSkip              0.4
-  TopSep               0.9
-  BottomSep            0.5
-  ParSep               1
-  Align                        Center
-  AlignPossible                Center
-  LabelType            No_Label
-  OptionalArgs                         1
+  Category         Titling
+  Margin           Dynamic
+  LatexType        Command
+  InTitle          1
+  LatexName        institute
+  ParSkip          0.4
+  TopSep           0.9
+  BottomSep        0.5
+  ParSep           1
+  Align            Center
+  LabelType        No_Label
+  OptionalArgs     1
 
   # standard font definition
   Font 
-    Size               Large
-    Color               Blue
+    Size           Large
+    Color          Blue
   EndFont
 End
 
-Style LyX-Code
-  Margin               Static
-  LatexType            Environment
-  LatexName            lyxcode
-  NextNoIndent         1
-  LeftMargin           MMM
-  RightMargin          MMM
-  TopSep               0.5
-  BottomSep            0.5
-  Align                        Left
-  AlignPossible                Block, Left, Right, Center
-  LabelType            No_Label
-  FreeSpacing          1
+InsetLayout InstituteMark
+  LyxType          custom
+  LatexType        command
+  LatexName        inst
+  LabelString      "Institute mark"
+  Font
+    Color          foreground
+    Size           Small
+    Family         Roman
+    Shape          Up
+    Series         Medium
+    Misc           No_Emph
+    Misc           No_Noun
+    Misc           No_Bar
+  EndFont
+  LabelFont
+    Color          blue
+    Size           Small
+  EndFont
+End
 
-  # define the environment lyxcode
-  Preamble
-  \newenvironment{lyxcode}
-    {\begin{list}{}{
-      \setlength{\rightmargin}{\leftmargin}
-      \setlength{\listparindent}{0pt}% needed for AMS classes
-      \raggedright
-      \setlength{\itemsep}{0pt}
-      \setlength{\parsep}{0pt}
-      \normalfont\ttfamily}%
-     \def\{{\char`\{}
-     \def\}{\char`\}}
-     \def\textasciitilde{\char`\~}
-     \item[]}
-    {\end{list}}
-  EndPreamble
+# Date style definition
+Style Date
+  Category         Titling
+  Margin           Dynamic
+  LatexType        Command
+  InTitle          1
+  LatexName        date
+  ParSkip          0.4
+  TopSep           0.9
+  BottomSep        0.5
+  ParSep           1
+  Align            Center
+  LabelType        No_Label
+  OptionalArgs     1
 
   # standard font definition
   Font 
-    Family             Typewriter
+    Size           Largest
+    Color          Blue
   EndFont
 End
 
-Style NoteItem
-  Margin               Static
-  LatexType            Command
-  LatexName            note[item]
-  ParSkip               0.5
-  TopSep                1
-  BottomSep             1
-  ParSep                0
-  Align                        Left
-  LabelType            Static
-  LabelSep              xx
-  LabelString          "note: " 
-  OptionalArgs         1
-  LeftMargin        MMM
+# Titles & bibliography section
+# Bibliography style definition
+Style Bibliography
+  Category         BackMatter
+  Margin           First_Dynamic
+  LatexType        Bib_Environment
+  LatexName        thebibliography
+  NextNoIndent     1
+  LeftMargin       MM
+  ParSkip          0.4
+  ItemSep          0
+  TopSep           0.7
+  BottomSep        0.7
+  ParSep           0.5
+  Align            Left
+  LabelType        Bibliography
+  LabelString      "References"
+  LabelBottomSep   0.7
 
-  # standard font definition
+  # label font definition
   LabelFont 
-    Family             Roman
-    Color               latex
+    Series         Bold
+    Size           Larger
   EndFont
 End
 
+Style Quotation
+  Category         MainText
+  Margin           Static
+  LatexType        Environment
+  LatexName        quotation}%{
+  NextNoIndent     1
+  LeftMargin       MMM
+  RightMargin      MMM
+  ParIndent        MM
+  ParSkip          0
+  ItemSep          0
+  TopSep           0.5
+  BottomSep        0.5
+  ParSep           0
+  Align            Block
+  AlignPossible    Block, Left, Right, Center
+End
 
-Style Only
-  Margin               First_Dynamic
-  LatexType            Environment
-  NextNoIndent         0
-  ParIndent            MM
-  Align                        Left
-  LabelType            Static
-
-  LatexName            onlyenv}%{
-  LabelString          "only on slides " 
-
-  ParSkip           0.5
-  TopSep            1
-  BottomSep         1
-  ParSep            0
 
-  # font & label font definition
+Style Quote
+  Category         MainText
+  Margin           Static
+  LatexType        Environment
+  LatexName        quote}%{
+  NextNoIndent     1
+  LeftMargin       MMM
+  RightMargin      MMM
+  TopSep           0.5
+  ParSep           0.5
+  BottomSep        0.5
+  Align            Block
+  AlignPossible    Block, Left, Right, Center
+  LabelType        No_Label
+End
 
-  LabelFont 
-    Family             Roman           
-    Color               Latex
-  EndFont
+
+Style Verse
+  # LaTeX type is first dynamic because of LaTeX implementation.
+  # In LyX this does not make sense.
+  Category         MainText
+  LatexType        Environment
+  LatexName        verse}%{
+  Margin           First_Dynamic
+  NextNoIndent     1
+  LeftMargin       MMMM
+  LabelIndent      MMMM
+  ParSkip          0.4
+  TopSep           0.7
+  BottomSep        0.7
+  ParSep           0.5
+  Align            Block
+  AlignPossible    Block, Left
+  LabelType        No_Label
 End
 
-Style Overprint
-  Margin               First_Dynamic
-  LatexType            Environment
-  NextNoIndent         0
-  ParIndent            MM
-  Align                        Left
-  LabelType            Static
-  LabelSep              xx
-
-  LatexName            overprint
-  LabelString          "overprint" 
-
-  ParSkip           0.5
-  TopSep            1
-  BottomSep         1
-  ParSep            0
-  KeepEmpty            1
 
-  # font & label font definition
+Style TitleGraphic
+  Category         Titling
+  Margin           Static
+  LatexType        Command
+  InTitle          1
+  LatexName        titlegraphic
+  ParSkip          0.4
+  ItemSep          0
+  TopSep           0
+  BottomSep        1
+  ParSep           1
+  Align            Center
+  LabelType        No_Label
 
-  LabelFont 
-    Family              Roman
-    Color               latex
+  # standard font definition
+  Font 
+    Size           Huge
+    Series         Bold
+    Color          Blue
   EndFont
 End
 
-Style OverlayArea
-  Margin               First_Dynamic
-  LatexType            Environment
-  NextNoIndent         0
-  ParIndent            MM
-  Align                        Left
-  LabelType            Static
-  LabelSep              xx
-
-  LatexName            overlayarea
-  LabelString          "overlayarea" 
-
-  ParSkip           0.5
-  TopSep            1
-  BottomSep         1
-  ParSep            0
 
-  # font & label font definition
+# Theorems and such section
+Style Corollary
+   Category        Theorems
+   Margin          First_Dynamic
+   LatexType       Environment
+   NextNoIndent    0
+   ParIndent       MM
+   Align           Left
+   LabelType       Static
+   LabelSep        xx
+
+   LatexName       corollary}%{
+   LabelString     "Corollary."
+   ParSkip         0.5
+   TopSep          1
+   BottomSep       1
+   ParSep          0
+   KeepEmpty       1
+   # font & label font definition
+   LabelFont
+     Series        Bold
+     Color         Blue
+     Size          Large
+   EndFont
+End
 
-  LabelFont 
-    Family              Roman
-    Color               latex
-  EndFont
+Style Definition
+  CopyStyle        Corollary
+  LatexName        definition}%{
+  LabelString      "Definition."
 End
 
-# Part style definition
-Style Part
-  Margin               Dynamic
-  LatexType            Command
-  LatexName            part
-  NeedProtect          1
-  NextNoIndent          1
-  Labelsep             xxx
-  ParSkip               0.4
-  TopSep                4
-  BottomSep             4
-  ParSep                0.8
-  Align                        Center         
-  Alignpossible         Center
-  LabelType             Static
-  LabelString          "Part "
+Style Definitions
+  CopyStyle        Corollary
+  LatexName        definitions}%{
+  LabelString      "Definitions."
+End
 
-  # standard font definition
-  Font 
-    Family              Roman
-    Series              Bold
-    Size                Huge
-  EndFont
+Style Example
+  CopyStyle        Corollary
+  LatexName        example}%{
+  LabelString      "Example."
 
   LabelFont
-    Color               Latex
+    Series         Bold
+    Color          Green
   EndFont
 End
-  
+
+Style Examples
+  CopyStyle        Corollary
+  LatexName        examples}%{
+  LabelString      "Examples."
+End
+
+
+Style Fact
+  CopyStyle        Corollary
+  LatexName        fact}%{
+  LabelString      "Fact."
+End
+
 Style Proof
-  CopyStyle            Corollary
-  LatexName            proof}%{
-  LabelString          "Proof. " 
+  CopyStyle        Corollary
+  LatexName        proof}%{
+  LabelString      "Proof."
+End
+
+Style Theorem
+  CopyStyle        Corollary
+  LatexName        theorem}%{
+  LabelString      "Theorem."
 End
 
+# Misc. section
 # Separator style definition
 Style Separator
-  LatexType            Paragraph
-  LatexName            dummy
-  ParIndent            MM
-  ParSkip              0.4
-  Align                Left
-  AlignPossible        Block, Left, Right, Center
-  Margin                First_Dynamic
-  TopSep                0
-  BottomSep             0
-  ParSep                0
-  LabelType             Static
-  LabelBottomSep        0
-  LabelString           "___"
-  KeepEmpty             1
+  Category         MainText
+  LatexType        Paragraph
+  LatexName        dummy
+  ParIndent        MM
+  ParSkip          0.4
+  Align            Left
+  AlignPossible    Block, Left, Right, Center
+  Margin           First_Dynamic
+  TopSep           0
+  BottomSep        0
+  ParSep           0
+  LabelType        Static
+  LabelBottomSep   0
+  LabelString      "___"
+  KeepEmpty        1
 
   LabelFont 
-    Series          Medium
-    Size            Normal
-    Color           latex
+    Series         Medium
+    Size           Normal
+    Color          latex
   EndFont
 End
+Style LyX-Code
+  Category              MainText
+  Margin           Static
+  LatexType        Environment
+  LatexName        lyxcode
+  NextNoIndent     1
+  LeftMargin       MMM
+  RightMargin      MMM
+  TopSep           0.5
+  BottomSep        0.5
+  Align            Left
+  AlignPossible    Block, Left, Right, Center
+  LabelType        No_Label
+  FreeSpacing      1
 
-# Title style definition
-Style Title
-  Margin               Static
-  LatexType            Command
-  InTitle              1
-  LatexName            title
-  ParSkip              0.4
-  ItemSep              0
-  TopSep               0
-  BottomSep            1
-  ParSep               1
-  Align                        Center
-  AlignPossible                Center
-  LabelType            No_Label
-  OptionalArgs                         1
+  # define the environment lyxcode
+  Preamble
+  \newenvironment{lyxcode}
+    {\par\begin{list}{}{
+      \setlength{\rightmargin}{\leftmargin}
+      \setlength{\listparindent}{0pt}% needed for AMS classes
+      \raggedright
+      \setlength{\itemsep}{0pt}
+      \setlength{\parsep}{0pt}
+      \normalfont\ttfamily}%
+     \def\{{\char`\{}
+     \def\}{\char`\}}
+     \def\textasciitilde{\char`\~}
+     \item[]}
+    {\end{list}}
+  EndPreamble
 
   # standard font definition
   Font 
-    Size               Huge
-    Series             Bold
-    Color               Blue
+    Family         Typewriter
   EndFont
-
 End
-
-Style TitleGraphic
-  Margin               Static
-  LatexType            Command
-  InTitle              1
-  LatexName            titlegraphic
-  ParSkip              0.4
-  ItemSep              0
-  TopSep               0
-  BottomSep            1
-  ParSep               1
-  Align                        Center
-  AlignPossible                Center
-  LabelType            No_Label
-
+Style NoteItem
+  Category         MainText
+  Margin           Static
+  LatexType        Command
+  LatexName        note[item]
+  ParSkip          0.5
+  TopSep           1
+  BottomSep        1
+  ParSep           0
+  Align            Left
+  LabelType        Static
+  LabelSep         xx
+  LabelString      "Note:"
+  OptionalArgs     1
+  LeftMargin       "Note:xx"
   # standard font definition
-  Font 
-    Size               Huge
-    Series             Bold
-    Color               Blue
+  LabelFont 
+    Family         Roman
+    Color          latex
   EndFont
-
 End
 
-Style Theorem
-  CopyStyle            Corollary
-  LatexName            theorem}%{
-  LabelString          "Theorem. " 
-End
+# Input lyxmacros.inc
 
-Style Subtitle
-  Margin               Static
-  LatexType            Command
-  InTitle              1
-  LatexName            subtitle
-  ParSkip              0.4
-  ItemSep              0
-  TopSep               0
-  BottomSep            1
-  ParSep               1
-  Align                        Center
-  AlignPossible                Center
-  LabelType            No_Label
-  OptionalArgs                         1
+# Charstyles:
 
-  # standard font definition
-  Font 
-    Size               Large
-    Series             Bold
-    Color               Blue
+InsetLayout CharStyle:Alert
+  LyXType charstyle
+  LabelString Alert
+  LatexType        command
+  LatexName        alert
+  Font
+    Color          red
   EndFont
-
 End
 
 
-Style Uncover
-  Margin               First_Dynamic
-  LatexType            Environment
-  NextNoIndent         0
-  ParIndent            MM
-  Align                        Left
-  LabelType            Static
-
-  LatexName            uncoverenv}%{
-  LabelString          "uncovered on slides " 
-
-  ParSkip           0.5
-  TopSep            1
-  BottomSep         1
-  ParSep            0
-
-  # font & label font definition
-
-  LabelFont 
-    Family             Roman           
-    Color               Latex
+InsetLayout CharStyle:Structure
+  LyXType charstyle
+  LabelString Structure
+  LatexType        command
+  LatexName        structure
+  Font
+    Color          blue
   EndFont
 End
 
-# Input lyxmacros.inc
-
-# Charstyles:
 
-CharStyle Alert
-        LatexType             Command
-        LatexName             alert
-        Font
-          Color               red
-        EndFont
+InsetLayout Custom:ArticleMode
+   LyXType     custom
+   LatexName   mode<article>
+   LatexType   command
+   Decoration   classic
+   LabelString Article
+   MultiPar     true
 End
 
 
-CharStyle Structure
-        LatexType             Command
-        LatexName             structure
-        Font
-          Color               blue 
-        EndFont
+InsetLayout Custom:PresentationMode
+   LyXType     custom
+   LatexName   mode<presentation>
+   LatexType   command
+   Decoration   classic
+   LabelString Presentation
+   MultiPar     true
 End
 
 
 Float
-  Type                  table
-  GuiName              Table
-  Placement             tbp
-  Extension             lot
-  NumberWithin          none
-  Style                 plain
-  ListName              "List of Tables"
-  LaTeXBuiltin          true
+  Type             table
+  GuiName          Table
+  Placement        tbp
+  Extension        lot
+  NumberWithin     none
+  Style            plain
+  ListName         "List of Tables"
+  NeedsFloatPkg    false
+       ListCommand      listoftables
 End
-  
+
+
 Float
-  Type                  figure
-  GuiName               Figure
-  Placement             tbp
-  Extension             lof
-  NumberWithin          none
-  Style                 plain
-  ListName              "List of Figures"
-  LaTeXBuiltin          true
+  Type             figure
+  GuiName          Figure
+  Placement        tbp
+  Extension        lof
+  NumberWithin     none
+  Style            plain
+  ListName         "List of Figures"
+  NeedsFloatPkg    false
+       ListCommand      listoffigures
 End
 
-TitleLaTeXName frame{\maketitle}
-
-SecNumDepth            2
-TocDepth               2
 
+# to give users the choice of a title frame with and without
+# head-/footline, we define our own maketitle command
+TitleLaTeXName makebeamertitle
 
 Preamble
+  % this default might be overridden by plain title style
+  \newcommand\makebeamertitle{\frame{\maketitle}}%
   \AtBeginDocument{
     \let\origtableofcontents=\tableofcontents
     \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
     \def\gobbletableofcontents#1{\origtableofcontents}
   }
 EndPreamble
-