|
Formatting Formulas in NeoOffice Math
From NeoWiki
Contents |
Using colors in formulas
You can use characters of different colors in the same formula.
- Go to the Insert menu, choose the Object sub-menu, then the Formula item. The command window appears in the bottom of your document.
- You have five colors to choose from: blue, green, yellow, red, cyan, white. Those commands have to come just before the characters they apply to: e.g. to get a square matrix of order two whose four elements are each a different color, type
M = left( matrix{color red a # color green b ## color blue c # color cyan d} right)- The chosen color applies to all the linked characters that follow the command, and only to them: e.g. color red abc de displays abc in red followed by de in black. To get abc de in red, you have to type color red {abc de}.
Highlighting formulas
To highlight a formula, you have two possibilities:
- Select the formula, then right click or Ctrl–Click. In the contextual menu which appears, choose Object then click the Highlighting tab. Choose the highlight color.
or
- Select the formula, then click the icon Frame Properties in the OLE-Object toolbar (that bar should display as soon as the formula has been selected, otherwise, in the View menu choose the Toolbars sub-menu, then the OLE-Object item.) Click the Background tab. Choose the highlight color.
Adding Borders to formulas
To add a border to a formula, you have two possibilities:
- Select the formula, then right click or Ctrl–Click. In the contextual menu which appears, choose Object then click the Borders tab. Choose the arrangement, the syle of the lines, and the spacing to contents.
or
- Select the formula, then click the icon Borders in the OLE-Object toolbar (that bar should display as soon as the formula has been selected, otherwise, choose in the View menu the Toolbars sub-menu, then the OLE-Object item.) Click the Borders icon, choose the line arrangement, then click the Line Style icon and finally the Line color (of the border) icon.
Spacing between the formula and the border
To set up the spacing between the formula and the border, you have to:
- Double-click the formula in order to open the command window. Then go to the Format menu and choose the Spacing… sub-menu
- In the dialog window that appears, click the Category button and select Borders. Set up the spacing as you want. If you click the Default button, your changes will apply for all new formulas, otherwise only the formula you are writing will be affected by the modification.