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

Compiling the following example (with xelatex or lualatex), I would expect to get violet letters abc:




However the result are black letters. Using \fontspec[Color=violet]{Verdana}abc, I get violet letters as expected. However I do not know how to change color in math mode. Further it breaks automatic coloring of TikZ nodes.

Is this by design, or is it a bug (in either xcolor or fontspec). Is there a workaround? How do I change math colors?

share|improve this question
up vote 4 down vote accepted

Bug in v2.1a of fontspec, sorry. V2.1b on CTAN fixes the problem.

share|improve this answer
Thank you. I should have updated TeX Live before asking here. – Caramdir Oct 9 '10 at 3:18

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.