Welcome to the UK List of
TeX Frequently Asked Questions
on the Web

Searching

The index of Frequently Asked Questions about TeX is searchable.

Please enter your keyword here:   then press here: ,    or:
Google

How to change LaTeX’s “fixed names”

LaTeX document classes define several typographic operations that need ‘canned text’ (text not supplied by the user). In the earliest days of LaTeX 2.09 these bits of text were built in to the body of LaTeX’s macros and were rather difficult to change, but “fixed name” macros were introduced for the benefit of those wishing to use LaTeX in languages other than English. For example, the special section produced by the \tableofcontents command is always called \contentsname (or rather, what \contentsname is defined to mean). Changing the canned text is now one of the easiest customisations a user can do to LaTeX.

The canned text macros are all of the form \<thingname>, and changing them is simplicity itself. Put:

\renewcommand{\<thingname>}{Res minor}

in the preamble of your document, and the job is done. (However, beware of the babel package, which requires you to use a different mechanism: be sure to check changing babel names if you’re using it.)

The names that are defined in the standard LaTeX classes (and the makeidx package) are listed below. Some of the names are only defined in a subset of the classes (and the letter class has a set of names all of its own); the list shows the specialisation of each name, where appropriate.

\abstractname Abstract
\alsoname see also (makeidx package)
\appendixname Appendix
\bibname Bibliography (report,book)
\ccname cc (letter)
\chaptername Chapter (report,book)
\contentsname Contents
\enclname encl (letter)
\figurename Figure (for captions)
\headtoname To (letter)
\indexname Index
\listfigurename List of Figures
\listtablename List of Tables
\pagename Page (letter)
\partname Part
\refname References (article)
\seename see (makeidx package)
\tablename Table (for caption)


Go to previous question, or next question

Go to FAQ home.

URL for this question: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=fixnam

Comments, suggestions, or error reports? - see “how to improve the FAQ”.

This is FAQ version 3.27, released on 2013-06-07.