TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the package memoir and I redefined the fonts related to the chapters headings:


But altough I am using a sans-serif font for the chapters, the ToC use a serif version of LM. That's not a major problem except that I have this warning:

LaTeX Font Warning: Font shape `T1/lmss/bx/sc' undefined

So Latex is complaining that it can't find a small-caps and bold version of LM sans-serif.

alt text

And the table of content:

alt text

So I am a bit confused:

  • My chapters appear as I want (sans serif font)
  • The ToC looks like it is using serifed fonts
  • Yet it is complaining not to find a SS font
  • I have this strange problem with viii
  • LM SS seems to have a SC bold version: Latex font catalogue

It seems that I don't know enough about Latex and fonts ...

share|improve this question
Very nice chapter headings by the way. What do you use for that? – ℝaphink Sep 2 '11 at 13:53
It's one of the available style in memoir – Cedric H. Oct 12 '11 at 7:10
up vote 6 down vote accepted

LaTeX tells you that it is find a font. It also tells you which font it uses instead:

 LaTeX Font Warning: Font shape `T1/lmss/bx/sc' undefined
 (Font)              using `T1/lmss/bx/n' instead on input line 8.

Substituations are normal. As you can see here a sans serif font is used as substitute.

\chapnamefont defines the font of the vertical chapter beside the large "2" not the font in the toc.

For the problem with "viii": http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tocloft

share|improve this answer

The commands for the TOC entries are different to the commands for the headings. To get sans serif fonts in the TOC, redefine the \cftXfont commands, where X stands for chapter, section etc.

This will achieve sans serif chapter and section entries in the TOC:

share|improve this answer

To make the TOC sans serif, just add the command \textsf, like this: \textsf{\tableofcontents}}

share|improve this answer
The font might be reset inside \tableofcontents by memoir. Anyway, I would recommend to use {\sffamily\tableofcontents}` instead. – Martin Scharrer Oct 12 '11 at 0:21
@MartinScharrer @Andre Using either \textsf{\tableofcontents} or \sffamily\tableofcontents makes the entries sans serif but NOT the page numbers. Any solution for this? – Dominik Nov 28 '15 at 16:58

Your Answer


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.