-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
change requestA proposal for changes to an existing featureA proposal for changes to an existing featuretextText layout, shaping, internationalization, etc.Text layout, shaping, internationalization, etc.
Description
Description
In Typst, the sub and super functions attempt to use the OpenType "subs" and "sups" font features (or Unicode subscript/superscript characters in versions prior to 0.13 #5777). However, when a font does not provide dedicated subscript or superscript glyphs, Typst falls back to generating faux superscripts or subscripts.
This fallback produces inconsistent and visually awkward results, particularly in contexts such as author lists in scientific papers:
Code to reproduce:
#text(
font: "Inter"
)[Foo#super("1"), Bar#super("1,2")]I evaluated this behavior in Typst versions 0.13.1 and 0.14.
Reproduction URL
No response
Operating system
Web app
Typst version
- I am using the latest version of Typst
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
change requestA proposal for changes to an existing featureA proposal for changes to an existing featuretextText layout, shaping, internationalization, etc.Text layout, shaping, internationalization, etc.