Thank you very much for the explanations. They do help, but if I can elaborate a bit further—though this is related to my post in
In this code heading 1
is defined by:
#show heading.where(level: 1): set align(center)
#show heading.where(level: 1): set text(24pt, weight: "regular")
#show heading.where(level: 1): smallcaps
#show heading.where(level: 1): it => pagebreak(weak: true, to: "odd") + it
In itself, this works just as I want. However, I would like, book-style, to have a blank space of say 5em above the heading.
The Hydra Guide says:
You should also make sure you don’t use show rules which affect the vertical starting position of the heading.
// do
#show heading: it => block(v(8cm) + it)
…
However, it is far from clear, how that can be combined with my heading 1
code. Everything I have tried either results in an error I can’t resolve or all text being relaced with the string block(5em)
. If I create a separate show rule for it
#show heading.where(level: 1): set block(above: 5em)
it is ignored wherever I place it in relation to the other heading 1
show rules.
I think I understand all the code involved, but it is how to combine them that is always the problem for beginners like me.
Mark