Open main menu

Changes

ConTeXt provides an easy way to number the display maths equations. Simply, insert the {{cmd|startformula}} in the {{cmd|startplaceformula}} environment, and you will get numbered equations.
 
<context source="yes" text="This, when typeset, produces the following:">
You can use {{cmd|setupformulas}} to change the format of numbers. For example to get bold numbers inside square brackets use
<table widthcontext source="100%yes" colstext="2" cellpadding="5"><tr valign="top"><td width="50%"><texcode> \setupformulas[left={[}This,right={]}when typeset,numberstyle=bold]</texcode></td> <td>which gives <contextproduces the following:">\setuppapersize[A5]\setuplayout[width=8cm]The famous result (once more) is given by
\setupformulas[left={[},right={]},numberstyle=bold]
The famous result (once more) is given by\placeformulastartplaceformula
\startformula
c^2 = a^2 + b^2.
\stopformula
\stopplaceformula
</context>
</td></tr></table> 
To get equations also numbered by section, add the command:
1,005

edits