[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

latex: how to output the ¢ (cent) symbol

I have a potato system with all the usual latex stuff on it.

I am working with a lot of latin1 (ISO-8859-1) text and need to output
the ¢ (cent) symbol, which is latin1 character number 162 (0xa2). How
can I do that? Almost all other characters work fine with the latin1
input encoding.

Here's a little example document.

Yo Günther, a nickle is \$0.05 or 5¢.

Running latex gives me this output:

plum:~$ latex cent.tex
This is TeX, Version 3.14159 (Web2C 7.3.1)
LaTeX2e <1998/12/01> patch level 1
Babel <v3.6x> and hyphenation patterns for american, french, german,
ngerman, n
ohyphenation, loaded.
Document Class: letter 1999/02/09 v1.2z Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/inputenc.sty beta test version
(/usr/share/texmf/tex/latex/psnfss/times.sty) (cent.aux)

! LaTeX Error: Command \textcent unavailable in encoding OT1.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
l.5 Yo G^^fcnther, a nickle is \$0.05 or 5^^a2

Thanks for your help and/or pointers!


Reply to: