General ⇒ \tableofcontets in TeXnicCenter
\tableofcontets in TeXnicCenter
Hi all,
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.
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.
NEW: TikZ book now 40% off at Amazon.com for a short time.

\tableofcontets in TeXnicCenter
Hi,
in the preamble of your document write something like this:
in the preamble of your document write something like this:
Code: Select all
\renewcommand\contentsname{The desired name}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: \tableofcontets in TeXnicCenter
Hi gmedina,
Thank you for your hint...
Unfortunatelly the command \renewcommand\contentsname{...} has no effect...
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
Build a minimnal working example (MWE) that show what is not working. And maybe you can tell us which language you are writing in. babel supports many languages so that it is very unlikely not to find your language in the list. The suggestion of gmedina doesn't work if babel is loaded.
Best regards and welcome to the board
Thorsten¹
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: \tableofcontets in TeXnicCenter
Hi Thorsten,
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
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
I guess you didn't really read what a MWE looks like. Please do that and try again. Looking at the babel manual, I see that Albanian is supported very well (Section 50 - The Albanian language, p. 250ff). You may have to build the right format files on your LaTeX system.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: \tableofcontets in TeXnicCenter
Excuse me, I was confused...
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.
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
Note that without any package supporting your language you won't have correct hyphenation. So try the babel package after building the right format files on your LaTeX system. Using MiKTeX this is easily done in the MiKTeX Settings.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: \tableofcontets in TeXnicCenter
ook, I'll try... Thanks for your hint
.
Regards

Regards