Skip to content

Multi-line overbraces push annotated terms out of alignment with equation #5426

@miles-1

Description

@miles-1

Description

2+ line annotations push the math content down, out of line from the rest of the equation. Example:

$ S = overbrace(beta (alpha) S I, "one line") - overbrace(mu (N), "two" \  "line") $

The µ(N) term is out of line with the rest of the equation. This does not happen in the reverse direction with underbraces:

$ S = underbrace(beta (alpha) S I, "one line") - underbrace(mu (N), "two" \  "line") $

I asked about this in the forum and got a fix to this behavior, but I suspect this is not intended behavior.

Reproduction URL

No response

Operating system

macOS

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