Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shorthands for bottom accents #48

Open
Enivex opened this issue Feb 10, 2025 · 0 comments
Open

Shorthands for bottom accents #48

Enivex opened this issue Feb 10, 2025 · 0 comments

Comments

@Enivex
Copy link
Collaborator

Enivex commented Feb 10, 2025

A recent issue in the typst repository (typst/typst#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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant