How to change the title of ToC?

That is not a MWE because it's far from minimal. Also you don't have to sign with your name since it automatically appears in the lower right corner of your post.

Commented Sep 15, 2011 at 8:57 @N.N. is it MWE now? I think I have to use in my preamble to show you. Commented Sep 15, 2011 at 9:11 I think it's can be more minimal. Please read the link I supplied carefully. Commented Sep 15, 2011 at 9:17

2 Answers 2

How you change the title of the table of contents depends on if you're using the babel package or not.

Without babel or polyglossia

You can change the name of the table of contents by redefining \contentsname as the following illustrates:

\documentclass \renewcommand \begin \tableofcontents \section \subsection \end

With babel or polyglossia

If you use either the babel or polyglossia package you'll have to change the name for the particular language you use with babel or polyglossia. Say that you load babel or polyglossia with english , then you do the following:

\documentclass \usepackage[english] \addto\captionsenglish% % > \begin \tableofcontents \section \subsection \end

Either way you'll end up with the following result:

Title of table of contents changed to

777k 70 70 gold badges 1.6k 1.6k silver badges 2.5k 2.5k bronze badges answered Sep 15, 2011 at 8:55 36.4k 30 30 gold badges 143 143 silver badges 205 205 bronze badges My babel language was USEnglish ; I had to change the command to \captionsUSenglish . Commented Sep 26, 2013 at 7:22

It might be dependent on document class or babel vs polyglossia (or possibly a compilation engine): for me, with book class and Lua(La)TeX, \captionsUSenglish doesn't work with polyglossia's \setdefaultlanguage[variant=us] , but \captionsenglish does.

Commented Jan 20, 2020 at 17:02

An alternative to N.N's solution that some might prefer if they're using the Memoir class is to redefine \printtoctitle instead of changing \contentsname directly. The reason for this is that often (and apparently by default) the ToC will list a reference to its own page within itself, and it will use \contentsname for both the ToC title and the reference, which can produce a jarring discontinuity of style with other chapter listings within the ToC.

With printtoctitle you can avoid this problem, since as described on page 147 of the Memoir manual, it's used to call \contentsname during ToC title creation, so you can shift all the formatting there instead.

Here's an example:

\documentclass[openany] \usepackage % This works well. \renewcommand<\printtoctitle>[1] <\Huge\sffamily #1>% This won't work well. %\renewcommand <\Huge\sffamily Contents>\begin \tableofcontents \chapter \end