Skip to content

strange space after | in mitex but not mathJaX? #209

@Explorer-cc

Description

@Explorer-cc

Consider the following example:

#import "@preview/mitex:0.2.6": *

#mitex(`$\frac{|S_{xy}(\omega)|^2}{S_{xx}(\omega) S_{yy}(\omega)} $`)

#mitex(`$\frac{\left|S_{xy}(\omega)\right|^2}{S_{xx}(\omega) S_{yy}(\omega)} $`)

$ (|S_(x y)(omega)|^2) / (S_(x x)(omega) S_(y y)(omega)) $

which gives:

Image

Is that possible for mitex to fix this without adding \left\right to be a must?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions