]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdcounters.inc
Honor trailing spaces in LabelString and friends
[lyx.git] / lib / layouts / stdcounters.inc
index f5a41ca8a45a03ecd9514a9a47addb4a2918a42c..e8f5acb3f0d4e6cf6d9f54155694ed2e93b03dfd 100644 (file)
@@ -1,78 +1,78 @@
-# Author : Lars Gullik Bjønnes <larsbj@lyx.org>
+# Author : Lars Gullik Bjønnes <larsbj@lyx.org>
 
 # This include file contains all the counters that are defined as standard
 # in most LyX layouts.
 
 
-Format 4
-Counter
-       Name                 part
+Format 64
+Counter part
+       LabelString          "\Roman{part}"
+       PrettyFormat         "Part \Roman{part}"
 End
 
-Counter
-       Name                 chapter
+Counter chapter
+       PrettyFormat         "Chapter ##"
 End
 
-Counter
-       Name                 section
+Counter section
        Within               chapter
+       PrettyFormat         "Section ##"
 End
 
-Counter
-       Name                 subsection
+Counter subsection
        Within               section
+       PrettyFormat         "Section ##"
 End
 
-Counter
-       Name                 subsubsection
+Counter subsubsection
        Within               subsection
+       PrettyFormat         "Section ##"
 End
 
-Counter
-       Name                 paragraph
+Counter paragraph
        Within               subsubsection
+       PrettyFormat         "Paragraph ##"
 End
 
-Counter
-       Name                 subparagraph
+Counter subparagraph
        Within               paragraph
+       PrettyFormat         "Paragraph ##"
 End
 
-Counter
-       Name                 enumi
+Counter enumi
+       LabelString          "\arabic{enumi}."
 End
 
-Counter
-       Name                 enumii
+Counter enumii
        Within               enumi
+       LabelString          "(\alph{enumii})"
 End
 
-Counter
-       Name                 enumiii
+Counter enumiii
        Within               enumii
+       LabelString          "\roman{enumiii}."
 End
 
-Counter
-       Name                 enumiv
+Counter enumiv
        Within               enumiii
+       LabelString          "\Alph{enumiv}."
 End
 
-Counter
-       Name                 bibitem
+Counter bibitem
 End
 
-Counter
-       Name                 figure
+Counter listing
 End
 
-Counter
-       Name                 table
+Counter equation
+       PrettyFormat         "Equation ##"
 End
 
-Counter
-       Name                 algorithm
+Counter footnote
+       PrettyFormat         "Footnote ##"
 End
 
-Counter
-       Name                 equation
+Counter thanks
+       PrettyFormat         "Footnote ##"
+       LabelString          "\fnsymbol{thanks}"
 End