#How to write Units?
31 messages · Page 1 of 1 (latest)
How to write Units?
I just found stuff like :
$1000 degree.c$
But the problem is, that it does not have the space between the number and the unit itself.
My workaround for now is to just do:
1000 $degree.c$
?render
#let degree(num) = {[#num] + " °C"}
It's #degree(23) outside.
I mean, LaTeX doesn't have this built in either. Someone needs to create typst-siunitx 🙂
yeah like this. But now I need to figure out how to do it with any kind of unit.
Yeah you are right ^^
I can't remember if there are more
you can always do #h to set arbitrary spacing also
to your liking
?render
$1000 space.third degree.c$ \
$1000 space.thin degree.c$ \
$1000 space.sixth degree.c$
that too
oh wow thats great :D
thin might be easier
yeah
?render $1000 thin degree.c$