I am teaching a probability course involving lots of gambling and hence, since I'm in the UK, I would like to use £ in some formulae. I use utf8x input enconding, T1 font encoding and the eulervm maths fonts. Nevertheless, £ inside math-mode comes out like a dollar sign.

Here's a minimum working example:



A gambler wins $£1$ with probability $p$ and loses $£1$ with probability $1-p$.


Commenting out the line which calls the eulervm package works, but I really like the eulervm fonts, so any help would be immensely appreciated.

  • In the meantime I'm putting the £ outside math-mode, so it's not as if this is critical, but I would like to know the answer. Mar 11 '12 at 22:31

I would recommend using utf8 instead of utf8x and of leaving £ outside of math mode, to which it doesn't belong.

If you want to use it in math mode you have to teach how to LaTeX

Method A (utf8 option):


Method B (utf8x option):

  • Thanks. I am undecided about leaving the £ outside of math mode. I tend to agree that they detract from the maths, yet at the same the currency is a system of units and just as in physics formulae, the units are often part of the equation. Mar 11 '12 at 22:48
  • One question: why do you recommend utf8 instead of utf8x? I must admit I forgot why I made that choice when I thought about that problem. Mar 11 '12 at 22:49
  • utf8x is not maintained and it's incompatible with some packages, notably biblatex.
    – egreg
    Mar 11 '12 at 22:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.