O'Reilly logo

LaTeX Beginners Guide by Stefan Kottwitz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Changing the headings

Like in our diagram example, if you don't like the heading Contents, you could easily change it. The text of the heading is stored in the text macro \contentsname. So, just redefine it as follows:

\renewcommand{\contentsname}{Table of Contents}

Here's a list of all those headings:

List

Heading command

Default heading

Table of contents

\contentsname

Contents

List of figures

\listfigurename

List of figures

List of tables

\listtablename

List of tables

Bibliography

\bibname in book and report

\refname in article

Bibliography in book and report

References in article

Index

\indexname

Index

Furthermore, as promised, here's a list of further macros for names used by LaTeX:

Name

Command

Default value

figure

\figurename ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required