Skip to content

Script style not applied in new math text #5818

@EpicEricEE

Description

@EpicEricEE

Description

When replacing upright(B) with just "B", script or script-script style (with widened characters) is not applied. See for example

$ upright(B) "B" wide
  script(upright(B)) script("B") wide
  sscript(upright(B)) sscript("B") $

Image

This was already the case previously (with multi-character strings), but I only just noticed when replacing upright calls, so I'm not entirely sure if that's a bug or intended.

Reproduction URL

No response

Operating system

Web app

Typst version

  • I am using the latest version of Typst

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmathRelated to math category, with its syntax, layout, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions