I want to change some special character's color in listing for example all Parenthesis be red. I don't want to make them keywords they should have different color. is it possible?
[Tex/LaTex] Change Character Color in listing
colorlistings
colorlistings
I want to change some special character's color in listing for example all Parenthesis be red. I don't want to make them keywords they should have different color. is it possible?
Best Answer
You could use the
literate
key; in the following example. parentheses are typeset in red: