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

I saw almost everyone who uses TeXmaker has syntax highlight, why I don't ?

I have used the default in option->editor

The others:


my: I need not black color for below command


share|improve this question
emm, the stackexchange makes the second one having red 'documentclass' but in real environment it is black – Tiina Aug 2 '13 at 15:52
You can wrap your comment into your post. What is your question about? I don't understand how document class is related to highlighting. – dustin Aug 2 '13 at 16:04
option->Configure-->editor: use same colorhexa value as in Text= #000000 -->Black in LaTeX command= #000000 instead of default #800000 maroon – texenthusiast Aug 2 '13 at 16:04
@dustin That is an example that the others have "\documentclass", which is a Latex command cherry, but I have it black. I want to change the black into another color. – Tiina Aug 2 '13 at 16:16
@texenthusiast after restart the Texmaker, your method works. :) if still fails I would restart the computer. Windows, you know... Thank you – Tiina Aug 2 '13 at 16:23
up vote 2 down vote accepted

Comments converted into answer to make this thread answered:

Open TeXmaker and set option->Configure-->editor: use same colorhexa value as in Text= #000000 --> Black in LaTeX command= #000000 instead of default #800000 maroon

Sometimes TeXmaker might need a Restart to take the Syntax highlighting into effect.

choose the color schemes you wish using hexa code at http://www.colorhexa.com/color-names

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.