Basic Structure of Formula Encoding
Formulas are first tagged with an empty <formula/>
element. In a second capturing step, the formulas can be transcribed according to the TeX notation and enclosed using <formula>[...]</formula>
. The <formula>
element gets an attribute @notation
, in which the notation ("TeX"
or "MathML"
) is specified. In another attribute @facs
, a graphical representation of the corresponding formula can be referenced.
The formulas include:
- mathematical and physical formulas and equations,
- fractions (with fraction line; if not available as Unicode entity),
- chemical compounds,
- expressions of logic.
<formula>
.Formulas can be either within a line (inline) or separated from the continuous text. In the latter case, the line break is specified before and after the formula using <lb/>
. If there is a punctuation mark immediately after a formula, it is included. Layout information (e. g. centering) is not taken into account.