Enum

Last modified by Paul Libbrecht on 2021/03/17 21:21

cogEnum Macro (to automatically put figure, table or others' numbers)
TypeDoc (Velocity Macro)
CategoryMacro
Developed by

Paul Libbrecht

Rating
0 Votes
LicenseBSD 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).

Tags:
    

Get Connected