Here's a complete MWE showing the issue :
Code: Select all
Code, edit and compile here:
\documentclass[12pt,letterpaper,twoside]{book}\usepackage[T1]{fontenc}\usepackage{lmodern}\usepackage[total={6in,10in},left=1.5in,top=0.5in,includehead,includefoot]{geometry}\usepackage[nottoc,notlof]{tocbibind}\usepackage{tocloft}\setcounter{tocdepth}{3} % To add the subsubsections to the ToC.\renewcommand{\cftchappresnum}{\chaptername\ }\renewcommand{\cftchapaftersnum}{~-~} % To add "-" after the chapter's No.\setlength{\cftchapnumwidth}{120pt} % Width of chapter No.\cftpagenumbersoff{chapter} % Removes the chapter's page No. from ToC.\setlength{\cftsecindent}{18pt} % Indent of section No.\setlength{\cftsecnumwidth}{36pt} % Width of section No.\setlength{\cftsubsecindent}{54pt} % Indent of subsection No.\setlength{\cftsubsecnumwidth}{46pt} % Width of subsection No.\setlength{\cftsubsubsecindent}{118pt} % Indent of subsubsection No.\setlength{\cftsubsubsecnumwidth}{0pt} % Width of subsubsection No.\renewcommand{\cftsubsubsecfont}{\normalfont\sffamily\footnotesize} % Style of subsubsection.\usepackage{lipsum}\begin{document}\frontmatter\addcontentsline{toc}{section}{\textsl{A Few Words}}\addcontentsline{toc}{section}{\textsl{Notations and Conventions}}\addcontentsline{toc}{section}{\textsl{The Table of Contents}}\tableofcontents\mainmatter\chapter{Title of some chapter}\section{The title of some section}\lipsum[1-10]\subsection{Title of a subsection}\lipsum[1-10]\subsection{Title of a subsection}\lipsum[1-10]\subsection{Title of a subsection}\lipsum[1-10]\subsubsection{Title of some subsubsection}\lipsum[1-10]\subsubsection{Title of some subsubsection}
1. How can I define a constant spacing between the chapter's number and its title after it, with the "-" in between ? I don't think that doing it "by hand" is the correct way.
2. How can I define a nice spacing for all the section/subsection numbers and the title to its right, while maintaining some nice vertical alignment ? Currently, it is done by hand/eye, and it's not looking very nice.