-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add struck arrows #50
Conversation
|
Edit: Unless you were suggesting making |
Are modifiers commutative though? That seems like a very bad idea |
Yesn't. |
Maybe |
The dash would prevent it from being easily usable in math |
Ah right, I confusedly imagined this would be OK after the change to math argument parsing in Typst 0.13 but obviously not! In favor of Or we could aim for consistency with |
|
I went with |
This PR adds struck arrows, as well as twohead tailed arrows.
For singly struck arrows, I chose the
.struck
modifier, which is consistent with its use inparallel.struck
in contrast toparallel.not
. Unicode also defines doubly struck arrows. For those, an additional modifier needs to be created, and i am unsure of the name to use. Maybe.doublestruck
, or.dstruck
? I marked the PR as a draft for this reason.