Automatically centre `dots` between infix notation
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 53
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
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.
And here is Overleaf's generated document.
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the repository code that parses or renders infix notation and any tests covering dots or ellipses. Compare the existing output for 1 + \dots + n and 1, \dots, n with the expected centered and lowered forms; done means both cases produce the requested placement without changing list behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100