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

Better display for units #18

Closed
ajkeller34 opened this issue Sep 16, 2016 · 1 comment
Closed

Better display for units #18

ajkeller34 opened this issue Sep 16, 2016 · 1 comment

Comments

@ajkeller34
Copy link
Collaborator

SIUnits.jl seemed to handle this pretty well. There's no superscript slash in Unicode, so printing rational exponents using Unicode only will be problematic.

@mlhetland
Copy link

I see this is closed, but I thought I wouldn't open a new issue just for this: Might it be a good idea to differentiate between compact and non-compact display? Primarily removing the space in compact display, I guess, so show(1cm) gives you 1 cm but showcompact yields 1cm? (Similar to operator spacing for complex numbers, for example.)

briochemc added a commit to briochemc/Unitful.jl that referenced this issue Jan 16, 2020
Suggestion for PainterQubits#18 to use ᐟ for displaying fractional dimensions.
I just used SIUnits' `superscript` function for digits 0–9 and minus sign, and a unicode character that looks like a superscript `/` for fractions.
ajkeller34 pushed a commit to briochemc/Unitful.jl that referenced this issue Feb 8, 2020
Suggestion for PainterQubits#18 to use ᐟ for displaying fractional dimensions.
I just used SIUnits' `superscript` function for digits 0–9 and minus sign, and a unicode character that looks like a superscript `/` for fractions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants