Difference between revisions of "Command/startenumeration"

From Wiki
Jump to navigation Jump to search
m (Text replacement - "<syntax type=“environment”>" to "<syntax type="environment">")
m (Text replacement - "<syntax type="environment">" to "<syntax>start")
Tags: Mobile web edit Mobile edit
Line 5: Line 5:
  
 
== [[Help:Reference|Syntax]] (autogenerated) ==
 
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax type="environment">enumeration</syntax>
+
<syntax>startenumeration</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==

Revision as of 09:21, 7 August 2020

\startenumeration

Syntax (autogenerated)


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

Help from ConTeXt-Mailinglist/Forum

All issues with: