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 found these rows of code in this thread:


which changes the font for the listings but not for the numbers. Are there a different set of commands for doing that?

share|improve this question
up vote 5 down vote accepted

Page 164 of the memoir manual provides the answer:

share|improve this answer
I can't believe it. I have read those pages over and over again but for some reason I can't seem to understand the content of them... :( – jonalv Mar 26 '11 at 21:04

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.