Theses, Books, Title pagesbook orange template TOC subsection text issue

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

book orange template TOC subsection text issue

Post by hbr59 »

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.
Attachments
picture that shows the PDF with issue in the TOC
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 3491 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

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

book orange template TOC subsection text issue

Post by Stefan Kottwitz »

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:

Code: Select all

% Subsection text styling
\titlecontents{subsection}[1.25cm] % Indentation
{\addvspace{1pt}\sffamily\small} % Spacing and font options for subsections
{\contentslabel[\thecontentslabel]{1.25cm}} % Subsection number
{}
{\ \titlerule*[.5pc]{.}\;\thecontentspage} % Page number
[]
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.

Stefan
LaTeX.org admin
Post Reply