Enum
Version 7.1 by Paul Libbrecht on 2021/03/17 20:18
Enum Macro (to automatically put figure, table or others' numbers) |
Type | Doc (Velocity Macro) |
Category | Macro |
Developed by | |
Rating | |
License | BSD license |
Table of contents
Description
Simple macro to display the number of figure automatically calculated by incrementing one by one from the page top.
Use it, e.g., with
Figure {{enum name="fig")}.
This creates Figure 1, then Figure 2, then Figure 3...
The macro also creates an id (fig_1, fig_2, and fig_3 in this case).