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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- 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