Skip to content

Escaping absolute value bars in Typst adds unnecessary space #286

@CoryMcCartan

Description

@CoryMcCartan

input.md:

$|x| > 0$

Actual:

> pandoc input.md --to typst
$\| x \| > 0$

Renders in Typst PDF as:
Image

Expected:

$\|x\| > 0$

Or ideally $|x| > 0$, but I understand there are some reasons to not default to auto-scaling delimiters. Either renders as:
Image

This is new behavior, I think because escaping all paired delimiters is relatively new in texmath?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions