GeneralTable of Contents

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
pedropon
Posts: 1
Joined: Tue Jan 11, 2011 11:08 pm

Table of Contents

Post by pedropon »

Hello!
If I create in my tex document a table of contents I do it using the command \tableofcontents. In my pdf output i will same the table of contents. The title is Contents. I want only to change the title to "I love Cristiano Ronaldo". I would i do it?

Recommended reading 2024:

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

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

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Table of Contents

Post by frabjous »

In some document classes you could use:

Code: Select all

\renewcommand{\contentsname}{I love Cristiano Ronaldo}
right before \tableofcontents.

But this kind of thing is specific to documentclass and packages, so providing a minimal working example is a good idea.
Post Reply