[texhax] Using textcomp symbol with New Century Schoolbook

Eduardo M KALINOWSKI eduardo at kalinowski.com.br
Wed Jan 7 13:44:37 CET 2009


Eduardo M KALINOWSKI escreveu:
>     The document uses the New Century Schoolbook font. In one or two
> places, however, I need the \textcurrency symbol which is made available
> through the textcomp package. But I get an error, like the following
> example shows:
>
> \documentclass{article}
> \usepackage{newcent}
> \usepackage{textcomp}
> \begin{document}
> \textcurrency
> \end{document}
>
> What I get is
>
> ! Package textcomp Error: Symbol \textcurrency not provided by
> (textcomp)                font family pnc in TS1 encoding.   
> (textcomp)                Default family used instead.       
>
> See the textcomp package documentation for explanation.
> Type  H <return>  for immediate help.
>  ...
>
> l.8 \textcurrency
>
> I understand the symbol is not available and the symbol from the default
> font is used. I'm OK with that, the symbol does appear and looks good
> enough. But is there a way to get rid of the error

I've found the solution: loading the textcomp package with the force and
almostfull options solves the problem:

\usepackage[force,almostfull]{textcomp}


-- 
Eduardo M Kalinowski
eduardo at kalinowski.com.br



More information about the texhax mailing list