Changing the font in the ToC?
I am using the package memoir and I redefined the fonts related to the chapters headings:
renewcommandchapnamefont{normalfontLargesffamilyscshaperaggedleftso}
renewcommandchaptitlefont{normalfonthugesffamilybfseriesscshapecolor{darkBlue}}
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.

And the table of content:

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 ...
fonts table-of-contents
add a comment |
I am using the package memoir and I redefined the fonts related to the chapters headings:
renewcommandchapnamefont{normalfontLargesffamilyscshaperaggedleftso}
renewcommandchaptitlefont{normalfonthugesffamilybfseriesscshapecolor{darkBlue}}
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.

And the table of content:

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 ...
fonts table-of-contents
1
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 inmemoir
– Cedric H.
Oct 12 '11 at 7:10
add a comment |
I am using the package memoir and I redefined the fonts related to the chapters headings:
renewcommandchapnamefont{normalfontLargesffamilyscshaperaggedleftso}
renewcommandchaptitlefont{normalfonthugesffamilybfseriesscshapecolor{darkBlue}}
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.

And the table of content:

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 ...
fonts table-of-contents
I am using the package memoir and I redefined the fonts related to the chapters headings:
renewcommandchapnamefont{normalfontLargesffamilyscshaperaggedleftso}
renewcommandchaptitlefont{normalfonthugesffamilybfseriesscshapecolor{darkBlue}}
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.

And the table of content:

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 ...
fonts table-of-contents
fonts table-of-contents
edited 15 mins ago
Saphar Koshet
1021215
1021215
asked Nov 24 '10 at 16:22
Cedric H.
1,87831629
1,87831629
1
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 inmemoir
– Cedric H.
Oct 12 '11 at 7:10
add a comment |
1
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 inmemoir
– Cedric H.
Oct 12 '11 at 7:10
1
1
Very nice chapter headings by the way. What do you use for that?
– ℝaphink
Sep 2 '11 at 13:53
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
It's one of the available style in
memoir– Cedric H.
Oct 12 '11 at 7:10
add a comment |
3 Answers
3
active
oldest
votes
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
add a comment |
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:
usepackage{tocloft}
renewcommand{cftchapfont}{normalfontsffamily}
renewcommand{cftsecfont}{normalfontsffamily}
1
For whatever reason, I get acftsectionfont undefinederror when usingrenewcommand{cftsectionfont}{normalfontsffamily}. If I changecftsectionfonttocftsecfont, everything works as intended.
– user697473
Feb 27 '17 at 20:35
add a comment |
To make the TOC sans serif, just add the command textsf, like this:
textsf{tableofcontents}}
2
The font might be reset insidetableofcontentsby memoir. Anyway, I would recommend to use {sffamilytableofcontents}` instead.
– Martin Scharrer♦
Oct 12 '11 at 0:21
2
@MartinScharrer @Andre Using eithertextsf{tableofcontents}orsffamilytableofcontentsmakes the entries sans serif but NOT the page numbers. Any solution for this?
– Dominik
Nov 28 '15 at 16:58
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f5905%2fchanging-the-font-in-the-toc%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
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
add a comment |
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
add a comment |
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
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
answered Nov 24 '10 at 17:36
Ulrike Fischer
185k7289666
185k7289666
add a comment |
add a comment |
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:
usepackage{tocloft}
renewcommand{cftchapfont}{normalfontsffamily}
renewcommand{cftsecfont}{normalfontsffamily}
1
For whatever reason, I get acftsectionfont undefinederror when usingrenewcommand{cftsectionfont}{normalfontsffamily}. If I changecftsectionfonttocftsecfont, everything works as intended.
– user697473
Feb 27 '17 at 20:35
add a comment |
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:
usepackage{tocloft}
renewcommand{cftchapfont}{normalfontsffamily}
renewcommand{cftsecfont}{normalfontsffamily}
1
For whatever reason, I get acftsectionfont undefinederror when usingrenewcommand{cftsectionfont}{normalfontsffamily}. If I changecftsectionfonttocftsecfont, everything works as intended.
– user697473
Feb 27 '17 at 20:35
add a comment |
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:
usepackage{tocloft}
renewcommand{cftchapfont}{normalfontsffamily}
renewcommand{cftsecfont}{normalfontsffamily}
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:
usepackage{tocloft}
renewcommand{cftchapfont}{normalfontsffamily}
renewcommand{cftsecfont}{normalfontsffamily}
edited Aug 27 '17 at 18:17
Alberto
279112
279112
answered Nov 24 '10 at 18:08
Stefan Kottwitz♦
175k63567757
175k63567757
1
For whatever reason, I get acftsectionfont undefinederror when usingrenewcommand{cftsectionfont}{normalfontsffamily}. If I changecftsectionfonttocftsecfont, everything works as intended.
– user697473
Feb 27 '17 at 20:35
add a comment |
1
For whatever reason, I get acftsectionfont undefinederror when usingrenewcommand{cftsectionfont}{normalfontsffamily}. If I changecftsectionfonttocftsecfont, everything works as intended.
– user697473
Feb 27 '17 at 20:35
1
1
For whatever reason, I get a
cftsectionfont undefined error when using renewcommand{cftsectionfont}{normalfontsffamily} . If I change cftsectionfont to cftsecfont, everything works as intended.– user697473
Feb 27 '17 at 20:35
For whatever reason, I get a
cftsectionfont undefined error when using renewcommand{cftsectionfont}{normalfontsffamily} . If I change cftsectionfont to cftsecfont, everything works as intended.– user697473
Feb 27 '17 at 20:35
add a comment |
To make the TOC sans serif, just add the command textsf, like this:
textsf{tableofcontents}}
2
The font might be reset insidetableofcontentsby memoir. Anyway, I would recommend to use {sffamilytableofcontents}` instead.
– Martin Scharrer♦
Oct 12 '11 at 0:21
2
@MartinScharrer @Andre Using eithertextsf{tableofcontents}orsffamilytableofcontentsmakes the entries sans serif but NOT the page numbers. Any solution for this?
– Dominik
Nov 28 '15 at 16:58
add a comment |
To make the TOC sans serif, just add the command textsf, like this:
textsf{tableofcontents}}
2
The font might be reset insidetableofcontentsby memoir. Anyway, I would recommend to use {sffamilytableofcontents}` instead.
– Martin Scharrer♦
Oct 12 '11 at 0:21
2
@MartinScharrer @Andre Using eithertextsf{tableofcontents}orsffamilytableofcontentsmakes the entries sans serif but NOT the page numbers. Any solution for this?
– Dominik
Nov 28 '15 at 16:58
add a comment |
To make the TOC sans serif, just add the command textsf, like this:
textsf{tableofcontents}}
To make the TOC sans serif, just add the command textsf, like this:
textsf{tableofcontents}}
edited Oct 12 '11 at 0:19
Martin Scharrer♦
198k45632813
198k45632813
answered Oct 11 '11 at 22:21
Andre
111
111
2
The font might be reset insidetableofcontentsby memoir. Anyway, I would recommend to use {sffamilytableofcontents}` instead.
– Martin Scharrer♦
Oct 12 '11 at 0:21
2
@MartinScharrer @Andre Using eithertextsf{tableofcontents}orsffamilytableofcontentsmakes the entries sans serif but NOT the page numbers. Any solution for this?
– Dominik
Nov 28 '15 at 16:58
add a comment |
2
The font might be reset insidetableofcontentsby memoir. Anyway, I would recommend to use {sffamilytableofcontents}` instead.
– Martin Scharrer♦
Oct 12 '11 at 0:21
2
@MartinScharrer @Andre Using eithertextsf{tableofcontents}orsffamilytableofcontentsmakes the entries sans serif but NOT the page numbers. Any solution for this?
– Dominik
Nov 28 '15 at 16:58
2
2
The font might be reset inside
tableofcontents by memoir. Anyway, I would recommend to use {sffamilytableofcontents}` instead.– Martin Scharrer♦
Oct 12 '11 at 0:21
The font might be reset inside
tableofcontents by memoir. Anyway, I would recommend to use {sffamilytableofcontents}` instead.– Martin Scharrer♦
Oct 12 '11 at 0:21
2
2
@MartinScharrer @Andre Using either
textsf{tableofcontents} or sffamilytableofcontents makes the entries sans serif but NOT the page numbers. Any solution for this?– Dominik
Nov 28 '15 at 16:58
@MartinScharrer @Andre Using either
textsf{tableofcontents} or sffamilytableofcontents makes the entries sans serif but NOT the page numbers. Any solution for this?– Dominik
Nov 28 '15 at 16:58
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f5905%2fchanging-the-font-in-the-toc%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
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