How to underline text with superscipts with a single dash?

The code

#underline([1#super("st") try !])

compiles to


Is it possible to make the underline be a single continuous line instead of “jumping” under the superscript ?

Can you please add details to make the issue reproducible? If I compile this code snipped with Typst v0.15.1 in a new document I get the expected single continuous underline.

There is an open issue for issues with underline in #1210.

I too get a single continuous underline with Typst 0.15.1.

I think it’s a feature of the font, by changing the font to new computer modern I am able to replicate the issue. Sadly, I couldn’t figure out a way to fix the issue (you’d think setting super´s typographic to false would do it, but no).

I indeed used New Computer Modern, the full code snippet is

#set text(font: "New Computer Modern")
#underline([1#super("st") try !])

and my typst --version is typst 0.15.1 (9dfd3a08).