Select the text you wish to change the colour of, right click on it, and choose Text style --> Customized. Here you can choose among other things the colour. See screenshots at the bottom.
Should you wish to use other colours, you can redefine the existing colours, by adding some code to the preamble. Go to Document --> Settings --> laTeX Preamble, and add for instance
\definecolor{green}{RGB}{0, 180, 0}
to change the colour called "green" in the text style dialogue. You cannot add new colour names to the GUI, see http://wiki.lyx.org/Tips/Color
Should you want other colours, you would have to use LaTeX code. Load the xcolor
package by adding \usepackage{xcolor}
to the preamble, add a code box in the text, by hitting Ctrl + L, and write \textcolor{<colourname>}{This is in colour.}
. <colourname>
can be a colour you have defined yourself using the syntax mentioned above, or one of colours defined by xcolor
– see the xcolor
manual.
My guess is that you need to delete a set of config files that is created by LyX. Reinstalling LyX does not, probably, delete those files and the new LyX install sees the old configs. Under Linux you can delete your ~/.lyx
directory, under Windows a similar directory under Documents and settings
(the name of this folder heavily depends on which version of Windows you use, if any :).
Best Answer
You can insert the LaTeX command
overset
:Just insert it as red text.