How do I change the color of a subformula?

From Apache OpenOffice Wiki
< Documentation‎ | FAQ‎ | Formula
Revision as of 09:50, 7 November 2008 by Ufi (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


How do I change the color of a subformula?


You can use the color command as follows:


  • color red ABC typesets ABC.

There are eight different colors to choose from:

  • white, black, cyan, magenta, red, blue, green, yellow.


You can apply a color to an entire subformula if you group it with { } or other brackets. Example:

  • Enter A B color green {C D} E to typeset ABCDE.

When several colors are applied, the innermost takes precedence as shown in this example:

  • Enter color blue {A B color yellow C D} to get

ABCD.


You cannot select the background color; a Math formula is always transparent. This means that it inherits the background color from the document (for example a writer document) it is contained in.

Personal tools