Difference between revisions of "Command/setupheadnumber"

From Wiki
Jump to navigation Jump to search
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}")
Line 3: Line 3:
== [[Help:Reference|Syntax]] (autogenerated) ==
== [[Help:Reference|Syntax]] ==
== [[Help:Reference|Syntax]] ==

Latest revision as of 13:50, 18 November 2019


Syntax (autogenerated)



[...] section
[...] number +number -number


Allows manipulation of the current heading counters. The first argument determines which heading is to be changed, e.g. section, chapter. The second argument takes an integer; if unsigned, the section number will be set to this value. Nota bene: with the next call to the heading the number will be incremented again. Thus, in order for the next heading to carry a specific number n it would be necessary to set its number to n-1.

If the second argument is signed, the heading’s number will be increased or decreased by the specified amount instead.






See also

Help from ConTeXt-Mailinglist/Forum

All issues with: