The chapter lines of my ToC should only have the number, not the word "Chapter". I used
\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:
1 [Space the length of "Chapter"] Name-of-chapter
instead of
1 Name-of-chapter
- Code: Select all • Open in writeLaTeX
\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
}
Any assistance in removing this unwanted horizontal space (the length of "Chapter") would be appreciated.