Formatting Formulas in NeoOffice Math

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 12:22, 15 July 2007 (edit)
Jgd (Talk | contribs)
(some fixes)
← Previous diff
Current revision (00:43, 17 July 2007) (edit) (undo)
Lorinda (Talk | contribs)
(remove Fixme)
 
(3 intermediate revisions not shown.)
Line 1: Line 1:
-{{fixme}} 
- 
===Using colors in formulas=== ===Using colors in formulas===
You can use characters of different colors in the same formula. You can use characters of different colors in the same formula.
Line 7: Line 5:
**The chosen color applies to all the linked characters that follow the command, and only to them: e.g. <tt>color red abc de</tt> displays ''abc'' in red followed by ''de'' in black. To get ''abc de'' in red, you have to type <tt> color red {abc de}</tt>. **The chosen color applies to all the linked characters that follow the command, and only to them: e.g. <tt>color red abc de</tt> displays ''abc'' in red followed by ''de'' in black. To get ''abc de'' in red, you have to type <tt> color red {abc de}</tt>.
-===Highlighting of formulas===+===Highlighting formulas===
To highlight a formula, you have two possibilities: To highlight a formula, you have two possibilities:
* Select the formula, then right click or Ctrl–Click. In the contextual menu which appears, choose {{prefName|Object}} then click the {{section|Highlighting}} tab. Choose the highlight color.<br/> * Select the formula, then right click or Ctrl–Click. In the contextual menu which appears, choose {{prefName|Object}} then click the {{section|Highlighting}} tab. Choose the highlight color.<br/>
or 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, choose in the {{menu| View}} menu the {{menu| Toolbars}} sub-menu, then the {{menu| OLE-Object}} item. Click the {{section|Background}} tab. Choose the highlight color.+* 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 {{menu| View}} menu choose the {{menu| Toolbars}} sub-menu, then the {{menu| OLE-Object}} item.) Click the {{section|Background}} tab. Choose the highlight color.
===Adding Borders to formulas=== ===Adding Borders to formulas===
Line 17: Line 15:
* Select the formula, then right click or Ctrl–Click. In the contextual menu which appears, choose {{prefName|Object}} then click the {{section|Borders}} tab. Choose the arrangement, the syle of the lines, and the spacing to contents.<br/> * Select the formula, then right click or Ctrl–Click. In the contextual menu which appears, choose {{prefName|Object}} then click the {{section|Borders}} tab. Choose the arrangement, the syle of the lines, and the spacing to contents.<br/>
or 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 {{menu| View}} menu the {{menu| Toolbars}} sub-menu, then the {{menu| 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.+* 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 {{menu| View}} menu the {{menu| Toolbars}} sub-menu, then the {{menu| 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=== ===Spacing between the formula and the border===
To set up the spacing between the formula and the border, you have to: 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 {{menu|Format}} menu and choose the {{menu|Spacing…}} sub-menu * Double-click the formula in order to open the command window. Then go to the {{menu|Format}} menu and choose the {{menu|Spacing…}} sub-menu
-* In the dialog window that appears, click the {{button|Category}} button and select {{section|Borders}}. Set up the spacing as you want. If you click the {{button|Default}} button, your changes will apply for all new formulas, otherwise only the formula you are writing will be concerned by the modification.+* In the dialog window that appears, click the {{button|Category}} button and select {{section|Borders}}. Set up the spacing as you want. If you click the {{button|Default}} button, your changes will apply for all new formulas, otherwise only the formula you are writing will be affected by the modification.

Current revision

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.



This article in other languages: Français Italiano
Personal tools