Latex - how to get non-italic UK pound sign

  • Context: LaTeX 
  • Thread starter Thread starter AlephZero
  • Start date Start date
  • Tags Tags
    Latex Sign Uk
Click For Summary
SUMMARY

The discussion focuses on obtaining a non-italic UK pound sign in LaTeX using MikTeX. Users reported that the \pound and \textsterling commands produced italic symbols when the times package was used. The solution is to replace the obsolete times package with the txfonts package, which correctly provides the desired non-italic pound symbol. This adjustment resolves the issue of missing glyphs in LaTeX's character representation.

PREREQUISITES
  • Familiarity with LaTeX document preparation system
  • Understanding of font packages in LaTeX, specifically times and txfonts
  • Knowledge of MikTeX installation and configuration
  • Basic troubleshooting skills for LaTeX log files
NEXT STEPS
  • Research the differences between the times and txfonts packages in LaTeX
  • Learn how to manage font encodings in LaTeX documents
  • Explore additional font packages available for LaTeX
  • Investigate LaTeX character representation and glyph availability
USEFUL FOR

This discussion is beneficial for LaTeX users, particularly those working with document formatting, font management, and anyone needing to customize symbol representations in their typesetting projects.

AlephZero
Science Advisor
Homework Helper
Messages
6,998
Reaction score
299
Latex - how to get non-italic UK "pound" sign

I'm using MikTex. When I do

\usepackage{times}

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?
 
Physics news on Phys.org
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:
Thanks, that worked :smile:
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
8K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
8K