# \defineenumeration

## Syntax

 \defineenumeration[...,...,...][...][...,...=...,...] [...,...,...] name [...] name [...,...=...,...] see \setupenumerations

## Description

With \defineenumeration you can define the commands for a numbered text element, like remarks or questions. For example, if you want numbered remarks in your document you can define the environment as follows:

\defineenumeration
[remark]
[location=top,
text=Remark,        % Display header as "Remark 1"
inbetween={\blank[nowhite]},   % No blank line between remark header and remark
after=\blank]       % Blank line after the remark.


This creates the new commands \remark, \resetremark, \nextremark, and \startremark ... \stopremark, as well as the same commands for subremark and subsubremark.

## Example


\setupindenting[yes,small,first]

\defineenumeration
[remark]

\starttext
\remark
An enumeration (\tex{remark}, in this case) takes the paragraph that follows
it as its argument.

\remark
This is the first paragraph after \tex{remark}. It is part of the remark.

This is the second paragraph after \tex{remark}. It is not part of the remark.

\startremark
This is the first paragraph inside \tex{startremark}. It is part of the remark.

This is the second paragraph inside \tex{startremark}. It is part of the remark.
\stopremark

\subsubremark Presto!

\stoptext


Gives: