LaTeX forum ⇒ Theses, Books, Title pagesbook orange template TOC subsection text issue

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Posts: 1
Joined: Sat Apr 18, 2015 10:06 am

book orange template TOC subsection text issue

Postby hbr59 » Sat Apr 18, 2015 10:27 am

the Table of contents section issue.

the subsection text overwrites the numbering, for more details see the attached picture with snapshotof the issue.

need more space between the numbering and subsction title, such that the Capital V doesn't overwrite the 4 from 21.1.104
Would like to have a correct positioned layout

in structure i have tried to increase
1./the addvspace,
2./the section intendation
3./the contentslable

updated each option seperatly and it doesn't provide me with a good solution.

Any suggestion to solve this.
picture that shows the PDF with issue in the TOC
2015_04_18_09_59_49_main.pdf_Adobe_Acrobat_Reader_DC.png (2.93 KiB) Viewed 1993 times


User avatar
Stefan Kottwitz
Site Admin
Posts: 8953
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Tue Apr 21, 2015 9:27 pm

Welcome to the forum!

Generally, I would use the tocstyle package which calculates the widths automatically. So numbers and text would not overlap in any case. It uses several LaTeX runs to finally adjust.

However, the template uses the titletoc package. No problem, but you have to decide the widths. You correctly looked in structure.tex. There's this command:

  1. % Subsection text styling
  2. \titlecontents{subsection}[1.25cm] % Indentation
  3. {\addvspace{1pt}\sffamily\small} % Spacing and font options for subsections
  4. {\contentslabel[\thecontentslabel]{1.25cm}} % Subsection number
  5. {}
  6. {\ \titlerule*[.5pc]{.}\;\thecontentspage} % Page number
  7. []

Change, for example, 1.25cm to 1.5cm at both places, compile, and take a look. You may want to do it for chapter and section as well.

Site admin

Return to “Theses, Books, Title pages”

Who is online

Users browsing this forum: No registered users and 3 guests