[Tex/LaTex] Using \textsc{} within \section{}

sectioningsmall-caps

When I try to do something like \section{Heading with \textsc{small caps}}, the compiler complains with "LaTeX Font Warning: Some font shapes were not available, defaults substituted." and replaces the small-caps with normal test.

Any suggestions on how to fix this?

Best Answer

The standard Computer Modern fonts don't contain bold small caps. You could use the CM-Super fonts instead; add to the preamble

\usepackage[T1]{fontenc}