[texhax] Resetting \labelsep

Simmie, John john.simmie at nuigalway.ie
Wed Jul 29 10:36:05 CEST 2015

I have a very large document in which the table of contents messes up after the first 99 \sections
With the section number crashing into the section heading

Redefining via \setlength{\labelsep}{36pt} in the preamble does not work 

Standard enough format for the document

\usepackage{fancyhdr}% http://ctan.org/pkg/fancyhdr
\usepackage{lastpage}% http://ctan.org/pkg/lastpage
\pagestyle{fancy}% Set default page style to fancy
\renewcommand{\headrulewidth}{0pt}% Remove header rule
\fancyhead{}% Remove all header contents
\cfoot{Page \thepage\ of \pageref{LastPage}}% Page X of Y in the footer (centered)

The \thebibliography environment can be customised via \begin{\thebibliography}{99}
But the TOC ?

Prof. John M. Simmie::Combustion Chemistry Centre
                         NUI Galway::Ireland
                   Mo shùile togam suas

More information about the texhax mailing list