Command/defineresetset
< Command
Jump to navigation
Jump to search
Contents
\defineresetset
Summary
The command \defineresetset is used to configure the continuous numbering of sections of a lower level regardless of higher levels. E.g. if you use parts but want to have all chapters numbered continously.
Settings
\defineresetset[...][...,...][...] | |
[...] | name sectionblock:name |
[...,...] | number |
[...] | number |
Option | Explanation |
---|---|
name of the reset set (default or your own) | |
List of 1 or 0 for every section level, "0,1" means "part no, chapter yes" etc. (second example). If empty, affect just the section in whose setup the reset set is used (first example). | |
1 = reset, 0 = don’t reset (refering to the previous list or the current level) |
Description
\definestructureresetset is an alias of this command for backward compatibility.
Examples
define for one section level
\defineresetset[mybook][][0] \setuphead[chapter][sectionresetset=mybook]
define generally
\defineresetset[default][1,1,0][1] %% reset part, chapter, but not section \setuphead[sectionresetset=default]