]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/beamer.layout
Update layout format.
[lyx.git] / lib / layouts / beamer.layout
index 127b0747aa0749ff573f53832ace6e04020d39ad..ebbd2860b6cecd395d00d5376f192239e0930cae 100644 (file)
@@ -5,18 +5,10 @@
 # $Header: /cvsroot/latex-beamer/latex-beamer/lyx/layouts/beamer.layout,v 1.16 2004/10/07 20:53:07 tantau Exp $
 
 # Includes
-Format 6
+Format 27
 Input stdcounters.inc
 Input stdinsets.inc
 
-# local counters
-
-# Is this needed? Could probably go -- MV 16/05/2007
-Counter
-  Name                 figure
-  Name                 lyxframeend{}\section
-End
-
 
 # General textclass parameters
 Columns            1
@@ -24,6 +16,8 @@ Sides              1
 SecNumDepth        2
 TocDepth           2
 DefaultStyle       Standard
+Provides hyperref  1
+Provides geometry  1
 
 DefaultFont
   Family           Sans
@@ -36,6 +30,7 @@ EndFont
 
 # Standard style definition
 Style Standard
+  Category         MainText
   Margin           Static
   LatexType        Paragraph
   LatexName        dummy
@@ -49,6 +44,7 @@ End
 # List section
 # Itemize style definition
 Style Itemize
+  Category         List
   Margin           Static
   LatexType        Item_Environment
   LatexName        itemize
@@ -67,6 +63,7 @@ End
 
 # Enumerate style definition
 Style Enumerate
+  Category         List
   Margin           Static
   LatexType        Item_Environment
   LatexName        enumerate
@@ -85,6 +82,7 @@ End
 
 # Description style definition
 Style Description
+  Category         List
   Margin           First_Dynamic
   LatexType        Item_environment
   LatexName        description
@@ -110,6 +108,7 @@ End
 # Sectioning section
 # Part style definition
 Style Part
+  Category         Section
   Margin           Dynamic
   LatexType        Command
   LatexName        part
@@ -124,6 +123,7 @@ Style Part
   Align            Center
   LabelType        Static
   LabelString      "Part"
+       RefPrefix        part
 
   # standard font definition
   Font 
@@ -135,10 +135,12 @@ Style Part
   LabelFont
     Color          Latex
   EndFont
+       TocLevel 0
 End
 
 # Section style definition
 Style Section
+  Category         Section
   Margin           First_Dynamic
   LatexType        Command
   LatexName        lyxframeend{}\section
@@ -153,6 +155,7 @@ Style Section
   LabelType        Counter
   LabelCounter     section
   LabelString      "Section \arabic{section}"
+       RefPrefix        sec
   OptionalArgs     1
 
   Font 
@@ -171,6 +174,7 @@ End
 # Section* style definition
 Style Section*
   CopyStyle        Section
+  Category         Unnumbered
   Margin           Static
   LatexName        lyxframeend{}\section*
   LabelType        No_Label
@@ -179,6 +183,7 @@ End
 
 # Subsection style definition
 Style Subsection
+  Category         Section
   Margin           First_Dynamic
   LatexType        Command
   LatexName        lyxframeend{}\subsection
@@ -193,6 +198,7 @@ Style Subsection
   LabelType        Counter
   LabelCounter     subsection
   LabelString      "Subsection \arabic{section}.\arabic{subsection}"
+       RefPrefix        sub
   OptionalArgs     1
 
   # standard font definition
@@ -212,6 +218,7 @@ End
 # Subsection* style definition
 Style Subsection*
   CopyStyle        Subsection
+  Category         Unnumbered
   Margin           Static
   LatexName        lyxframeend{}\subsection*
   LabelType        No_Label
@@ -220,6 +227,7 @@ End
 
 # Frame control definition
 Style BeginFrame
+  Category         Frames
   TocLevel         4
   KeepEmpty        1
   LatexType        Command
@@ -263,6 +271,7 @@ Style BeginFrame
 End
 
 Style BeginPlainFrame
+  Category          Frames
   TocLevel          4
   KeepEmpty         1
   LatexType         Command
@@ -302,6 +311,7 @@ Style BeginPlainFrame
 End
 
 Style AgainFrame
+  Category          Frames
   KeepEmpty         0
   LatexType         Command
   LatexName         lyxframeend{}\lyxagainframe
@@ -342,6 +352,7 @@ Style AgainFrame
 End
 
 Style EndFrame
+  Category          Frames
   KeepEmpty         1
   LatexType         Command
   LatexName         lyxframeend
@@ -370,6 +381,7 @@ End
 
 # Frame decoration section
 Style FrameSubtitle
+  Category         Frames
   Margin           Static
   LatexType        Command
   LatexName        framesubtitle
@@ -392,6 +404,7 @@ End
 
 
 Style Column
+  Category         Columns
   Margin           Static
   LatexType        Command
   LatexName        column
@@ -416,6 +429,7 @@ End
 
 
 Style Columns
+  Category         Columns
   KeepEmpty        1
   Margin           Static
   LatexType        Environment
@@ -444,6 +458,7 @@ Style Columns
 End
 
 Style ColumnsCenterAligned
+  Category         Columns
   KeepEmpty        1
   Margin           Static
   LatexType        Environment
@@ -474,6 +489,7 @@ Style ColumnsCenterAligned
 End
 
 Style ColumnsTopAligned
+  Category         Columns
   KeepEmpty        1
   Margin           Static
   LatexType        Environment
@@ -505,6 +521,7 @@ End
 
 # Frame progression section
 Style Pause
+  Category          Overlays
   KeepEmpty         1
   LatexType         Command
   LatexName         pause
@@ -530,6 +547,7 @@ Style Pause
 End
 
 Style Overprint
+  Category         Overlays
   Margin           First_Dynamic
   LatexType        Environment
   NextNoIndent     0
@@ -556,6 +574,7 @@ Style Overprint
 End
 
 Style OverlayArea
+  Category         Overlays
   Margin           First_Dynamic
   LatexType        Environment
   NextNoIndent     0
@@ -581,6 +600,7 @@ Style OverlayArea
 End
 
 Style Uncover
+  Category         Overlays
   Margin           First_Dynamic
   LatexType        Environment
   NextNoIndent     0
@@ -606,6 +626,7 @@ Style Uncover
 End
 
 Style Only
+  Category         Overlays
   Margin           First_Dynamic
   LatexType        Environment
   NextNoIndent     0
@@ -632,6 +653,7 @@ End
 
 # Blocks section
 Style Block
+  Category         Blocks
   Margin           First_Dynamic
   LatexType        Environment
   NextNoIndent     0
@@ -642,7 +664,7 @@ Style Block
 
   LatexName        block
   LabelString      "Block ( ERT[{title}] body ):"
-
+  
   ParSkip          0.5
   TopSep           1
   BottomSep        1
@@ -657,6 +679,7 @@ Style Block
 End
 
 Style ExampleBlock
+  Category         Blocks
   Margin           First_Dynamic
   LatexType        Environment
   NextNoIndent     0
@@ -686,6 +709,7 @@ Style ExampleBlock
 End
 
 Style AlertBlock
+  Category         Blocks
   Margin           First_Dynamic
   LatexType        Environment
   NextNoIndent     0
@@ -717,6 +741,7 @@ End
 # Title slide data section
 # Title style definition
 Style Title
+  Category         Titling
   Margin           Static
   LatexType        Command
   InTitle          1
@@ -748,6 +773,7 @@ Style Title_(Plain_Frame)
 End
 
 Style Subtitle
+  Category         Titling
   Margin           Static
   LatexType        Command
   InTitle          1
@@ -772,6 +798,7 @@ End
 
 # Author style definition
 Style Author
+  Category         Titling
   Margin           Static
   LatexType        Command
   InTitle          1
@@ -793,6 +820,7 @@ Style Author
 End
 
 Style Institute
+  Category         Titling
   Margin           Dynamic
   LatexType        Command
   InTitle          1
