GeneralChange table of contents title

LaTeX specific issues not fitting into one of the other forums of this category.
troelslp
Posts: 2
Joined: Fri Dec 14, 2012 7:05 pm

Change table of contents title

Post by troelslp »

I'm adding that to my preamble and now I get:

Code: Select all

\addto
           {\captionsdanish}{\renewcommand*{\contentsname}{Table of contents}}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
(Changed the language to Danish though, but neither english or danish works)
Last edited by cgnieder on Tue Dec 18, 2012 9:30 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Re: Change table of contents title

Post by Stefan Kottwitz »

Perhaps babel is missing (but then the original solution should work). Well, you could activate babel (multilingual support) by a LyX setting somewhere.

By the way, it would be better if you would begin a new thread for a problem, with the description of your specific case. This thread is more than 4 years old and has been solved in 2008 already. So perhaps there are not so much reader anymore who would open and read it.

Stefan
LaTeX.org admin
Post Reply