Before a counter can be used, it must be created with the macro NEWCOUNTER. This macro expects one parameter list: the name of the counter. The initial value of the counter is set to zero. As for an example, let's say that our macro package should provide two sectioning commands: section and subsection. The sections should be numbered 1, 2, etc., and the subsections 1.1, 1.2, 1.3 etc.. Hence we'd need two counters:
NEWCOUNTER(sectcounter)
NEWCOUNTER(subsectcounter)

Return to Yodl's home page.

Please send Yodl questions and comments to yodl@icce.rug.nl.

Please send comments on these web pages to (address unknown), send other FSF & GNU inquiries and questions to gnu@gnu.org.

Copyright (c) 1998 Karel Kubat and Jan Nieuwenhuizen

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


This page was built from Yodl-1.31.17 by

<(address unknown)>, at Thu May 4 11:38:59 2000 CEST.