Changes for page Enum
Last modified by Paul Libbrecht on 2021/03/17 21:21
From version 2.1
edited by Paul Libbrecht
on 2017/09/06 18:23
on 2017/09/06 18:23
Change comment:
Uploaded new attachment "XWiki.EnumMacro.xar", version 1.1
To version 3.1
edited by Paul Libbrecht
on 2017/09/06 18:25
on 2017/09/06 18:25
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- ExtensionCode.ExtensionClass[0]
-
- Description
-
... ... @@ -1,1 +1,9 @@ 1 1 Simple macro to display the number of figure automatically calculated by incrementing one by one from the page top. 2 + 3 + 4 +Use it, e.g., with 5 +Figure {{enum name="fig")}. 6 + 7 +This creates Figure 1, then Figure 2, then Figure 3... 8 +The macro also creates an id (fig_1, fig_2, and fig_3 in this case). 9 +