How to render the symbol underscore?

Is there a supported way to render an underscore other than using the utf encoding, ie. \u{005F}?

I haven’t been able to find a matching symbol in General Symbols – Typst Documentation .

Otherwise, is it perhaps possible to disable asterix for bold an underscore for italic such that the symbols are being rendered directly, and instead indicating bold and italic with some function calls?

Luckily it’s pretty simple. You can escape the underscore character with a back slash (\):

This is _italic_, this is an underscore:\_

Output:
image

3 Likes