Skip to content

Different appearance of vec and mat #5422

@carlyu99

Description

@carlyu99

Description

The same column vector implemented with vec and mat looks different.
The vec version has smaller spacing, and symbols overlap.
Below are code and screenshot.

#set text(size: 40pt)
#show math.equation: set text(font: "Libertinus Math", features: ("ssty",))
$
  vec(z_(n_p), a^2)
  mat(z_(n_p); a^2)
  vec(z_(n_p), a^2, delim: "[")
  mat(z_(n_p); a^2; delim: "[")
$

image

Reproduction URL

https://typst.app/project/ru4m2Y6fh1an9EO68kXxF7

Operating system

Web app, Windows

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