Difference between revisions of "Command/startenumeration"

From Wiki
Jump to navigation Jump to search
(Create reference page)
 
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!-- please remove this and the following line if you have checked this page -->
 
{{Reference_Cleanup}}
 
 
{{Reference
 
{{Reference
 
|name=startenumeration
 
|name=startenumeration
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>startenumeration</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 14: Line 15:
  
 
== 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.
  
== Example ==
+
</context>
<!-- Please fill in an example if you can -->
 
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
* {{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 ==
 +
All issues with:
 +
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Reference/en|startenumeration]]
+
[[Category:Command/Numbered objects|startenumeration]]

Latest revision as of 13:45, 18 November 2019

\startenumeration

Syntax (autogenerated)

\startenumeration[...=...,...] ... \stopenumeration
generated by \defineenumeration


\startenumeration[...,...]{...} ... \stopenumeration
generated by \defineenumeration


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: