Changes

Jump to navigation Jump to search
add example with title
|attributes=
}}
 
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>startenumeration</syntax>
== [[Help:Reference|Syntax]] ==
Multi-paragraph numbered objects, previously defined using {{cmd|defineenumeration}}. See {{cmd|defineenumeration}} for more elaborate info.
== Example Examples ==
<context source=yes text="This gives:">
\setupwhitespace[big]
We can prove this by counting them: we count more than one paragraph, quod erat demonstrandum.
</context>
 
It’s also possible to have titles:
 
<context source=yes>
\defineenumeration[Exercise][
text=Exercise,
stopper={:},
title=yes, % activate title
titleleft=,
titleright=,
way=bytext, % don’t restart numbering per chapter
margin=1em, % indenting
]
 
\samplefile{knuth}
 
\startExercise[title={Something to do},reference=ex:something]
\samplefile{lorem}
\stopExercise
 
\samplefile{tufte}
</context>

Navigation menu