I’ve tried to use the measure contextual function, but it seems to not work as I expected. I’ve tried to use the h function inside measure to test that it retrieves the measurement passed to h but does not.
I want to know the length of the spaces available in sym module, for example: sym.space.thin. However, I was trying to find a space of 0.6 em. By the way, the measure function retrieves the measurement in pt, not in em.
indeed, measure() returns values in terms of absolute (pt) rather than relative (em) lengths. this is probably desirable for most use cases. what you can do is obtain the current value of 1em as converted to pt (which is just the current font size!), and use this conversion factor to convert pt back to em. this of course also requires context. something like this: