Difference between revisions of "Command/setupenumerations"

From Wiki
Jump to navigation Jump to search
m (Add See Also; make example source visible)
(Remove superfluous paragraph mark)
Line 28: Line 28:
  
 
\Potato  
 
\Potato  
 
+
One potato
One potato \par
 
  
 
\setupenumerations[Potato][location=left]
 
\setupenumerations[Potato][location=left]
Line 35: Line 34:
  
 
\Potato  
 
\Potato  
 
+
Two potato
Two potato \par
 
  
 
</context>
 
</context>

Revision as of 15:18, 24 April 2012

\setupenumerations

Syntax

\setupenumerations[...,...,...][...,...=...,...]
[...,...,...] name of an enumeration (defined with \defineenumeration)
[...,...=...,...] see \setupdescriptions


Description

Set up the appearance and behaviour of an enumeration. Enumeration environments are actually special description environments, so the keys are described at \setupdescriptions.

Example

\defineenumeration[Potato]

\Potato 
One potato

\setupenumerations[Potato][location=left]
% In mkiv one would use `alternative=left`.

\Potato 
Two potato

This gives:

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: