]> 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 f5d96f65fab634b3245ca6c9efddf704d9b32cb4..e8f5acb3f0d4e6cf6d9f54155694ed2e93b03dfd 100644 (file)
@@ -1,73 +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.
 
 
-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
-  Within               chapter
+Counter section
+       Within               chapter
+       PrettyFormat         "Section ##"
 End
 
-Counter
-  Name                 subsection
-  Within               section
+Counter subsection
+       Within               section
+       PrettyFormat         "Section ##"
 End
 
-Counter
-  Name                 subsubsection
-  Within               subsection
+Counter subsubsection
+       Within               subsection
+       PrettyFormat         "Section ##"
 End
 
-Counter
-  Name                 paragraph
-  Within               subsubsection
+Counter paragraph
+       Within               subsubsection
+       PrettyFormat         "Paragraph ##"
 End
 
-Counter
-  Name                 subparagraph
-  Within               paragraph
+Counter subparagraph
+       Within               paragraph
+       PrettyFormat         "Paragraph ##"
 End
 
-Counter
-  Name                 enumi
+Counter enumi
+       LabelString          "\arabic{enumi}."
 End
 
-Counter
-  Name                 enumii
-  Within               enumi
+Counter enumii
+       Within               enumi
+       LabelString          "(\alph{enumii})"
 End
 
-Counter
-  Name                 enumiii
-  Within               enumii
+Counter enumiii
+       Within               enumii
+       LabelString          "\roman{enumiii}."
 End
 
-Counter
-  Name                 enumiv
-  Within               enumiii
+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 thanks
+       PrettyFormat         "Footnote ##"
+       LabelString          "\fnsymbol{thanks}"
 End