MathJax icon indicating copy to clipboard operation
MathJax copied to clipboard

`\textsterling` is italic in textcomp package

Open hbghlyj opened this issue 2 years ago • 4 comments

Issue Summary

By default \textsterling is italic: $\textsterling1\approx\textdollar1.26$ I note that most currency symbols are upright by default: $\textyen\ \textdollar$

italic in LaTeX: {\it\textsterling} 1

default in LaTeX: \textsterling 1 or \pounds 1

Supporting information:

  • Please supply a link to a (live) minimal example page: https://jsbin.com/donirov/edit

hbghlyj avatar Feb 10 '24 22:02 hbghlyj

The MathJax TeX fonts used in v3 do not have an upright version of the pound symbol, only an italic one, so that is why the italic form is used (That comes from how TeX originally handled this symbol).

The version 4 fonts have greater glyph coverage, and include an upright version of this character, which is what \textsterling will produce in v4.

dpvc avatar Feb 12 '24 14:02 dpvc

(That comes from how TeX originally handled this symbol).

Yes, the pound symbol is in the italic $ slot in Plain TeX.

hbghlyj avatar Feb 13 '24 09:02 hbghlyj