]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/beamer.layout
Allow literate documents other than noweb to work out of the box. Currently
[lyx.git] / lib / layouts / beamer.layout
index a91749729a17cf17dbef463b0fc8aa77ed25e694..7e0b984449c32687ab1cf9473b3c08b8c2bf30d4 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 7
+Format 11
 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
@@ -25,6 +17,7 @@ SecNumDepth        2
 TocDepth           2
 DefaultStyle       Standard
 Provides hyperref  1
+Provides geometry  1
 
 DefaultFont
   Family           Sans
@@ -37,6 +30,7 @@ EndFont
 
 # Standard style definition
 Style Standard
+  Category         MainText
   Margin           Static
   LatexType        Paragraph
   LatexName        dummy
@@ -50,6 +44,7 @@ End
 # List section
 # Itemize style definition
 Style Itemize
+  Category         List
   Margin           Static
   LatexType        Item_Environment
   LatexName        itemize
@@ -68,6 +63,7 @@ End
 
 # Enumerate style definition
 Style Enumerate
+  Category         List
   Margin           Static
   LatexType        Item_Environment
   LatexName        enumerate
@@ -86,6 +82,7 @@ End
 
 # Description style definition
 Style Description
+  Category         List
   Margin           First_Dynamic
   LatexType        Item_environment
   LatexName        description
@@ -111,6 +108,7 @@ End
 # Sectioning section
 # Part style definition
 Style Part
+  Category         Section
   Margin           Dynamic
   LatexType        Command
   LatexName        part
@@ -140,6 +138,7 @@ End
 
 # Section style definition
 Style Section
+  Category         Section
   Margin           First_Dynamic
   LatexType        Command
   LatexName        lyxframeend{}\section
@@ -172,6 +171,7 @@ End
 # Section* style definition
 Style Section*
   CopyStyle        Section
+  Category         Unnumbered
   Margin           Static
   LatexName        lyxframeend{}\section*
   LabelType        No_Label
@@ -180,6 +180,7 @@ End
 
 # Subsection style definition
 Style Subsection
+  Category         Section
   Margin           First_Dynamic
   LatexType        Command
   LatexName        lyxframeend{}\subsection
@@ -213,6 +214,7 @@ End
 # Subsection* style definition
 Style Subsection*
   CopyStyle        Subsection
+  Category         Unnumbered
   Margin           Static
   LatexName        lyxframeend{}\subsection*
   LabelType        No_Label
@@ -221,6 +223,7 @@ End
 
 # Frame control definition
 Style BeginFrame
+  Category         Frames
   TocLevel         4
   KeepEmpty        1
   LatexType        Command
@@ -264,6 +267,7 @@ Style BeginFrame
 End
 
 Style BeginPlainFrame
+  Category          Frames
   TocLevel          4
   KeepEmpty         1
   LatexType         Command
@@ -303,6 +307,7 @@ Style BeginPlainFrame
 End
 
 Style AgainFrame
+  Category          Frames
   KeepEmpty         0
   LatexType         Command
   LatexName         lyxframeend{}\lyxagainframe
@@ -343,6 +348,7 @@ Style AgainFrame
 End
 
 Style EndFrame
+  Category          Frames
   KeepEmpty         1
   LatexType         Command
   LatexName         lyxframeend
@@ -371,6 +377,7 @@ End
 
 # Frame decoration section
 Style FrameSubtitle
+  Category         Frames
   Margin           Static
   LatexType        Command
   LatexName        framesubtitle
@@ -393,6 +400,7 @@ End
 
 
 Style Column
+  Category         Columns
   Margin           Static
   LatexType        Command
   LatexName        column
@@ -417,6 +425,7 @@ End
 
 
 Style Columns
+  Category         Columns
   KeepEmpty        1
   Margin           Static
   LatexType        Environment
@@ -445,6 +454,7 @@ Style Columns
 End
 
 Style ColumnsCenterAligned
+  Category         Columns
   KeepEmpty        1
   Margin           Static
   LatexType        Environment
@@ -475,6 +485,7 @@ Style ColumnsCenterAligned
 End
 
 Style ColumnsTopAligned
+  Category         Columns
   KeepEmpty        1
   Margin           Static
   LatexType        Environment
@@ -506,6 +517,7 @@ End
 
 # Frame progression section
 Style Pause
+  Category          Overlays
   KeepEmpty         1
   LatexType         Command
   LatexName         pause
@@ -531,6 +543,7 @@ Style Pause
 End
 
 Style Overprint
