
14. Editing mathematics
Amaya proposes a Wysiwyg interface where MathML mathematical expressions are handled as
structured components, in the same way as (X)HTML elements. Therefore, you can manipulate math
expressions in the same way you manipulate other parts of (X)HTML documents. All editing commands
provided by Amaya for handling text are also available for math, but there are some additional controls
for entering mathematical constructs. Note that the different browsers don't behave in the same way with
MathML: see the browsers compatibility section for more informations.
14.1. Creating mathematical formulae
14.1.1. New formula
Generally, mathematical formulae are not alone but included in a document with text, table, images... to
do this, you have to create a XHTML document. Otherwise, you can create a MathML document (mml)
for instance to use the formulae in other software tools. To do so, use command File / New / New
formula or type Ctrl-n Ctrl-m.
To create a new mathematical expression in a document, move the insertion point to the position where
you want to insert an expression, and then click the Math button (the first) from the Math palette, or
choose Insert a formula from the Insert/Math submenu. Here are examples with a formula inserted
directly in the XHTML document or inside an SVG image :
Γ
(
x
)
=
∫
0
+∞
t
x − 1
ⅇ
− t
ⅆt
14.1.2. The Math submenu
The Insert/Math submenu includes presentation MathML elements.
• The first items create new elements of a given type in a mathematical expression : Plain text
(mtext), Identifier (mi), Number (mn), Operator (mo). These commands can also change the
type of a single element or a sequence of elements.
• The next command, Space (mspace), allows you to add space in a formula. To change its size,
you have to modify its width attribute. See spacing.
14. Editing mathematics
41
Commenti su questo manuale