-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
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.
Description
Description
Hello,
today I encountered an issue with one of my packages. Essentially, the error occurred because of typst v0.11 and v0.10 behave differently. The following code
#set text(font: "Cascadia Code")
Hello #math.script("World") $script("World")$ #math.script($"World"$)
#math.frac("hello", "world") $"hello"/"world"$yields:
| v0.11.1 | v0.10.0 |
|---|---|
![]() |
![]() |
Notice, how math.script does not imply math mode, whereas math.frac does.
Either way, some behaviour would be wrong. In my opinion, the situation before v0.11 is correct, as it allows easier access to math mode — also inside code environments.
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
bugSomething isn't workingSomething isn't workingmathRelated to math category, with its syntax, layout, etc.Related to math category, with its syntax, layout, etc.

