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

In my document below, I would like to change the font of all percent signs to the font of the attached image. How can I do it?
BTW, I'm using XeLaTeX on TL2012.
enter image description here

share|improve this question
\renewcommand{\%}{\texttt{\char`\%}} – egreg Feb 22 '13 at 21:33
@egreg This isn't what I was looking for. The font differ from what I want. – Vahid Damanafshan Feb 22 '13 at 21:37
Find the font of the attached image. How can I know it? You wrote \texttt; just use in its place a font command choosing that font, in the form \renewcommand{\%}{{\thatfont\char`\%}} – egreg Feb 22 '13 at 21:39
It's hard enough to recognise a font from a text sample at the best of times but doing it from a single character is virtually impossible. Where did that image come from? have you not got it in a form that you can exactly determine the font, eg as a pdf file or word file or tex file or anything else where you have the internal structure rather than just a bitmap image? – David Carlisle Feb 22 '13 at 21:41
why didn't you say that in the question? or make a MWE that at least loaded the font or in any other way gave people the slightest clue? – David Carlisle Feb 22 '13 at 21:52
up vote 3 down vote accepted

pcrr8a is just an 8 letter name of an 8bit encoding for old systems, you just want Courier which you can load as a system font in xetex and use in maths just by using


after having set up \texttt to use Courier rather than computer modern

share|improve this answer
yes I did a double edit, will simplify – David Carlisle Feb 22 '13 at 22:29

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.