Shorthands for bottom accents
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 53
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
A recent issue in the typst repository (https://github.com/typst/typst/issues/5846) made me realize that we're missing shorthands for a ton of bottom accents (and some regular accents too). Here's a selection (not exhaustive)
#show math.equation: set text(font: "STIX Two Math")
Bottom version of `macron` (not stretchable)
$
accent(x, \u{331})
$
Bottom version of `dash`
$
accent(x y,\u{332})
$
Bottom version of `tilde`
$
accent(x y,\u{330})
$
Bottom versions of arrows
$
accent(x y,\u{20ee}) quad accent(x y,\u{20ef}) quad accent(x y,\u{34d})
$
Bottom versions of harpoons
$
accent(x y,\u{20ec}) quad accent(x y,\u{20ed})
$
Bottom dots
$
accent(x,\u{323}) quad accent(x,\u{324}) quad accent(x,\u{20e8})
$
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 how Codex defines Unicode-symbol shorthands, then compare the existing accent names with the code points and examples listed in the issue. Add the requested bottom accents and other obvious missing variants, and verify that each shorthand produces the intended symbol.
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
- 48/100