@@ -812,8 +840,30 @@ Style Institute
   EndFont
 End
 
+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
+
 # Date style definition
 Style Date
+  Category         Titling
   Margin           Dynamic
   LatexType        Command
   InTitle          1
@@ -836,6 +886,7 @@ End
 # Titles & bibliography section
 # Bibliography style definition
 Style Bibliography
+  Category         BackMatter
   Margin           First_Dynamic
   LatexType        Bib_Environment
   LatexName        thebibliography
@@ -858,7 +909,64 @@ Style Bibliography
   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 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
+
+
+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 TitleGraphic
+  Category         Titling
   Margin           Static
   LatexType        Command
   InTitle          1
@@ -877,12 +985,12 @@ Style TitleGraphic
     Series         Bold
     Color          Blue
   EndFont
-
 End
 
 
 # Theorems and such section
 Style Corollary
+   Category        Theorems
    Margin          First_Dynamic
    LatexType       Environment
    NextNoIndent    0
@@ -960,6 +1068,7 @@ End
 # Misc. section
 # Separator style definition
 Style Separator
+  Category         MainText
   LatexType        Paragraph
   LatexName        dummy
   ParIndent        MM
@@ -983,6 +1092,7 @@ Style Separator
 End
  
 Style LyX-Code
+  Category              MainText
   Margin           Static
   LatexType        Environment
   LatexName        lyxcode
@@ -999,7 +1109,7 @@ Style LyX-Code
   # define the environment lyxcode
   Preamble
   \newenvironment{lyxcode}
-    {\begin{list}{}{
+    {\par\begin{list}{}{
       \setlength{\rightmargin}{\leftmargin}
       \setlength{\listparindent}{0pt}% needed for AMS classes
       \raggedright
@@ -1020,6 +1130,7 @@ Style LyX-Code
 End
  
 Style NoteItem
+  Category         MainText
   Margin           Static
   LatexType        Command
   LatexName        note[item]
@@ -1047,9 +1158,9 @@ End
 # Charstyles:
 
 InsetLayout CharStyle:Alert
-       LyXType charstyle
-       LabelString Alert
-  LatexType        Command
+  LyXType charstyle
+  LabelString Alert
+  LatexType        command
   LatexName        alert
   Font
     Color          red
@@ -1058,9 +1169,9 @@ End
 
 
 InsetLayout CharStyle:Structure
-       LyXType charstyle
-       LabelString Structure
-  LatexType        Command
+  LyXType charstyle
+  LabelString Structure
+  LatexType        command
   LatexName        structure
   Font
     Color          blue
@@ -1068,6 +1179,26 @@ InsetLayout CharStyle:Structure
 End
 
 
+InsetLayout Custom:ArticleMode
+   LyXType     custom
+   LatexName   mode<article>
+   LatexType   command
+   Decoration   classic
+   LabelString Article
+   MultiPar     true
+End
+
+
+InsetLayout Custom:PresentationMode
+   LyXType     custom
+   LatexName   mode<presentation>
+   LatexType   command
+   Decoration   classic
+   LabelString Presentation
+   MultiPar     true
+End
+
+
 Float
   Type             table
   GuiName          Table
@@ -1076,9 +1207,11 @@ Float
   NumberWithin     none
   Style            plain
   ListName         "List of Tables"
-  LaTeXBuiltin     true
+  NeedsFloatPkg    false
+       ListCommand      listoftables
 End
-  
+
+
 Float
   Type             figure
   GuiName          Figure
@@ -1087,9 +1220,11 @@ Float
   NumberWithin     none
   Style            plain
   ListName         "List of Figures"
-  LaTeXBuiltin     true
+  NeedsFloatPkg    false
+       ListCommand      listoffigures
 End
 
+
 # to give users the choice of a title frame with and without
 # head-/footline, we define our own maketitle command
 TitleLaTeXName makebeamertitle
@@ -1103,4 +1238,3 @@ Preamble
     \def\gobbletableofcontents#1{\origtableofcontents}
   }
 EndPreamble
-