Changes

Jump to navigation Jump to search
<context source="yes" text="This, when typeset, produces the following:">
The famous result (once more) is given by
\setupformulas [left={[}, right={]}, numberstyle=bold] 
\startplaceformula
\startformula
</context>
To get equations also numbered by section,
use the command {{cmd|setupnumbering}} <code>\setupnumbering[way=bysection]</code> in the preamble of your document.
This means that the section number preceeds the formula number.
Add also {{cmd|setupnumber}} <code>\setupnumber[formula][way=bysection]</code> to reset with each new section.
 
<context source="yes" text="This, when typeset, produces the following:">
The famous result (once more) is given by
\setupformulas
[left={[},
right={]},
numberstyle=bold]
 
\setupnumbering [way=bysection] % to add the section number to the formula number
\setupnumber [formula] [way=bysection] % to reset with each new section
\startsection[title=First title]
\startplaceformula
\startformula
c^2 = a^2 + b^2
\stopformula
\stopplaceformula
\stopsection
 
\startsection[title=Second title]
\startplaceformula
\startformula
c^2 = a^2 + b^2
\stopformula
\stopplaceformula
\stopsection
</context>
To get equations also numbered by section, add the command:
<texcode>
\setupnumber[formula][way=bysection]
</texcode>
To the start of your document.
To get alphabets instead of numbers, use
1,047

edits

Navigation menu