General ⇒ Table of Contents
Table of Contents
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?
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
Table of Contents
Code: Select all
\renewcommand{\contentsname}{I love Cristiano Ronaldo}
But this kind of thing is specific to documentclass and packages, so providing a minimal working example is a good idea.