Add space between italic text and footnote reference

In my pandoc & typst markdown to PDF document, footnote references look fine for normal text.
Example, 4.8[^6]image

But italicized text runs into the footnote reference.
Example, *4.8*[^6]image

How can I add a little space between them? Either by modifying my markdown for each case where necessary, or by modifying the typst template.

Thanks.

Welcome to the club! This has been an impediment to fine typography with Typst for a long time.

See https://github.com/typst/typst/issues/1021. There are some suggestions there that might help you.

2 Likes

Thanks for the info. Unfortunately, I would not want to join any club that would have me as a member. :wink:

The show emph: it => [#it#h(0.1em)] workaround seems good enough for now.