Generalchanging the \contentsname

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
adhikarig
Posts: 12
Joined: Mon Apr 28, 2008 12:34 am

changing the \contentsname

Post by adhikarig »

Hi

I am writing a class file for my thesis using book class. when i rename the \contentsname to Table of Contents using \renewcommand inside the class file, no change is observed. but it does change when i use the same command in my tex file just above \tableofcontents. Is it possible to write inside the class file or i have to write inside the tex file.

thanks

gopal

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
Stefan Kottwitz
Site Admin
Posts: 10360
Joined: Mon Mar 10, 2008 9:44 pm

changing the \contentsname

Post by Stefan Kottwitz »

Hi gopal,

welcome to the LaTeX Community board!
Do you use babel? Then it should work with the \addto command, see Changing the words babel uses in the UK TeX FAQ.

Stefan
LaTeX.org admin
adhikarig
Posts: 12
Joined: Mon Apr 28, 2008 12:34 am

Re: changing the \contentsname

Post by adhikarig »

Thanks Stefan
Post Reply