There's also \writetolist to add arbitrary content and make local
adjustments.
\writetolist[section]{}{\blank[...]}
Massi
Il 06/10/24 04:26, Gerion Entrup ha scritto:
Hi,
for my table of contents, I have set a style that makes sections and
subsections smaller than chapters.
However, in the rendering the vertical space seems not to adapt: It remains
equal for all entities.
Is there a possibility to reduce the vertical space between subsections and
sections?
I tried before and after but only get it to add additional space and not
reducing it.
Here is a MWE:
```
\setuplist[chapter][
style=bold,
aligntitle=yes,
]
\setuplist[section][
aligntitle=yes,
style=\tfx,
]
\setuplist[subsection][
aligntitle=yes,
style=\tfxx,
after={\blank[none]},
before={\blank[none]},
]
\starttext
\placecontent
\hairline
\startchapter[title=foo]
\startsection[title=foo]
\startsubsection[title=foo]
\stopsubsection
\startsubsection[title=foo]
\stopsubsection
\startsubsection[title=foo]
\stopsubsection
\stopsection
\startsection[title=foo]
\startsubsection[title=foo]
\stopsubsection
\startsubsection[title=foo]
\stopsubsection
\stopsection
\stopchapter
\startchapter[title=foo]
\stopchapter
\stoptext
```
Gerion
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________