TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

I'm working with TeXShop (Mac OS) and I want to change the color of text selection.

If I want to search for special words with CMD+F, the program highlights the text in a light gray color... Every time I have to search the selected position, because I couldn't find it immediately. If the selection color were red or something like that, this problem would disappear.

Thanks for your help!

share|improve this question
up vote 6 down vote accepted

The light grey colour is due to the fact that the window in focus is the search panel. If you find something and then click on the source window, the highlight will change to the system highlight colour. This can be changed using the system preferences. The system default may be some form of grey too.

Here is the System Preference panel where the highlight colour can be changed:

enter image description here

If you choose 'Other' you will get a colour palette and you can choose any colour you like.

To see the difference in the focus, here are two images. The first, is when focus is in the Search Panel:

search panel focus

Now when I select the source window, the highlight changes to my selected colour (in this case bright yellow).

source panel focus

But the behaviour of highlights in windows that are not in focus is not changeable, I don't think.

share|improve this answer

In the CMD+F search window, if you click the "Highlight" button in the lower left, it will highlight all occurrences of the search text in the document. The highlight colour used can be selected in the TeXShop preferences - the default is a bright magenta. This shows up in the document window even when the search window has focus.

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.