How do I change the color of a subformula?

From Apache OpenOffice Wiki
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