Thank you, nice, that works like exactly as expected.

Gerion

Am Sonntag, 6. Oktober 2024, 09:18:47 MESZ schrieb Mikael Sundqvist:
> Hi,
> 
> not sure exactly what you want, but does adding \setupinterlinespace
> help you? As in
> 
> \setuplist[section][
>         aligntitle=yes,
>         style=\tfx\setupinterlinespace,
> ]
> 
> /Mikael
> 
> On Sun, Oct 6, 2024 at 4:27 AM Gerion Entrup <gerion.ent...@flump.de> wrote:
> >
> > 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
> ___________________________________________________________________________________
> 

Attachment: signature.asc
Description: This is a digitally signed message part.

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to