I would like to center the caption of my table of contents, so that it looks as follows:
Table of contents
1. Section 1
1.1 Subsection 3
1.2 Subsection 5
2 Section 11
Instead of
Table of contents
1. Section 1
1.1 Subsection 3
1.2 Subsection 5
2 Section 11
I've tried to \renewcommand{\contentsname}{\centerline{Table of contents}}, which worked fine for the apperance on the page.
But I'm using a book style where at the top of the page, on the left side, I want to have the name of the current chapter/section/whatsoever. But if I do the above, the text Table of contents is not on the left side, but in the middle (because of the \centerline).
Is there a way to accomplish what I want?