Here is my code:
#figure(caption: lorem(13))[Test]
#outline(target: selector(figure))
Result:
I would like to:
- justify the body of the outline entry (the empty space at the end of the first line is not very clean)
- have the second line of the outline entry start at the same level as “Figure 1”
Adding the following show rule does not fix problem 1., as the entry name and caption are not aligned anymore.
#show outline.entry: ent => link(
ent.element.location(),
ent.indented([#ent.prefix():], {
set par(justify: true)
ent.inner()
})
)
Result:
How do I solve my problems?