Difference between revisions of "Command/setupenumerations"
< Command
Jump to navigation
Jump to search
(Add example, description) |
m (Add See Also; make example source visible) |
||
Line 24: | Line 24: | ||
== Example == | == Example == | ||
− | <context> | + | <context source=yes text="This gives:"> |
\defineenumeration[Potato] | \defineenumeration[Potato] | ||
Line 41: | Line 41: | ||
== See also == | == See also == | ||
− | {{cmd|defineenumeration}} | + | * {{cmd|defineenumeration}} for creating new kinds of numbered objects. |
+ | * {{cmd|setupenumerations}} for setting up looks and behaviour. | ||
+ | * {{cmd|enumeration}} for single-paragraph numbered objects. | ||
+ | * {{cmd|startenumeration}} for multiple-paragraph numbered objects. | ||
== Help from ConTeXt-Mailinglist/Forum == | == Help from ConTeXt-Mailinglist/Forum == |
Revision as of 15:17, 24 April 2012
\setupenumerations
Syntax
\setupenumerations[...,...,...][...,...=...,...] | |
[...,...,...] | name of an enumeration (defined with \defineenumeration) |
[...,...=...,...] | see \setupdescriptions |
Description
Set up the appearance and behaviour of an enumeration. Enumeration environments are actually special description environments, so the keys are described at \setupdescriptions.
Example
\defineenumeration[Potato] \Potato One potato \par \setupenumerations[Potato][location=left] % In mkiv one would use `alternative=left`. \Potato Two potato \par
This gives:
See also
- \defineenumeration for creating new kinds of numbered objects.
- \setupenumerations for setting up looks and behaviour.
- \enumeration for single-paragraph numbered objects.
- \startenumeration for multiple-paragraph numbered objects.
Help from ConTeXt-Mailinglist/Forum
All issues with: