Open main menu

Changes

=Sub-Formula Numbering=
== Automatic Sub-Formula Numbering Formulae numbering with {{cmd|startsubformulas}} ==
To use subformula numbering, you can use {{cmd|startsubformulas}}/{{cmd|stopsubformulas}}. For example
 <table widthcontext source="100%yes" colstext="2"><tr valign="top"><td width="50%This, when typeset, produces the following:"><texcode>The famous result (once more) is given by 
Examples:
\startsubformulas[eq:1]
\placeformula[eq:first]
\startformula
c^2 = a^2 + b^2
\stopformula
\placeformulastartplaceformula[eq:first]\startformula c^2 = a^2 + b^2 \stopformula\stopplaceformula \startplaceformula[eq:second]\startformulac^2 = a^2 + b^2\stopformula\stopformulastopplaceformula 
\stopsubformulas
Formula (\in[eq:1]) states
the Pythagora's Theorem twice,
once in (\in[eq:first]) and
again in (\in[eq:second]).
</texcode>
</td><td>
<context>
\setuppapersize[A5]
\setuplayout[width=8cm]
Examples:
\startsubformulas[eq:1]
\placeformula[eq:first]
\startformula
c^2 = a^2 + b^2
\stopformula
\placeformula[eq:second]\startformulac^2 = a^2 + b^2\stopformula\stopsubformulasFormula (\in[eq:1]) states the Pythagora's Theorem twice, once in (\in[eq:first]) and again in (\in[eq:second]).
</context>
</td></tr></table>
 
== The Manual Method ==
1,005

edits