I use the trick from How to get header and footer over ToC, LoF and Nomeclature? to ensure that all pages have headers and footers, including the first page of the Table of Contents, except without headers and footers on the front page:
\tableofcontents\thispagestyle{fancy}
That works fine. However, I then use the trick from TOC Text - numbers alignment to widen the space reserved for section numbers (so that section "10.10" doesn't cause overlapping text)
\usepackage{tocloft}
\setlength{\cftsubsecnumwidth}{3em}
Adding the tocloft command seems to reverse the 'fancy page style' command, so that the ToC no longer has headers and footers.
Do these commands need to be in some specific order to work correctly?
Alternatively, is there some other (non-tocloft) way to fix ToC numbers and text that overlap?
\usepackage[titles]{tocloft}is correct. Add the result!!! thanks!!!