# Difference between revisions of "Command/startenumeration"

Jump to navigation
Jump to search

(Category Numbered objects) |
(Description, example.) |
||

Line 12: | Line 12: | ||

== Description == | == Description == | ||

+ | Multi-paragraph numbered objects, previously defined using {{cmd|defineenumeration}}. See {{cmd|defineenumeration}} for more elaborate info. | ||

+ | == Example == | ||

+ | <context source=yes text="This gives:"> | ||

+ | \setupwhitespace[big] | ||

+ | \defineenumeration[theorem][text=Theorem, location=left] | ||

+ | % In mkiv we would write `alternative=left`. | ||

+ | |||

+ | \starttheorem | ||

+ | This theorem has multiple paragraphs. | ||

+ | |||

+ | We can prove this by counting them: we count more than one paragraph, quod erat demonstrandum. | ||

+ | \stoptheorem | ||

+ | |||

+ | \tex{theorem} can not contain multiple paragraphs: | ||

+ | \theorem | ||

+ | This theorem has multiple paragraphs. | ||

− | + | We can prove this by counting them: we count more than one paragraph, quod erat demonstrandum. | |

− | < | + | |

+ | </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. | ||

== Help from ConTeXt-Mailinglist/Forum == | == Help from ConTeXt-Mailinglist/Forum == |

## Revision as of 15:10, 24 April 2012

# \startenumeration

## Syntax

\startenumeration ... \stopenumeration |

## Description

Multi-paragraph numbered objects, previously defined using `\defineenumeration`. See `\defineenumeration` for more elaborate info.

## Example

\setupwhitespace[big] \defineenumeration[theorem][text=Theorem, location=left] % In mkiv we would write `alternative=left`. \starttheorem This theorem has multiple paragraphs. We can prove this by counting them: we count more than one paragraph, quod erat demonstrandum. \stoptheorem \tex{theorem} can not contain multiple paragraphs: \theorem This theorem has multiple paragraphs. We can prove this by counting them: we count more than one paragraph, quod erat demonstrandum.

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: