I would like to have a linebreak in the title of one of the sections, but I donโt want this linebreak in the document outline, is there a way to do that?
#set heading(numbering: "1.")
I want a linebreak here ๐
= This is a \ test
But I don't want a linebreak here ๐
#outline()
One possibility would be to apply a show rule on outline.entry that basically stops linebreaks from showing up, though I am not completely sure if this could maybe introduce any side effects:
#set heading(numbering: "1.")
#show outline.entry: it => {
show linebreak: none
it
}
#outline()
= This is a \ test
Applying this show rule to outline itself doesnโt work, as it internally also uses line breaks for separating the entries, which would then also disappear.