]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/memoir.layout
KOMA-script layout files: don't check for KOMA-script's internal dependencies, scrbas...
[lyx.git] / lib / layouts / memoir.layout
index 6839753290edc8ea24daec28fa87514a6e36fd5c..371f86323c988ae4b4e3c0ee23ca801a6c4a9526 100644 (file)
@@ -6,11 +6,11 @@
 # feel free to contribute missing features!
 
 
-Format 11
+Format 27
 Columns            1
 Sides              2
-SecNumDepth        2
-TocDepth           2
+SecNumDepth        1
+TocDepth           1
 DefaultStyle       Standard
 PageStyle          Headings
 Provides makeidx   1
@@ -48,33 +48,51 @@ Input stdstarsections.inc
 Input numreport.inc
 
 
+Style Part
+       OptionalArgs         1
+       TocLevel             -1
+End
+       
+
+
 Style Chapter
        OptionalArgs         2
+       TocLevel             0
+End
+
+
+Style Chapter*
+       OptionalArgs         1
 End
 
 
 Style Section
        OptionalArgs         2
+       TocLevel 1
 End
 
 
 Style Subsection
        OptionalArgs         2
+       TocLevel 2
 End
 
 
 Style Subsubsection
        OptionalArgs         2
+       TocLevel 3
 End
 
 
 Style Paragraph
        OptionalArgs         2
+       TocLevel 4
 End
 
 
 Style Subparagraph
        OptionalArgs         2
+       TocLevel 5
 End
 
 
@@ -97,8 +115,9 @@ Style Chapterprecis
        EndFont
 End
 
-
+#FIXME: this takes two parameters!!!
 Style Epigraph
+       Category              Maintext
        Margin                Right_Address_Box
        LatexType             Command
        LatexName             epigraph
@@ -108,8 +127,10 @@ Style Epigraph
        Align                 Left
 End
 
-
+#FIXME: what is actually documented is \PoemTitle
+#but \poemtitle is defined nevertheless. Weird.
 Style Poemtitle
+       Category              Section
        LatexType             Command
        LatexName             poemtitle
        NeedProtect           1
@@ -128,6 +149,7 @@ End
 
 Style Poemtitle*
        CopyStyle             Poemtitle
+       Category              Unnumbered
        LatexName             poemtitle*
        OptionalArgs          0
 End
@@ -151,10 +173,11 @@ Input lyxmacros.inc
 Input stdlayouts.inc
 
 Style Legend
+       Category            Maintext
        LatexType           Command
        LatexName           legend
        NeedProtect         1
        NextNoIndent        1
-       ParSkip              0.4
-       Align                   Center
+       ParSkip             0.4
+       Align               Center
 End