Difference between revisions of "Command/enumeration"
< Command
Jump to navigation
Jump to search
m (cleanup) |
|||
(11 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
|attributes= | |attributes= | ||
}} | }} | ||
+ | |||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>enumeration</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
Line 18: | Line 21: | ||
== Description == | == Description == | ||
+ | The next paragraph is an item of type ''enumeration''. The ''enumeration'' type is previously defined and set up using {{cmd|defineenumeration}} and {{cmd|setupenumerations}}. Enumerations have a wide variety of uses; remarks, questions and answers, and theorems are probably the most common ones. When an enumeration is defined, sub- and subsubenumerations are automatically available. | ||
+ | |||
+ | == Example == | ||
+ | <context source=yes text"This gives:"> | ||
+ | % Define enumerated intermezzos | ||
+ | \defineenumeration[intermz][text=Intermezzo, location=left] | ||
+ | |||
+ | \starttext | ||
+ | |||
+ | \intermz | ||
+ | This is the first paragraph. It is part of the intermezzo. It is a reasonably longish paragraph. | ||
+ | |||
+ | This is the second paragraph. It is not part of the intermezzo. | ||
+ | \subintermz | ||
+ | This is a sub-intermezzo. | ||
− | + | \stoptext | |
− | < | + | </context> |
== See also == | == See also == | ||
− | + | * {{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. | ||
+ | * MAPS article on [http://www.ntg.nl/maps/36/09.pdf Theorems] | ||
+ | |||
+ | == Help from ConTeXt-Mailinglist/Forum == | ||
+ | All issues with: | ||
+ | {{Forum|{{SUBPAGENAME}}}} | ||
− | [[Category: | + | [[Category:Command/Numbered objects|enumeration]] |
Latest revision as of 13:45, 18 November 2019
\enumeration
Syntax (autogenerated)
Syntax
\enumeration... | |
... | text |
Description
The next paragraph is an item of type enumeration. The enumeration type is previously defined and set up using \defineenumeration and \setupenumerations. Enumerations have a wide variety of uses; remarks, questions and answers, and theorems are probably the most common ones. When an enumeration is defined, sub- and subsubenumerations are automatically available.
Example
% Define enumerated intermezzos \defineenumeration[intermz][text=Intermezzo, location=left] \starttext \intermz This is the first paragraph. It is part of the intermezzo. It is a reasonably longish paragraph. This is the second paragraph. It is not part of the intermezzo. \subintermz This is a sub-intermezzo. \stoptext
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.
- MAPS article on Theorems
Help from ConTeXt-Mailinglist/Forum
All issues with: