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 have a document in which the text is typeset in Garamond. The mathematics symbols are not typeset in Garamod, which is the way I like it. However, I would like the numbers 0...9 to be typeset in Garamond. How do I achieve this?

EDIT: I am emphasizing that I do not want all my mathematics in Garamond, only the digits 0...9

share|improve this question
up vote 5 down vote accepted

You can do it like this (replace phv by the name of your font):





share|improve this answer
Worked perfectly, thanks! – Ben Dec 21 '10 at 14:26

The font of single characters or symbols may be changed by \DeclareMathSymbol:


For complete switching to Garamond, you could use mathdesign with garamond option:

% In the case of another commercial Garamond font like `pad` add afterwards:
share|improve this answer
Unfortunately that didn't work. I am using a proprietary Garamond from my university which is invoked by \renewcommand{\rmdefault}{pad}. – Ben Dec 14 '10 at 20:05
Specify that after loading mathdesign. I extended my answer. – Stefan Kottwitz Dec 14 '10 at 20:31
That still gives me an error. (file ugmmi8a.pfb): cannot open Type 1 font file for reading – Ben Dec 16 '10 at 10:26
@Ben: ugmmi8a.pfb belongs to the urw-garamond package, you need to install that for mathdesign-garamond, even if you later switch to pad. – Stefan Kottwitz Dec 16 '10 at 12:41
OK, but that did not give me the desired result, for one, the characters 0...9 are now typeset in the new Garamond, not 'pad'. Worse, all mathematics symbols are now typeset in Garamond. – Ben Dec 21 '10 at 14:07

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.