\renewcommand{\chaptername}{}
as follows in modifying my university's template (which is unfortunately wrong). However, while the word "Chapter" is gone, the space taken up by it is not, so an entry looks like:
instead of1 [Space the length of "Chapter"] Name-of-chapter
1 Name-of-chapter
Code: Select all
Code, edit and compile here:
\renewcommand{\tableofcontents}{%\renewcommand{\chaptername}{}\doublespace\if@twocolumn\@restonecoltrue\onecolumn\else\@restonecolfalse\fi\chapteroneside*{%\contentsname\@mkboth{%\MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%\@starttoc{toc}%\if@restonecol\twocolumn\fi}