Suppose I have the following code snippet in my *.tex document (src ;-) ):
Dolorem ipsum color sit amet.
I'd love to be able to select part of that text (e.g. color
), do something quick and convenient (Macro? Keyboard shortcut? Key binding? Other?) to add something to make the typeset text be colored. In other words, I want a shortcut to turn the above line into the following line:
Dolorem ipsum \textcolor{red}{color} sit amet.
Is there a way within TeXShop to quickly change the (typeset) color of selected text without inserting the code manually? I want to do this frequently, so I want it to be as quick as possible.
This is very similar to Does TeXShop for Mac have key bindings?, except I want to make the text a particular color instead of making it bold (which has many more possible solutions).