I know that it is possible to change the color of blocks of text, however I seem to be having trouble changing it character by character. I know it is possible to do it in LaTeX, but I'm not sure if it can be done in Lyx. I tried copying the code into the lyx 'LaTeX' box, but it spat out error messages. Any ideas?

Here is the thread that discusses how to change it in LaTeX:

Colored symbols


Yes, this is possible.

Mark the character you wish to color, the go to Edit > Text Style > Customized and choose the color you wish your character to have. Repeat for the next character.

enter image description here

You can speed this process up by adding a shortcut to the dialog box: Tools > Preferences > Editing > Shortcuts > New, then as function use dialog-show character.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.