]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/numreport.inc
Grammar
[lyx.git] / lib / layouts / numreport.inc
index 4c973b3b0eba1cee68c4ac1add3db99f425bb5be..0b18af40be6946005a7f630aaf17978fe73db9a0 100644 (file)
@@ -1,54 +1,47 @@
-# Author : André Pönitz
-# This include files contains a label definitions for a report-like numbering.
-
-Style Part
-       LabelType             Counter
-       LabelCounter          part
-       LabelString           "Part \Roman{part}"
-End
-       
-
-Style Chapter
-       LabelType             Counter
-       LabelCounter          chapter
-       LabelString           "Chapter \arabic{chapter}"
-       LabelStringAppendix   "Appendix \Alph{chapter}"
-       TocLevel              1
-End
+# Author : André Pönitz
+# This include file contains label definitions for a report-like numbering.
 
+Format 104
 
-Style Section
-       LabelType             Counter
-       LabelCounter          section
-       LabelString           "\arabic{chapter}.\arabic{section}"
-       LabelStringAppendix   "\Alph{chapter}.\arabic{section}"
-       TocLevel              2
+Counter chapter
+       GuiName Chapter
+       Within                ""
+       LabelString           "\arabic{chapter}"
+       LabelStringAppendix   "\Alph{chapter}"
+       PrettyFormat "Chapter ##"
 End
 
+Counter section
+       GuiName Section
+       Within                chapter
+       LabelString           ""
+       PrettyFormat "Section ##"
+End
 
-Style Subsection
-       LabelType             Counter
-       LabelCounter          subsection
-       LabelString           "@Section@.\arabic{subsection}"
-       LabelStringAppendix   "@Section@.\arabic{subsection}"
-       TocLevel              3
+Float
+       Type                  table
+       NumberWithin          chapter
 End
 
 
-Style Subsubsection
-       LabelType             Counter
-       LabelCounter          subsubsection
-       LabelString           "@Subsection@.\arabic{subsubsection}"
-       LabelStringAppendix   "@Subsection@.\arabic{subsubsection}"
-       TocLevel              4
+Float
+       Type                  figure
+       NumberWithin          chapter
 End
 
 
-Style Paragraph
-       TocLevel              5
+Float
+       Type                  algorithm
+       NumberWithin          chapter
 End
 
+Counter listing
+       GuiName Listing
+       Within                chapter
+End
 
-Style Subparagraph
-       TocLevel              6
+Counter footnote
+       GuiName Footnote
+       Within                chapter
+       PrettyFormat    "footnote \arabic{footnote}"
 End