-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
bugSomething isn't workingSomething isn't workingmathRelated to math category, with its syntax, layout, etc.Related to math category, with its syntax, layout, etc.regressionSomething that did work before stopped working.Something that did work before stopped working.
Description
Description
Updating from Typst 0.12 to 0.13, the following implementation method (documented in cal) causes the mathscr variant to have an incorrect size when appearing in math formulas as attachments:
#let scr(it) = text(
features: ("ss01",),
box($cal(it)$),
)Here is an example to illustrate the issue:
$
product.co^(B in scr(B) , x in B)_(B in scr(B) , x in B) cal(F) (B)
$- v0.13
- v0.12
If this behavior is a bug, then it is a regression from 0.12. If this behavior is expected, then I think we should find a correct implementation method for mathscr and update the documentation for calligraphic font style in math.
Reproduction URL
https://typst.app/project/rhHk7jmqH5JgVaZOjLCAsW
Operating system
Web app
Typst version
- I am using the latest version of Typst
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingmathRelated to math category, with its syntax, layout, etc.Related to math category, with its syntax, layout, etc.regressionSomething that did work before stopped working.Something that did work before stopped working.

