20 Editing mathematical formulae

The formula 1 is built according to the Math structure schema. Like tables, graphics or trees, mathematical formulae are handled through the basic functions of the Thot system. They are simply described by a structure schema and a presentation schema. Editing a formula is carried out in the same way as editing the rest of the document.

To create a mathematical formula, choose the ``Other'' or ``Other_Nature'' entry from the Block menu proposed by the ``Insert'' command, then choose the object type Math. The editor then proposes the menu of mathematical constructs. These constructs are the same as the constructs of the math environment of LaTeX.

A window containing the palette of mathematical symbols is displayed, so that mathematical symbols can be chosen and modified. You can also access this palette by selecting the ``Math symbols'' entry from the ``Palettes'' menu. It is also displayed each time the user selects a basic element of type SYMBOL in a formula (try to select the symbol S in formula 1).

As you can see in the formula below, the dimension of math symbols varies according to other elements of the construct: for instance, the height of an integral increases or decreases according to the height of bounds and the contents of the integrand.

A formula can even be inserted within the text, as this one: [Here is a formula] (it has been inserted as a Paragraph_Element) and can be edited in the position in which it is displayed. The Inlstyle (In Line Style) attribute on a mathematical formula allows the user to modify the typography of the formula as shown in this example : [Here is a formula]

(1) F(y) = 12 p-¥y(Sk = 1nsin2xk (t))f (t) dt

[Section 21] [Table of contents]