Difference between revisions of "Command/definelabelclass"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \definelabelclass") |
|||
Line 42: | Line 42: | ||
</cd:description> | </cd:description> | ||
− | <cd:examples></cd:examples> | + | <cd:examples><cd:example title="">{{todo|I am a bit lost here. I have no idea what half of these generated commands do --[[User:Taco|Taco]] ([[User talk:Taco|talk]]) 21:48, 30 August 2020 (CEST)}}</cd:example></cd:examples> |
<cd:notes></cd:notes> | <cd:notes></cd:notes> | ||
<cd:seealso> | <cd:seealso> |
Latest revision as of 19:50, 30 August 2020
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) |