3.3. Modifying existing equations

Let's suppose you have entered the following equation: . After doing that, you realize that the correct equation is in fact: . One way to correct the equation is to:

  1. to explicitly select ,

  2. press Ctrl+C to copy the fraction to the clipboard,

  3. click the template from the "Operations & Functions" palette to replace the selection,

  4. explicitly select the left mi placeholder,

  5. press Ctrl+V to paste the fraction,

  6. Finally, replace the right mi placeholder by an mn element containing 1.

Fortunately there is a much quicker way to do this: wrapping in XMLmind XML Editor - Online Help, rather than replacing, the explicit or implicit selection (whether it's a text or node selection). Therefore the most efficient way to correct the above equation is to proceed as follows:

  1. select "2 x 3" normally, by dragging your mouse over this text or alternatively, use the Node Path Bar to explicitly select m:mfrac ,

  2. Ctrl+click (Cmd+click on the Mac) the template in order to wrap the selected fraction,

  3. Finally, replace the right mi placeholder by an mn element containing 1.

[Note]

In some cases, you'll find that the text selection will not let you select the MathML element you want. For example, let's suppose you have entered and the correct equation is . There is no way to select the square root using the text selection.

When this is the case, you'll have to explicitly select the MathML element (for example, by clicking on m:msqrt in the Node Path Bar) you want to wrap and then Ctrl+click (Cmd+click on the Mac) on a template of a palette.