Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

warning and different copyright symbol with textcomp?

81 views
Skip to first unread message

Aaron Rendahl

unread,
May 19, 2008, 3:13:34 PM5/19/08
to
Background: I'm using Sweave, which automatically includes these
packages
\usepackage[T1]{fontenc}
\usepackage{ae}
\usepackage{upquote}

and when I include the \copyright symbol in my file, I get the
warning

LaTeX Font Warning: Font shape `TS1/aer/m/n' undefined
(Font) using `TS1/cmr/m/n' instead
(Font) for symbol `textcopyright' on input line 7.

Since it's just a warning and I am still getting a copyright symbol
where I should, I should probably leave well enough alone. But I saw
that the copyright symbol I get from this is slightly different than
the normal one (capital vs lowercase c), so I investigated further and
found that the upquote package is calling the textcomp package, which
is the actual cause.

The following minimal document (log given below) gives the warning
(and the capital C)

\documentclass{article}
\usepackage{textcomp}
\usepackage[T1]{fontenc}
\usepackage{ae}
\begin{document}
\copyright
\end{document}

and commenting out the textcomp package does not give a warning and
gives the lowercase c.


I wondered if textcomp was forcing it to use the TS encoding because
this line is in textcomp:
\DeclareTextSymbolDefault{\textcopyright}{TS1}

but this doesn't give a warning and gives the lowercase c.

\documentclass{article}
%\usepackage{textcomp}
\usepackage[TS1]{fontenc}
\usepackage{ae}
\begin{document}
\copyright
\end{document}


Again, it does work, so really I'm just curious what's going on here.
Any explanations or pointers to appropriate documentation would be
appreciated.

Thanks,
Aaron Rendahl
University of Minnesota School of Statistics

-------
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
\write18 enabled.
%&-line parsing enabled.
entering extended mode
(./copyright.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax,
dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak,
german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi,
finnish,
french, greek, monogreek, ancientgreek, croatian, hungarian,
interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk,
polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian,
swedish,
turkish, ukenglish, ukrainian, loaded.
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/2007/texmf-dist/tex/latex/ae/ae.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/t1enc.def)
(/usr/local/texlive/2007/texmf-dist/tex/latex/ae/t1aer.fd)))
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/textcomp.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/ts1enc.def))
(./copyright.aux) (/usr/local/texlive/2007/texmf-dist/tex/latex/base/
ts1cmr.fd)

LaTeX Font Warning: Font shape `TS1/aer/m/n' undefined
(Font) using `TS1/cmr/m/n' instead
(Font) for symbol `textcopyright' on input line 6.

[1{/usr/local/texlive/2007/texmf-var/fonts/map/pdftex/updmap/
pdftex.map}]
(./copyright.aux)

LaTeX Font Warning: Some font shapes were not available, defaults
substituted.

){/usr/local/texlive/2007/texmf-dist/fonts/enc/dvips/cm-super/cm-
super-ts1.enc
}</usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/
cmr10.pfb></usr/loc
al/texlive/2007/texmf-dist/fonts/type1/public/cm-super/sfrm1000.pfb>
Output written on copyright.pdf (1 page, 5573 bytes).
Transcript written on copyright.log.

0 new messages