Skip to main content

Creating an equation — oXygen

This tutorial is written in order to familiarize a new user with MathFlow Editor's basic functions. Except as noted, screen shots throughout these tutorials show the MathFlow Structure Editor. If you're licensed for a different MathFlow Editor, the appearance may differ.

Start oXygen and create a new document of a MathML-aware template (such as the provided Framework template DocBook 5.0 article with MathML and SVG). Insert a new equation by choosing Insert > Equation from the oXygen DocBook5 menu or Custom Actions toolbar. (If the commands are not available, you may have the insertion point inside an element that doesn't allow inserting equations.) This will open a MathFlow Editor window. Please note that you may have to wait a few seconds for the MathFlow Editor to finish initializing (you may have to look under the oXygen window for it, since in some systems it may fail to be brought to the front). When it is ready, you should see

<strong>MathML ancestry <math> : <mrow></strong>

displayed to the right of the Style toolbar. The Structure Editor includes Design View and Source View. Click the Design View tab just below the editor window if it's not already selected.

The expression a2=b2+c2 may already be in the editor window. If so, delete it. Click in the editor window, and type this equation: x+y=9. Notice you don't have to use the space bar in-between symbols as you would have to if you typed it into a word processor; the editor automatically adds spacing for you.

oxygen_creating_an_equation-1.png

Try using the left and right arrow keys to move around in the equation. Change the equation to x+z=9. Notice that what you type appears to the left of the cursor. As you become more comfortable with editing equations, you'll begin to notice (except on a Mac) the delete key erases whatever is to the right of the cursor, while backspace erases whatever is immediately to its left. On a Mac, the delete key erases whatever is to the left of the cursor.

oxygen_creating_an_equation-2.png