Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Latex - how to get non-italic UK pound sign

  1. Aug 26, 2007 #1


    User Avatar
    Science Advisor
    Homework Helper

    Latex - how to get non-italic UK "pound" sign

    I'm using MikTex. When I do


    and then use \pound or \textsterling in non-maths mode, I get the italic version of the "pound" symbol from the Times Roman font. I want a non-italic pound symbol.

    I also get this message in the .log file

    LaTeX Font Info: Font shape `OT1/ptm/m/ui' in size <10> not available
    (Font) Font shape `OT1/ptm/m/it' tried instead

    I guess this is something to do with the font encoding, system not the font itself. The standard Time Roman fonts certainly include both "roman" and "italic" shaped pound symbols. Gee, even MS Word can display them so it can't be hard :rolleyes:

    How can I get the symbol that I want, not the symbol LaTeX thinks I ought to want?
  2. jcsd
  3. Aug 27, 2007 #2
    Use the txfonts package instead of times. The times package is obsolete--it does not change the font used for typesetting mathematics, and it evidently does not provide all of the glyphs defined in LaTeX's internal character representation. I was able to duplicate your problem with the times package; when I replaced it with the txfonts package, the "\textsterling" command seems to generate the character that you want.
    Last edited: Aug 27, 2007
  4. Aug 27, 2007 #3


    User Avatar
    Science Advisor
    Homework Helper

    Thanks, that worked :smile:
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook