If been trying to change the name of my table of contents. I've put this in my preamble:
\renewcommand\contentsname{Table of Contents}
I also tried to put it after the \tableofcontents command, but both times nothing is happening. I don't get an error or something, but the name isn't changed. Can someone help me out?
\documentclass[fleqn,10pt]{wlscirep}
\usepackage{float}
\usepackage{microtype}
\begin{document}
\tableofcontents
\renewcommand\contentsname{Table of contents}
\contentsnameis defined at all, it'll be defined in the document class file.) Please also be more specific as to what exactly "nothing is happening" means. What is currently typeset at the top of the table of contents? – Mico Dec 09 '16 at 09:07\contentsnameis often controlled by thebabelpackage, so it has to be changed in a very specific manner – daleif Dec 09 '16 at 09:08babel/polyglossia, as @daleif mentioned. – Torbjørn T. Dec 09 '16 at 10:36()for the\usepackagelines with{}(assume it was a typo). Are you really adding the\renewcommandafter\tableofcontents? If so, move it to before\tableofcontents. – Torbjørn T. Dec 11 '16 at 09:25