views:

153

answers:

1

Hello *,

I currently use the \textnumero sign in my LaTeX document. Therefore, I need to include the 'textcomp' package. When doing so I get a compiler error stating:

! Package textcomp Error: Symbol \texnumero not provided by
(textcomp) font family ptm in TS1 encoding.
(textcomp) Default family used instead.

\usepackage[T1]{fontenc}
\usepackage{times}
\usepackage{ucs}
\usepackage[latin1]{inputenc}
\usepackage[textcomp]

%... somewhere in the document
\textnumero ...

How can I get rid of this message? Can I set some other font or encoding for the number sign only?

Many Thanks,
Ovanes

A: 

Ok, I got it. Changing to font which has this sign solved the issue.

\usepackage{savesym}
\usepackage{amsmath, amsfonts, amsthm, amssymb}
\savesymbol{iint}
\usepackage{txfonts} % this is the font
\restoresymbol{TXF}{iint}
\usepackage{ucs}
\usepackage[ansinew]{inputenc}



\usepackage{textcomp}

Note! savesym package is now needed to avoid errors, that iint is already defined.

Regards,
Ovanes

ovanes