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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
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