]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/beamer.layout
Update tex2lyx test files
[lyx.git] / lib / layouts / beamer.layout
index ebbd2860b6cecd395d00d5376f192239e0930cae..3ac4aae311ad48c4087ff288370c881c3a663a6c 100644 (file)
@@ -1,11 +1,12 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[beamer,pgf.sty,xcolor.sty]{presentation (beamer)}
+#  \DeclareLaTeXClass[beamer,amssymb.sty,hyperref.sty,pgf.sty,xcolor.sty,xxcolor.sty]{Beamer}
+#  \DeclareCategory{Presentations}
 # Author : Till Tantau <tantau@users.sourceforge.net>
 
 # $Header: /cvsroot/latex-beamer/latex-beamer/lyx/layouts/beamer.layout,v 1.16 2004/10/07 20:53:07 tantau Exp $
 
 # Includes
-Format 27
+Format 40
 Input stdcounters.inc
 Input stdinsets.inc
 
@@ -18,6 +19,8 @@ TocDepth           2
 DefaultStyle       Standard
 Provides hyperref  1
 Provides geometry  1
+Provides color     1
+Provides xcolor    1
 
 DefaultFont
   Family           Sans
@@ -58,7 +61,6 @@ Style Itemize
   ParSep           0.3
   Align            Left
   LabelType        Itemize
-  LabelString      "*"
 End
 
 # Enumerate style definition
@@ -78,6 +80,7 @@ Style Enumerate
   ParSep           0.3
   Align            Left
   LabelType        Enumerate
+  RefPrefix        enu
 End
 
 # Description style definition
@@ -97,9 +100,6 @@ Style Description
   ParSep           0.3
   Align            Left
   LabelType        Manual
-  LabelString      "MM"
-
-  # label font definition
   LabelFont 
     Series        Bold
   EndFont
@@ -225,6 +225,50 @@ Style Subsection*
   OptionalArgs     0
 End
 
+# Subsubsection style definition
+Style Subsubsection
+  Category         Section
+  Margin           First_Dynamic
+  LatexType        Command
+  LatexName        lyxframeend{}\subsubsection
+  NeedProtect      1
+  NextNoIndent     1
+  LabelSep         xx
+  ParSkip          0.4
+  TopSep           2
+  BottomSep        0.25
+  ParSep           0.5
+  Align            Left
+  LabelType        Counter
+  LabelCounter     subsubsection
+  LabelString      "Subsubsection \arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
+       RefPrefix        sub
+  OptionalArgs     1
+
+  # standard font definition
+  Font 
+    Family         Roman
+    Series         Bold
+    Size           large
+  EndFont
+
+  LabelFont 
+    Color          latex
+  EndFont
+  LabelStringAppendix "\arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
+  TocLevel 2
+End
+
+# Subsubsection* style definition
+Style Subsubsection*
+  CopyStyle        Subsubsection
+  Category         Unnumbered
+  Margin           Static
+  LatexName        lyxframeend{}\subsubsection*
+  LabelType        No_Label
+  OptionalArgs     0
+End
+
 # Frame control definition
 Style BeginFrame
   Category         Frames
@@ -258,7 +302,6 @@ Style BeginFrame
   EndFont
 
   Preamble
-    \makeatletter
     \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
     \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
     \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
@@ -266,7 +309,6 @@ Style BeginFrame
     \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
     \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
       \frame<#1>[#2][#3]{\frametitle{#4}#5}}
-    \makeatother
   EndPreamble
 End
 
@@ -301,12 +343,10 @@ Style BeginPlainFrame
   EndFont
 
   Preamble
-    \makeatletter
     \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
     \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
     \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
       \frame<#1>[plain]{\frametitle{#2}#3}}
-    \makeatother
   EndPreamble
 End
 
@@ -341,13 +381,11 @@ Style AgainFrame
   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
 
@@ -654,7 +692,7 @@ End
 # Blocks section
 Style Block
   Category         Blocks
-  Margin           First_Dynamic
+  Margin           Dynamic
   LatexType        Environment
   NextNoIndent     0
   ParIndent        MM
@@ -663,7 +701,7 @@ Style Block
   LabelSep         xx
 
   LatexName        block
-  LabelString      "Block ( ERT[{title}] body ):"
+  LabelString      "Block:"
   
   ParSkip          0.5
   TopSep           1
@@ -689,8 +727,8 @@ Style ExampleBlock
   LabelSep         xx
 
   LatexName        exampleblock
-  LabelString      "Block ( ERT[{title}] example text ):"
-
+  LabelString      "Example Block:"
+  
   ParSkip          0.5
   TopSep           1
   BottomSep        1
@@ -719,8 +757,8 @@ Style AlertBlock
   LabelSep         xx
 
   LatexName        alertblock
-  LabelString      "Block ( ERT[{title}] alert text ):"
-
+  LabelString      "Alert Block:"
+  
   ParSkip          0.5
   TopSep           1
   BottomSep        1
@@ -840,7 +878,7 @@ Style Institute
   EndFont
 End
 
-InsetLayout InstituteMark
+InsetLayout "Flex:InstituteMark"
   LyxType          custom
   LatexType        command
   LatexName        inst
@@ -1157,7 +1195,7 @@ End
 
 # Charstyles:
 
-InsetLayout CharStyle:Alert
+InsetLayout Flex:Alert
   LyXType charstyle
   LabelString Alert
   LatexType        command
@@ -1168,7 +1206,7 @@ InsetLayout CharStyle:Alert
 End
 
 
-InsetLayout CharStyle:Structure
+InsetLayout Flex:Structure
   LyXType charstyle
   LabelString Structure
   LatexType        command
@@ -1179,7 +1217,7 @@ InsetLayout CharStyle:Structure
 End
 
 
-InsetLayout Custom:ArticleMode
+InsetLayout Flex:ArticleMode
    LyXType     custom
    LatexName   mode<article>
    LatexType   command
@@ -1189,7 +1227,7 @@ InsetLayout Custom:ArticleMode
 End
 
 
-InsetLayout Custom:PresentationMode
+InsetLayout Flex:PresentationMode
    LyXType     custom
    LatexName   mode<presentation>
    LatexType   command
@@ -1207,8 +1245,9 @@ Float
   NumberWithin     none
   Style            plain
   ListName         "List of Tables"
-  NeedsFloatPkg    false
-       ListCommand      listoftables
+  IsPredefined     true
+  UsesFloatPkg     false
+  ListCommand      listoftables
 End
 
 
@@ -1220,8 +1259,9 @@ Float
   NumberWithin     none
   Style            plain
   ListName         "List of Figures"
-  NeedsFloatPkg    false
-       ListCommand      listoffigures
+  IsPredefined     true
+  UsesFloatPkg     false
+  ListCommand      listoffigures
 End
 
 
@@ -1229,7 +1269,7 @@ End
 # head-/footline, we define our own maketitle command
 TitleLaTeXName makebeamertitle
 
-Preamble
+AddToPreamble
   % this default might be overridden by plain title style
   \newcommand\makebeamertitle{\frame{\maketitle}}%
   \AtBeginDocument{
@@ -1238,3 +1278,5 @@ Preamble
     \def\gobbletableofcontents#1{\origtableofcontents}
   }
 EndPreamble
+
+Input theorems-refprefix.inc