TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There seem to be commands of various quality. A command like \section has some structural effects and differs considerably from commands like \dots or author-defined shortcuts (for example \eg for "for example") that rather affect the textual content than the documents layout and that are distracting when scattered all over the document. Nevertheless, both are highlighted very similar.

My question: Is there a(n easy) way to de-highlight pre-defined commands like \dots and author-defined commands like \eg in TexShop?

share|improve this question
The highlighting of LaTeX commands is done by your editor. So, you should say which editor you are using. Most editors allow the user to change the highlighting scheme or even define new ones. – matth Mar 11 '12 at 9:19
This depends entirely on the editor you use (which you didn't specify), and has very little to do with TeX. In some editors, such as vim, this would be very easy to do, yet I don't know if the same is true for TeXnixCenter etc. If you specify your editor we might be able to help you. – romeovs Mar 11 '12 at 9:21
Thanks for the hint! – Philip Mar 11 '12 at 9:43
As far as I know, there is no way to customize the syntax highlighting patterns in TeXShop. :( – Alan Munn Mar 11 '12 at 15:03
Hm and ok and thanks. – Philip Mar 12 '12 at 12:20
up vote 5 down vote accepted

Unfortunately there is no way to customize the syntax highlighting patterns in TeXShop.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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