#Adjusting the spacing between consecutive heading levels
6 messages · Page 1 of 1 (latest)
hmm, unfortunately unanswered
Can you share some code of the set- and show-rules you currently have applied on your headings? This seems a bit odd, as it looks correct here: #bot-corner message
#show heading.where(level: 2): it => context{
linebreak();
v(0.5em)
set text(1.02em)
block[#numbering(it.numbering, ..counter(heading).at(it.location())) #h(1.79em) #it.body]
let pars = query(selector(heading).after(it.location()))
set block(below: 0.55em)
}
#show heading.where(level: 3): it => {
if(it.body.has("text") and it.body.text == "Abstract"){
set text(1.12em)
it
}
else{
linebreak();
set block(above: 1.5em)
set text(1.12em)
block[#numbering("1.1.1", ..counter(heading).at(it.location())); #h(1.6em); #it.body;]
v(0.2em)
}
there's also one for level: 1 but it's irrelevant
block[#numbering("1.1.1", ..counter(heading).at(it.location())); #h(1.6em); #it.body;]