Command/setupformula

From Wiki
Jump to navigation Jump to search


\setupformula

Summary

The command \setupformula is used to define properties of formulae.

Settings

\setupformula[...,...][...=...,...]
[...,...]name
locationleft right
alignleft middle right flushleft center flushright normal
splityes no page
strutyes no
distancedimension
leftcommand
rightcommand
spacebeforesee \blank
spaceaftersee \blank
numbercommandoneargument
colorcolor
numberstylestyle command
numbercolorcolor
optionpacked tight middle frame depth line halfline -line -halfline see \setupbodyfont
marginyes no standard dimension
leftmargindimension
rightmargindimension
alternativename
indentnextyes no auto
gridsee \snaptogrid
framenumber
hangnone auto
expansionyes no xml
referenceprefix+ - text
xmlsetupname
catcodesname
...=...,...inherits from \setupcounter

OptionExplanation
location
placement of numbering. There’s also atleftmargin/atrightmargin (don’t use indent)
align
alignment of formula lines. There’s also slanted: first line left, last line right aligned.
split
line breaking behavior. There’s also line: no line breaking (can cause overfull hboxes)
left
in front of the number. default: “(”
right
after the number. default: “)”
margin
left and right indent

Description

For RtL documents, there’s order=reverse to switch the number alignment.

The math manual mentions margindistance.

Examples

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: