Hello @chaos1 , since users on the forum here may not be as fluent in LaTeX as you may be, could you please describe or provide a visual example of what you are looking for?
Hi chaos1! I’ve also used titlesec before. It always meets my requirement, but I can never tell what each specific parameter does later, especially in the old days before LLMs.
To set the vertical spacing the block element, which is used internally by headings, provides the above and below properties and spacing to set both simultaneously.
#show heading: set par(leading: 1em)
#show heading: set block(below: 100000em) // Change as you wish
text.spacing controls the horizontal space between space-separated words. It makes no sense here.
Additionally, please use show-set rules in favor of show-function rules whenever possible.
Occasionally, you might want to override your previous rules. In that case, writing another show-set rule just works, while writing another show-function rule will get them nested.