]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/beamer.layout
Update layout format.
[lyx.git] / lib / layouts / beamer.layout
index 90f53b64e8b341d53037e84200dd5abac0289a5e..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 7
+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
@@ -25,6 +17,7 @@ SecNumDepth        2
 TocDepth           2
 DefaultStyle       Standard
 Provides hyperref  1
+Provides geometry  1
 
 DefaultFont
   Family           Sans
@@ -130,6 +123,7 @@ Style Part
   Align            Center
   LabelType        Static
   LabelString      "Part"
+       RefPrefix        part
 
   # standard font definition
   Font 
@@ -141,6 +135,7 @@ Style Part
   LabelFont
     Color          Latex
   EndFont
+       TocLevel 0
 End
 
 # Section style definition
@@ -160,6 +155,7 @@ Style Section
   LabelType        Counter
   LabelCounter     section
   LabelString      "Section \arabic{section}"
+       RefPrefix        sec
   OptionalArgs     1
 
   Font 
@@ -202,6 +198,7 @@ Style Subsection
   LabelType        Counter
   LabelCounter     subsection
   LabelString      "Subsection \arabic{section}.\arabic{subsection}"
+       RefPrefix        sub
   OptionalArgs     1
 
   # standard font definition
@@ -667,7 +664,7 @@ Style Block
 
   LatexName        block
   LabelString      "Block ( ERT[{title}] body ):"
-
+  
   ParSkip          0.5
   TopSep           1
   BottomSep        1
@@ -843,6 +840,27 @@ 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
@@ -891,6 +909,62 @@ 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
@@ -911,7 +985,6 @@ Style TitleGraphic
     Series         Bold
     Color          Blue
   EndFont
-
 End
 
 
@@ -1036,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
@@ -1087,7 +1160,7 @@ End
 InsetLayout CharStyle:Alert
   LyXType charstyle
   LabelString Alert
-  LatexType        Command
+  LatexType        command
   LatexName        alert
   Font
     Color          red
@@ -1098,7 +1171,7 @@ End
 InsetLayout CharStyle:Structure
   LyXType charstyle
   LabelString Structure
-  LatexType        Command
+  LatexType        command
   LatexName        structure
   Font
     Color          blue
@@ -1134,7 +1207,8 @@ Float
   NumberWithin     none
   Style            plain
   ListName         "List of Tables"
-  LaTeXBuiltin     true
+  NeedsFloatPkg    false
+       ListCommand      listoftables
 End
 
 
@@ -1146,7 +1220,8 @@ Float
   NumberWithin     none
   Style            plain
   ListName         "List of Figures"
-  LaTeXBuiltin     true
+  NeedsFloatPkg    false
+       ListCommand      listoffigures
 End
 
 
@@ -1163,4 +1238,3 @@ Preamble
     \def\gobbletableofcontents#1{\origtableofcontents}
   }
 EndPreamble
-