Automatically centre `dots` between infix notation
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
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.
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.
- Dominant language
- Rust
- Stars
- 53
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
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.
More from typst/codex
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
proposal
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Lack of ⊻ U+22BB Openproposal
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ontola/atomic-server#1625 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
VirusTotal/yara-x#777 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
stratum-mining/stratum#2404 ·
-
bug ci good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100