Command/setupenumeration

From Wiki
Jump to navigation Jump to search


\setupenumeration

Summary

Use \setupenumeration for the settings of numbered environments.

Settings

\setupenumeration[...,...][...=...,...]
[...,...]name
titleyes no
numberyes no
numbercommandoneargument
titledistancedimension
titlestylestyle command
titlecolorcolor
titlecommandoneargument
titleleftcommand
titlerightcommand
leftcommand
rightcommand
symbolcommand
startercommand
stoppercommand
couplingname
countername
levelnumber
texttext
headcommandoneargument
beforecommand
aftercommand
inbetweencommand
alternativeleft right inmargin inleft inright margin leftmargin rightmargin innermargin outermargin serried hanging top empty command name
alignsee \setupalign
headalignsee \setupalign
indentingsee \setupindenting
displayyes no
indentnextyes no auto
widthfit broad line dimension
distancenone dimension
stretchnumber
shrinknumber
hangfit broad none margin number
closesymbolcommand
closecommandoneargument
expansionyes no xml
referenceprefix+ - text
sampletext
marginyes no standard dimension
stylestyle command
colorcolor
headstylestyle command
headcolorcolor
aligntitleyes no
...=...,...inherits from \setupcounter

OptionExplanation
title
Typeset a title (additionally to the number) or not.
number
Typeset a number (additionally to the title) or not.
titledistance
Distance between number and title.
titlecolor
Color of the title.
titleleft
Command/text to apply left of the title.
titleright
Command/text to apply right of the title.
left
Command/text to apply left of the number.
right
Command/text to apply right of the number, e.g. a separator.
starter
Command/text to apply before typesetting the number.
stopper
Command/text to apply after typesetting the number.
text
Text to add left of the number, e.g. "Theorem" or "Lemma".
before
Command/text to apply before typesetting anything else.
after
Command/text to apply after typesetting everything else.
inbetween
Command/text to apply between the enumeration title and the text.
alternative
Specify the layout/location of the enumeration number and title.
left Typeset number + title in the left column, the text in the right.
right Typeset number + title in the right column, the text in the left.
margin Within the margin of the page.
top Above the text with a small space following.
empty Do not typeset number + title.
margin
dimension Extra space to add to the left margin to indent to the right.
color
Color of the text.
headcolor
Color of the header (number + title). Setting a titlecolor overrides the color for the title.

Description

Examples

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: