I'm trying to color specific text in LyX, wondering how to do that with the graphical user interface (shortcut or something of sorts).
migrated from stackoverflow.com Oct 31 '11 at 14:29
This question came from our site for professional and enthusiast programmers.
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
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