blob: b93df96fad1baec5c51d60f7a737585988397650 [file] [log] [blame]
<meta http-equiv="REFRESH" content="10;url=http://wiki.services.openoffice.org/wiki/Documentation/FAQ" />
<h3>This page is outdated. You will be redirected to <a href="http://wiki.services.openoffice.org/wiki/Documentation/FAQ">http://wiki.services.openoffice.org
/wiki/Documentation/FAQ</a> shortly. Use the new menu list on the right.</h3>
<div style="margin-bottom: 10em;"></div>
<p><a href="../../index.html">Documentation</a> / <a href="../index.html">User FAQ</a> / <a href="index.html">Formula/Math</a> / <a href="010.html" accesskey="p">Previous</a>-<a href="012.html" accesskey="n">Next</a></p>
<h3>How do I change the color of a subformula?</h3>
<P>You can use the color command as follows:</P>
<UL>
<LI><KBD>color red ABC </KBD>typesets <FONT COLOR="#ff0000">ABC</FONT>.
</UL>
<P>There are eight different colors to choose from:</P>
<UL>
<LI><KBD>white</KBD>, <KBD>black</KBD>, <KBD>cyan</KBD>, <KBD>magenta</KBD>,
<KBD>red</KBD>, <KBD>blue</KBD>, <KBD>green</KBD>, <KBD>yellow</KBD>.
</UL>
<P>You can apply a color to an entire subformula if you group it with
{ } or other brackets. Example:</P>
<UL>
<LI>Enter<KBD> A B color green {C D} E </KBD>to typeset AB<FONT COLOR="#00ff00">CD</FONT>E.
</UL>
<P>When several colors are applied, the innermost takes precedence as
shown in this example:</P>
<UL>
<LI>Enter<KBD> color blue {A B color yellow C D} </KBD>to get
<FONT COLOR="#0000ff">AB<FONT COLOR="#ffff00">C</FONT>D</FONT>.
</UL>
<P>You cannot select the background color; a <I>Math</I> formula is
always transparent. This means that it inherits the background color
from the document (for example a writer document) it is contained in.</P>
<p><a href="../../index.html">Documentation</a> / <a href="../index.html">User FAQ</a> / <a href="index.html">Formula/Math</a> / <a href="010.html" accesskey="p">Previous</a>-<a href="012.html" accesskey="n">Next</a></p>