Changes

Jump to navigation Jump to search
Typo (which prevented typesetting)
<!-- please remove this and the following line if you have checked this page -->
{{Reference_Cleanup}}
{{Reference
|name=setupenumerations
<tr valign="top" class="first">
<td class="cmd">[...,...,...]</td>
<td>name of an enumeration (defined with {{cmd|defineenumeration}})</td>
</tr>
<tr valign="top" class="second">
<td class="cmd">[...,...=...,...]</td>
<td>see [[Reference/en/definedescription{{cmd|\definedescription]] setupdescriptions}} </td>
</tr>
</table>
== Description == Set up the appearance and behaviour of an enumeration. Enumeration environments are actually special description environments, so the keys are described at {{cmd|setupdescriptions}}.
== Example ==
<context source=yes text="This gives:">
\defineenumeration[Potato]
 
\Potato
One potato
 
\setupenumerations[Potato][location=left]
% In mkiv one would use `alternative=left`.
 
\Potato
Two potato
</context>
The before and after keys control the spacing around enumerations. It you want to achieve something similar to the itemize-option "packed" then use: (MKIV example) <context source=yes text= Example "This gives:">\defineenumeration[Packed] \setupenumerations [Packed] [text=, headstyle=normal, alternative=left, distance=0pt,<!-- Please fill in an example if you can --> width=13pt, stopper=\high{o}, before={\blank[small]}, after={\blank[small]}, inbetween=]  \Packed First issue \Packed Second issue
</context>
== See also ==
<!* {{cmd|defineenumeration}} for creating new kinds of numbered objects.* {{cmd|setupenumerations}} for setting up looks and behaviour.* {{cmd|enumeration}} for single-- something like [[paragraph numbered objects.* {{cmd:goto|\goto]] startenumeration}} for multiple-paragraph numbered objects. == Help from ConTeXt->Mailinglist/Forum ==All issues with:{{Forum|{{SUBPAGENAME}}}}
[[Category:ReferenceCommand/enNumbered objects|setupenumerations]]
28

edits

Navigation menu