Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
    
Which document class are you using? Are you loading any special font packages? The warning means that small caps are not available for the section font. You might try to use {\normalfont\scshape text} instead, but it might not look good. –  Martin Scharrer May 9 '11 at 22:28

1 Answer 1

up vote 10 down vote accepted

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}
share|improve this answer
2  
AFAIK, to use the CM-Super what you actually need to do is install cm-super, and you don't really need \usepackage[T1]{fontenc} to use cm-super AFAIK, although it's a good idea for other reasons, and with T1 fontenc the fonts being used are not CM fonts but actually EC fonts. (I may be wrong, please correct me.) –  ShreevatsaR May 10 '11 at 6:42
    
@ShreevatsaR: my system (TeX Live2010) comes with cm-super installed. And \usepackage[T1]{fontenc} changes from cm to cm-super. I don't know what's the situation with other distributions (MiKTeX). –  Gonzalo Medina May 10 '11 at 11:17
2  
cm-super was not bundled with my distribution and the solution did not work for me. Says T1/cmss/bx/sc is undefined. –  MaPePeR Jul 18 '13 at 12:24
    
It seems like CM-Super is not installed with my distribution either (MacTeX-2013, which includes the complete TeX Live 2013 distribution). When trying to use \textsc in a section header, I get a similar warning: Font shape 'T1/lmr/bx/sc' undefined. –  Nagel Jun 7 '14 at 7:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
http://tex.stackexchange.com/questions/17830/using-textsc-within-section?answertab=votes
tex.stackexchange.com
crawl=CC-MAIN-2015-11
70679
application/http; msgtype=response
sha1:EQUWPKTGSNGKIXEU5S5XBF6BCOQPFLVD
<urn:uuid:1af0841f-fe3a-4114-b803-96cb0c5ea02c>
2015-03-03T16:50:06Z
198.252.206.140
sha1:FEO4D6IYSGCII7EDZYWI2G5EKPIAWUMH
<urn:uuid:790b96d9-da80-4e46-b7aa-dc4b578e70c7>
http://tex.stackexchange.com/questions/17830/using-textsc-within-section?answertab=votes
response
<urn:uuid:78fd342a-fbc4-4f82-874e-030bd8c549a6>
robots: classic
hostname: ip-10-28-5-156.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2015-11
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for February 2015
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf