You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\contentsline {part}{I\hspace {1em}I want to enlarge the space between the label and the content}{2}
\contentsline {chapter}{\numberline {1}Introduction}{3}
\contentsline {section}{\numberline {1.1}Just a sample section}{3}
\contentsline {subsection}{\numberline {1.1.1}Explain}{3}
Note that part doesn't use \numberline. Therefore, we need to be a bit smarter with how we try and format that ToC entry. Should be able to check if the token list contains \numberline, if not branch and check if it contains \hspace, then parse out the hard-coded formatting and insert the required internal tocloft macros.
Or just patch the \part macro… it's an unfortunate situation!
The text was updated successfully, but these errors were encountered:
A typical
.toc
file looks like this:Note that
part
doesn't use\numberline
. Therefore, we need to be a bit smarter with how we try and format that ToC entry. Should be able to check if the token list contains\numberline
, if not branch and check if it contains\hspace
, then parse out the hard-coded formatting and insert the required internaltocloft
macros.Or just patch the
\part
macro… it's an unfortunate situation!The text was updated successfully, but these errors were encountered: