Adjustment in the table of contents
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
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