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