[Tex/LaTex] Capitalise table of contents title with tocloft

capitalizationtable of contentstocloft

Simple question, but I can't put the answer together through googleing. I want to capitalize the table of contents TITLE in my LaTeX document. Nothing else. I'm using the tocloft package and various links I've read through suggest renewing the \cfttoctitlefont command, but I haven't had much luck.

Best Answer

If you only want to capitalize the ToC title and not to use a different name, the following works:

\documentclass{article}

\usepackage{tocloft}

\renewcommand{\cfttoctitlefont}{\normalfont\Large\bfseries\MakeUppercase}

\begin{document}

\tableofcontents

\section{foo}

\end{document}

enter image description here

Related Question