Changes

Jump to navigation Jump to search
986 bytes added ,  18:34, 11 July 2005
Added equation numbering, part 1.
[[MathAlignment]] is covered on a separate page.
 
==Formula Numbering==
 
As mentioned above, formulas can be numbered using the <cmd>placeformula</cmd> command. This (and the related <cmd>placesubformula</cmd> command have an optional argument which can be used to produce sub-formula numbering. For example:
 
<texcode>
\placeformula{a}
\startformula
c^2 = a^2 + b^2
\stopformula
 
\placesubformula{b}
\startformula
c^2 = a^2 + b^2
\stopformula
</texcode>
 
<context>
\placeformula{a}
\startformula
c^2 = a^2 + b^2
\stopformula
 
\placesubformula{b}
\startformula
c^2 = a^2 + b^2
\stopformula
</context>
 
What's going on here is simpler than it might appear at first glance. Both <cmd>placeformula</cmd> and <cmd>placesubformula</cmd> produce equation numbers with the optional tag added at the end; the sole difference is that the former increments the equation number first, while the latter does not (and thus can be used for the second and subsequent formulas that use the same formula number but presumably have different tags).
 
==Number Formatting==

Navigation menu