typst / typst/codex

Shorthands for bottom accents

Open
#48 0 comments 1 reaction 0 assignees View on GitHub

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})
$

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.