]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/recipebook.layout
New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing...
[lyx.git] / lib / layouts / recipebook.layout
index e35a97f0c15203c9bdb1dbd8fad9f64a97788682..1e966857496b338288024eae112cfbfd8dd8816f 100644 (file)
@@ -27,7 +27,7 @@
 # Another command, \ingred{...}, is defined to typeset a
 # list of ingredients.
 
-Format 40
+Format 99
 Input scrclass.inc
 Input numreport.inc
 
@@ -35,13 +35,14 @@ Input numreport.inc
 SecNumDepth            2
 TocDepth               3
 PageStyle              Headings
+DocBookRoot            book
 
 # There is no abstract environment in scrbook.cls
 NoStyle Abstract
 
 Style Chapter
   LabelString          "\thechapter"
-       TocLevel 0
+  TocLevel             0
 End
 
 Style Bibliography
@@ -51,6 +52,7 @@ Style Bibliography
     Series             Bold
     Size               Largest
   EndFont
+  TocLevel              0
 End
 
 Preamble
@@ -90,8 +92,11 @@ Style Recipe
     Size               Large
     Series             Bold
     Shape              Italic
-    Color              red
+    Color              textlabel3
   EndFont
+  DocBookTag    bridgehead
+  DocBookAttr   renderas='sect2'
+  DocBookTagType paragraph
 End
 
 # Subsubsection style definition
@@ -107,7 +112,7 @@ Style Subsubsection
   Font
     Size               Small
   EndFont
-       TocLevel 3
+  TocLevel             3
 End
 
 # Inghead style definition
@@ -115,8 +120,8 @@ Style Ingredients
   LatexType            Command
   LatexName            ingred
   Argument 1
-       LabelString   "Ingredients Header"
-       Tooltip       "Specify an optional ingredients header"
+    LabelString                "Ingredients Header"
+    Tooltip            "Specify an optional ingredients header"
   EndArgument
   Margin               Static
   LeftMargin           Ingredients_for_some:xx
@@ -128,11 +133,13 @@ Style Ingredients
   LabelFont
     Series             Bold
     Shape              Italic
-    Color              red
+    Color              textlabel3
   EndFont
   Preamble
    \renewcommand*\l@subsubsection{\@dottedtocline{3}{3em}{0em}}
    \setlength\parindent{0pt}
    \setlength\parskip{2ex plus 0.5ex}
   EndPreamble
+  DocBookTag    para
+  DocBookAttr   role='ingredients'
 End