Inserting Math objects on the other Apache OpenOffice components
Either on a Writer document, on a vector grafic prepared on Draw, on an Impress slide show or even on a Calc spreadsheet it is possible to introduce a complex mathematical expression using Apache OpenOffice Math.
From any Apache OpenOffice component it is possible to introduce a Math object with Insert → Object → Formula.
It is also possible to enable a button on a toolbar or assign a keyboard shortcut to insert a Math object. For example, on the Insert toolbar available on Writer there is by default a button, that displays a square root of a, with that function: .
On the following screen shot we can see a Math object being edited on Writer (on the other components it is quite similar)
The Math editor is separated on three elements
- The formula preview
- The editor (lower part on the screen shot)
- A floating menu with buttons to insert the formula elements on the editor
The Math editor works on "text mode": the different parts of the formula are build with instructions in a similar way a how LaTeX works. On another section more details will be provided.
It is important to note that the instructions can be inserted not only directly, but also with the floating menu "Elements" or with the contextual menu over the edit area.
Math on Writer
Math do not offer an integrated system to number equations, but on Writer it is possible to use an AutoText: writing fn and pressing a table with one row and two columns will be inserted, the first cell with a Math object and the second with a sequence field that will number the expression.
It is possible to include Math objects not only on text, but also on tables or frames. It is not possible to include them on text boxes created with the drawing tools, though.
On Apache OpenOffice from version 3.4 there is an option to automatically set the vertical alignment for a Math object. It is possible to toggle this option on Tools → Options → OpenOffice Writer → Formatting Aids → Layout assistance → Math baseline alignment.
Math on the Other Components
On both Draw and Impress, Math objects are floating and can be freely moved to any position, as well as rotated to any angle simply using the corresponding tools. On Calc, Math objects can be moved freely too, but they are anchored to the cell from which were inserted.
As on Writer, it is not possible to include a Math object on a text box.