+  Category         Overlays
   Margin           First_Dynamic
   LatexType        Environment
   NextNoIndent     0
@@ -557,6 +570,7 @@ Style Overprint
 End
 
 Style OverlayArea
+  Category         Overlays
   Margin           First_Dynamic
   LatexType        Environment
   NextNoIndent     0
@@ -582,6 +596,7 @@ Style OverlayArea
 End
 
 Style Uncover
+  Category         Overlays
   Margin           First_Dynamic
   LatexType        Environment
   NextNoIndent     0
@@ -607,6 +622,7 @@ Style Uncover
 End
 
 Style Only
+  Category         Overlays
   Margin           First_Dynamic
   LatexType        Environment
   NextNoIndent     0
@@ -633,6 +649,7 @@ End
 
 # Blocks section
 Style Block
+  Category         Blocks
   Margin           First_Dynamic
   LatexType        Environment
   NextNoIndent     0
@@ -658,6 +675,7 @@ Style Block
 End
 
 Style ExampleBlock
+  Category         Blocks
   Margin           First_Dynamic
   LatexType        Environment
   NextNoIndent     0
@@ -687,6 +705,7 @@ Style ExampleBlock
 End
 
 Style AlertBlock
+  Category         Blocks
   Margin           First_Dynamic
   LatexType        Environment
   NextNoIndent     0
@@ -718,6 +737,7 @@ End
 # Title slide data section
 # Title style definition
 Style Title
+  Category         Titling
   Margin           Static
   LatexType        Command
   InTitle          1
@@ -749,6 +769,7 @@ Style Title_(Plain_Frame)
 End
 
 Style Subtitle
+  Category         Titling
   Margin           Static
   LatexType        Command
   InTitle          1
@@ -773,6 +794,7 @@ End
 
 # Author style definition
 Style Author
+  Category         Titling
   Margin           Static
   LatexType        Command
   InTitle          1
@@ -794,6 +816,7 @@ Style Author
 End
 
 Style Institute
+  Category         Titling
   Margin           Dynamic
   LatexType        Command
   InTitle          1
@@ -813,8 +836,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
@@ -837,6 +882,7 @@ End
 # Titles & bibliography section
 # Bibliography style definition
 Style Bibliography
+  Category         BackMatter
   Margin           First_Dynamic
   LatexType        Bib_Environment
   LatexName        thebibliography
@@ -859,7 +905,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
@@ -878,12 +981,12 @@ Style TitleGraphic
     Series         Bold
     Color          Blue
   EndFont
-
 End
 
 
 # Theorems and such section
 Style Corollary
+   Category        Theorems
    Margin          First_Dynamic
    LatexType       Environment
    NextNoIndent    0
@@ -961,6 +1064,7 @@ End
 # Misc. section
 # Separator style definition
 Style Separator
+  Category         MainText
   LatexType        Paragraph
   LatexName        dummy
   ParIndent        MM
@@ -984,6 +1088,7 @@ Style Separator
 End
  
 Style LyX-Code
+  Category              MainText
   Margin           Static
   LatexType        Environment
   LatexName        lyxcode
@@ -1000,7 +1105,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
@@ -1021,6 +1126,7 @@ Style LyX-Code
 End
  
 Style NoteItem
+  Category         MainText
   Margin           Static
   LatexType        Command
   LatexName        note[item]
@@ -1048,9 +1154,9 @@ End
 # Charstyles:
 
 InsetLayout CharStyle:Alert
-       LyXType charstyle
-       LabelString Alert
-  LatexType        Command
+  LyXType charstyle
+  LabelString Alert
+  LatexType        command
   LatexName        alert
   Font
     Color          red
@@ -1059,9 +1165,9 @@ End
 
 
 InsetLayout CharStyle:Structure
-       LyXType charstyle
-       LabelString Structure
-  LatexType        Command
+  LyXType charstyle
+  LabelString Structure
+  LatexType        command
   LatexName        structure
   Font
     Color          blue
@@ -1069,6 +1175,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
@@ -1079,7 +1205,8 @@ Float
   ListName         "List of Tables"
   LaTeXBuiltin     true
 End
-  
+
+
 Float
   Type             figure
   GuiName          Figure
@@ -1091,6 +1218,7 @@ Float
   LaTeXBuiltin     true
 End
 
+
 # to give users the choice of a title frame with and without
 # head-/footline, we define our own maketitle command
 TitleLaTeXName makebeamertitle