-
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
Spacing between values and units #17
Comments
Thanks for your knowledge sharing! I was thinking about doing some trick with Unicode spaces, but soon realized that it would be too much for this project. I'll leave this issue open until there's a non-tricky way to improve this. Hopefully this value-unit feature will be officially supported. |
World changes rapidly. There is already a package dedicated to typesetting unit text, metro. It is not quite mature but deserves to mention in the document. @johanvx @fenjalien |
Yeah, metro is great and so is unify. I am a bit hesitant to use packages as they are still experimental. |
Could I ask the consideration here? The |
Honestly, the only reason is that I don't like the |
The problem is not what I care, but I read your README and I knew it from my knowledge.
The Thin space (in Typst, it is represented by
\u{2009}
) can be used for space between numbers and SI units. To use it, we can define some functions for Typst similar to those available in siunitx.\u{2009}
from siunitx-v2.styThis is still a unicode trick, but works in Typst...
Reference:
The text was updated successfully, but these errors were encountered: