I need help formatting my Table of Contents. All my sections have a roman numeral numbering system that I would like to keep but it does not space it right in the Table of Contents. I also prefer the subsubsection look over subsection but do not know how to move the subsubsection listings in the Table of Contents to the left (i.e. less indented). Here is my code (I left some unimportant stuff out - like the actual contents of each section):



% place figures and tables where it seems like they should be  

% automatically center figures/tables  

% \usepackage{authblk}  







% Better subsubsection formatting  


% I have a bunch of title stuff here %



\section{Technical Discussion of Approaches}

\section{Test Schedule}


\subsubsection{Load Cell Calibration}

From this, my Table of Contents looks like: Code Output for Table of Contents

I would also like if the TOC dots were for each section AND subsubsection. Right now, they only show up for the subsubsection listings. Also, as you can see, my preamble is very messy and some parts might be redundant. When I try to "clean it up", I get nasty failure errors. If you have suggestions there too, I would love to hear them. Thanks!


For the ToC use the tocloft package (> texdoc tocloft to read the manual). In your preamble put

\renewcommand*{\cftsecdotsep}{4.5}  % use dots in the section entries
\renewcommand*{\cftsecnumwidth}{3em} % increase space for Roman numerals
\renewcommand*{\cftsubsubsecindent}{2em} % reduce indent of subsubsection titles 

Adjust the 3em and 2em lengths to suit.

Not a good idea to use [H] floats see Is float placement [H] considered heinous?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.