typst / typst/codex

Use adjectival forms for modifiers that add shapes around a base

Open
#113 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

proposal
Dominant language
Rust
Stars
53
Forks
22
PR merge metrics
No merged PRs in 30d

Description

https://github.com/typst/codex/issues/34 was closed by changing .circle to .o, which makes sense because circling mathematical operator is quite common. As I expressed in https://github.com/typst/codex/pull/62#issuecomment-2888905064, I believe .o should be kept for circling mathematical symbols only. For now, no circled symbol in Codex is not a mathematical operator. However, other modifiers that cause the base symbol to appear inside a geometric shape I propose to use an adjectival variant instead. This would change .square to .squared, .triangle to .triangled, and an hypothetical .circle for geometric shapes to .circled.

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

No file or test is named. Start by locating the modifier definitions for .square, .triangle, and .o, then check which Codex symbols use them and review the linked discussion for the intended naming boundary. Done means the affected geometric modifiers use adjectival names while .o remains reserved for mathematical operators.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.