This section shows the use of mathematical formulas.
We start with a definition. There is no extra element for it, we use the remark element with class definition:
A positive integer is prime, if it has exactly two dividors:
For a theorem, we use a remark element with class theorem. We put it also on a slide:
The amount of prime numbers up to a number is approximately:
For inline formula use the element m (see slide 2.2). The element eq is used for block formulas. With class align multiline formulas are possible:
The CDATA declaration is necessary to protect the & signs. If you add the id attribute, you can set a reference to this formula 2.2.