Adjustment in the table of contents
![](https://secure.gravatar.com/avatar/d7c3317235884569312c31f786d43bbc.jpg?s=120&d=mm&r=g)
Hi, I wish to have the table of contents as the attached image. The result is almost as expected except for the margin of the subsection. \setuplist [chapter,section,subsection] [width=fit,distance=\spaceamount] \setuplist [chapter] [alternative=b] \setuplist [chapter][style=bold] \setuplist [section] [margin=1em] \setuplist [subsection] [margin=2.75em] Thanks Fabrice
![](https://secure.gravatar.com/avatar/74d41c3215dcdd377343cdc47311757c.jpg?s=120&d=mm&r=g)
Fabrice Couvreur via ntg-context schrieb am 16.08.2021 um 11:24:
Hi, I wish to have the table of contents as the attached image. The result is almost as expected except for the margin of the subsection.
\setuplist [chapter,section,subsection] [width=fit,distance=\spaceamount]
\setuplist [chapter] [alternative=b]
\setuplist [chapter][style=bold]
\setuplist [section] [margin=1em] \setuplist [subsection] [margin=2.75em]
Use fixed values for the width. \setuplist [chapter] [width=1em] \setuplist [section] [margin=1em,% chapter width width=1.75em] \setuplist [subsection] [margin=2.75em,% chapter width + section width width=2em] Wolfgang
participants (2)
-
Fabrice Couvreur
-
Wolfgang Schuster