Theses, Books, Title pagesCustom indentation in table of content [legrand-orange]

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
sc28
Posts: 1
Joined: Thu Jun 28, 2018 12:36 am

Custom indentation in table of content [legrand-orange]

Post by sc28 »

I'm trying to control the indentation of the sections and subsections in the legrand table of contents but can't figure how.

I tried using the solution from https://tex.stackexchange.com/a/411182/121286, by adding the following lines in the structure.tex file:

Code: Select all

%Custom indent of ToC subsections (https://tex.stackexchange.com/questions/111478/how-to-add-more-indentation-for-section-in-table-of-contents)
\makeatletter
\renewcommand*\l@section{\@dottedtocline{1}{1.5em}{3.0em}}
\makeatother
Current ToC i'd like to change:
Image

Indentation style I'm looking for:
Image

Is my attempt supposed to work out of the box? If not, what should I do? Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
Post Reply