General ⇒ \tableofcontets in TeXnicCenter
\tableofcontets in TeXnicCenter
I've just started working with TeXnicCenter and have already a problem:
I have to write a document in an language for which one there doesn't exist a package (e.g. like for german: \package[german]{babel}), and so when I wirte \tableofcontets, I get the Content of the document, BUT: The title on the content-page is CONTENT, in english, but I want also this word "CONTENT" in the documentlanguage.
My question: Is it possible to change the word CONTENT, wich automatically appears in the document? How can I do it?
Regards.
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
\tableofcontets in TeXnicCenter
in the preamble of your document write something like this:
Code: Select all
\renewcommand\contentsname{The desired name}
Re: \tableofcontets in TeXnicCenter
Thank you for your hint...
Unfortunatelly the command \renewcommand\contentsname{...} has no effect...
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
\tableofcontets in TeXnicCenter
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: \tableofcontets in TeXnicCenter
Thanks for your hints...
The document-language albanian; babel doesn't support this language.
When I write:
\documentclass{article}
\begin{document}
\tableofcontents
...
\end{document}
I get a blank page where you can read only "Content". But becaouse the text is in albanian, it doesn't go with "Content"; in stead of the word "Content" I want the albanian word for content, "Përmbajtje".
Regards.
Toni
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
\tableofcontets in TeXnicCenter
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: \tableofcontets in TeXnicCenter
Now it works with the gmedina's hint

\renewcommand{\contentsname}{Përmbajtje}
The problem was: I had in Preambel two packackes which support the german language, and after I left them out, it works...
Thanks a lot for your help.
Regards.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
\tableofcontets in TeXnicCenter
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: \tableofcontets in TeXnicCenter

Regards