spacing between chapters in TOC
![](https://secure.gravatar.com/avatar/adf1b6085515459d1ea446f4bf2c673a.jpg?s=120&d=mm&r=g)
Hi list, I want my table of contents to look like: Chapter 1 section 5 section 10 section 15 In other words with section items indented. I presumed I would need to do something with \setuplist[section]. I know how to control interline distance, whitespace, but in this instance, not indentation of certain lines in a toc. I tried \setuplist[section][indenting=yes] and even indentation=yes in the hope that existed. It doesn't, at least not used this way. But it must be simple enough to achieve? Julian
![](https://secure.gravatar.com/avatar/74d41c3215dcdd377343cdc47311757c.jpg?s=120&d=mm&r=g)
jbf schrieb am 02.06.2020 um 03:05:
Hi list,
I want my table of contents to look like:
Chapter 1 section 5 section 10 section 15
In other words with section items indented.
I presumed I would need to do something with \setuplist[section]. I know how to control interline distance, whitespace, but in this instance, not indentation of certain lines in a toc. I tried \setuplist[section][indenting=yes] and even indentation=yes in the hope that existed. It doesn't, at least not used this way.
To change the vertical space between entries you use the before and after keys (this does *not* change the interline space), e.g. \setuplist[...][before=\blank, after={\blank[2*line]}] and to indent entries you use the margin key, e.g. \setuplist[...][margin=2em] but this is unrelated to paragraph indentation. Wolfgang
![](https://secure.gravatar.com/avatar/adf1b6085515459d1ea446f4bf2c673a.jpg?s=120&d=mm&r=g)
Thanks Wolfgang. Sometimes what we think is intuitive (I had just assumed that some sort of para indentation might do it) is not so! And yes, I had already worked out the before and after keys. Many thanks, Julian On 2/6/20 2:30 pm, Wolfgang Schuster wrote:
jbf schrieb am 02.06.2020 um 03:05:
Hi list,
I want my table of contents to look like:
Chapter 1 section 5 section 10 section 15
In other words with section items indented.
I presumed I would need to do something with \setuplist[section]. I know how to control interline distance, whitespace, but in this instance, not indentation of certain lines in a toc. I tried \setuplist[section][indenting=yes] and even indentation=yes in the hope that existed. It doesn't, at least not used this way.
To change the vertical space between entries you use the before and after keys (this does *not* change the interline space), e.g.
\setuplist[...][before=\blank, after={\blank[2*line]}]
and to indent entries you use the margin key, e.g.
\setuplist[...][margin=2em]
but this is unrelated to paragraph indentation.
Wolfgang
participants (2)
-
jbf
-
Wolfgang Schuster