They can appear with in the following tags:
tag
After a little handparsing the contents of a mathematical tag looks like:
<!element xx - - (((fr|lim|ar|root) | (pr|in|sum) | (#pcdata|mc|(tu|phr)) | (rf|v|fi) | (unl|ovl|sup|inf))*)>
xx
stands for f
, dm
or eq
. All of them are the same.
<!element fr - - (nu,de) > <!element nu o o ((%fbutxt;)*) > <!element de o o ((%fbutxt;)*) >
So what we see from it is, that a fraction consits of a numerator and a denumerator tag, wich again each one can hold a mathematical formula.
I thing an example will tell you more:
<dm><fr><nu/7/<de/13/</fr></dm>
results to:
In case we wanto to place 1/2 instead of the numerator without cleaning it up, we'll type:
<dm><fr><nu><fr><nu/1/<de/2/</fr></nu><de/13/</fr></dm>
Wich results to:
<!element pr - - (ll,ul,opd?) > <!element in - - (ll,ul,opd?) > <!element sum - - (ll,ul,opd?) >
ll
tag), a upper limit (ul
tag), and a optional operand, where each
of them again may consist of a formula.
Product
<f>y=<pr><ll>i=1<ul>n<opd>x<inf/i/</pr></f>
<f>y=<in><ll>a<ul>b<opd>x<sup/2/</in></f>
<f>y=<sum><ll>i=1<ul>n<opd>x<inf/i/</sum></f>
<!element lim - - (op,ll,ul,opd?) > <!element op o o (%fcstxt;|rf|%fph;) -(tu) > <!element ll o o ((%fbutxt;)*) > <!element ul o o ((%fbutxt;)*) > <!element opd - o ((%fbutxt;)*) >
You can use that one for operators with upper and lower limits other than
products, sums or integrals. The for the other types defined operator is
destinied by the op
tag, wich can contain again a mathematical formula.
n
<!element ar - - (row, (arr, row)*) > <!attlist ar ca cdata #required > <!element arr - o empty > <!element arc - o empty > <!entity arr "<arr>" > <!entity arc "<arc>" >
ar
) is noted down aequivalent to a tabular (see
section
The Tabular Tag).
The differences in handling are:
<hline>
tag.ca
attribute character |
is not allowd.colsep
tag but with the arc
tag
(array collumn).rowsep
tag but with the arr
tag
(array row).|
and @
are mapped to the adequate separator
tag, so you really can note a array same way as a tabular.
<dm><ar ca="clcr"> a+b+c | uv <arc> x-y | 27 @ a+b | u+v | z | 134 <arr> a | 3u+vw | xyz | 2,978 </ar></dm>
Is mapped to:
<!element root - - ((%fbutxt;)*) > <!attlist root n cdata "">
root
tag, wich contains a n
attribute, holding the value for the "n'th" root.
<dm><root n="3"/x+y/</dm>
is mapped to:
<!element fi - o (#pcdata) >
With the figure tag you can place mathematical figures. The tagged characters are directly mapped to a mathematical figure. Wich character is mappt to wich figure you'll find int Mathematical Figures.
<!element rf - o (#pcdata) >
I'm really not shure about rf
. What should it be?
No formula is allowed within that tag.
<dm><rf/Binom:/ (a+b)<sup/2/=a<sup/2/+2ab+b<sup/2/</dm>
is mapped to:
The remaining tags simply modify the tagged formula, without implying any other tag.
name
v
<f><v/a/×<v/b/=<v/0/</f>
ovl
<f><ovl/1+1/=<ovl/2/</f>
unl
<f><unl/1+1/=<unl/2/</f>
sup
<f>e=m×c<sup/2/</f>
inf
<f>x<inf/i/:=2x<inf/i-1/+3</f>