Skip to content

Automatically centre dots between infix notation #147

@njericha

Description

@njericha

Description

Coming from Overleaf and TeX-style math, I am use to the compiler autommatically handling triples dots between different symbols.

For example, 1 + \dots + n will centre the dots like this: $1 + \dots + n$.
But keep the dots lowered for lists 1, \dots, n like this: $1,\dots, n$.

Use Case

Here is a Typst generated document.
Image

And here is Overleaf's generated document.
Image

Although it can be easy enough for a human to add a ".c" when needed, this change would make it easier for machine generated documents (e.g. Quarto, Pandoc) to maintain a similar appearence between formats, and more consistant for users coming from TeX-style math.

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