GeneralChanging "Contents" to "Table of Contents"

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
tresfresh
Posts: 11
Joined: Wed Oct 08, 2008 2:37 pm

Changing "Contents" to "Table of Contents"

Post by tresfresh »

Hi all,
I need a way to change the "Contents" to "Table of contents" in the table of contents page. Does anyone have a solution?
thanks, Chris

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Changing "Contents" to "Table of Contents"

Post by localghost »

A very simple problem.

Code: Select all

\renewcommand{\contentsname}{Table of Contents}
Insert this line in the preamble of your document.


Best regards
Thorsten¹
User avatar
Stefan Kottwitz
Site Admin
Posts: 10347
Joined: Mon Mar 10, 2008 9:44 pm

Changing "Contents" to "Table of Contents"

Post by Stefan Kottwitz »

Hi Chris,

only in case you are using babel for instance with option english, there would a small modification be necessary:

Code: Select all

\addto\captionsenglish{\renewcommand{\contentsname}{Inhalt}}
Without babel Thorstens line will work well, not my line above.

Stefan
LaTeX.org admin
tresfresh
Posts: 11
Joined: Wed Oct 08, 2008 2:37 pm

Re: Changing "Contents" to "Table of Contents"

Post by tresfresh »

Thanks Thorsten, Thanks Stefan,
God bless you guys,
Regards, Chris
Post Reply