|
Formatting Formulas in NeoOffice Math
From NeoWiki
This article is not up to date, or it needs structural or stylistic changes to conform with the rest of this wiki.
Contents |
Using colors in formulas
You can use characters of different colors in a 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 squared matrix of order two whose four elements are of 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 of 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 tab Highlighting. Choose the highlight color.
or
- Select the formula, then click the icon Frame Properties in the toolbar OLE-Object (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 tab Background. Choose the highlight color.
Bordering of formulas
To border 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 tab Borders. Choose the arrangement, the syle of the lines, and the spacing to contents.
or
- Select the formula, then click the icon Borders in the toolbar OLE-Object (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 icon Borders, choose the line arrangement, then click the icon Line Style and finally the icon Line color (of the border).
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 the 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 concerned by the modification.