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

Possible Duplicate:
How can I change the color of digits when using the listings package?
Listings package: How can I format all numbers?

Is it possible to have colors for integers using the listings package? I tried to define integers from 0 to 9 in keywords then having keywords having a different style, but it doesn't work.

share|improve this question

marked as duplicate by Torbjørn T., Marco Daniel, percusse, Werner, Peter Grill Jun 16 '12 at 18:07

This question was marked as an exact duplicate of an existing question.

Browse other questions tagged or ask your own question.