[Tex/LaTex] Shortcut for changing text color

colorkeyboardlyx

I want to create a shortcut in LyX for changing the color of selected text.

I tried to create a shortcut for "set-color green" or "set-color green green", but none of these worked.

What is the magic word?

Best Answer

Highlight the text and for green use

textstyle-update color 4

For a general approach for how to figure out the correct command, see http://tex.stackexchange.com/questions/208510/lyx-commands-to-insert-wysiwyg-horizontal-line-for-keyboard-shortcut/208531#208531

Related Question