Command/definelabelclass
< Command
Jump to navigation
Jump to search
Contents
\definelabelclass
Summary
The command \definelabelclass is the factory for language-dependant labels.
Settings
\definelabelclass[...][...] | |
[...] | name |
[...] | number |
Option | Explanation |
---|---|
The name of the label class to define | |
A number that indicates the type of label class. | |
number | '0' for standard label classes, '2' for math and tag label classes, |
Description
Each call to \definelabelclass defines a whole series of other commands.
For example,
\definelabelclass[myclass]
defines
- \dogetupsomemyclasstext (internal)
- \myclasslanguage labellanguage
- \dodogetupsomemyclasstext (internal)
- \leftmyclasstext leftlabeltext
- \rightmyclasstext rightlabeltext
- \myclasstexts labeltexts
- \myclasstext labeltext
- \setupmyclasstext setuplabeltext
- \presetmyclasstext presetlabeltext
- \startmyclasstext startlabeltext
- \stopmyclasstext (matches the \start...)
- \copymyclasstext copylabeltext
Examples
Example 1
TODO: I am a bit lost here. I have no idea what half of these generated commands do --Taco (talk) 21:48, 30 August 2020 (CEST) (See: To-Do List) |