metro icon indicating copy to clipboard operation
metro copied to clipboard

A typst package to add typsetting to units!

Results 11 metro issues
Sort by recently updated
recently updated
newest added

Found via `codespell -S manual.pdf,units.pdf -L tothe`

As per title, num-range would be an excellent addition

enhancement

It would be nice to be able to set the number of decimal digits or the number of significant figures as an option in the `num` and `qty` function. When...

```typst #metro-setup(round-mode: "figures", round-precision: 4, round-pad: false) #let fn(number) = ( [#num(number, round-mode: "none")], [#num(number, exponent-mode: "engineering")], [#num(number, exponent-mode: "scientific")], [#num(number, exponent-mode: "scientific", round-pad: true)], [#num(number, exponent-mode: "threshold")], ) #table(columns:...

In 0.3.0, ``` #num(0.1, exponent-mode: "engineering") ``` breaks with an out of bounds exception. Longer example with relevant exponent range: ```typst // This line is optional, but it makes formatting...

Typst 0.13.0 can't import the package from `@preview/metro:0.3.0`, complaining about an Unknown variable: kelvin. ``` unknown variable: kelvin Hint: if you meant to display multiple letters as is, try adding...

Typst 0.13 will remove some symbols and make type and str incompatible. Adjust the relevant places in the code to be compatible with those changes. Fixes: #27 Fixes: #28

This PR: - Adds the unit `degreeFahrenheit`, similar to the existing `degreeCelsius`; - Adds the unit `fahrenheit` as an alias to `degreeFahrenheit`; - Adds the unit `celsius` as an alias...

[Typst Release](https://github.com/typst/typst/releases/tag/v0.13.0) Several changes related to `type` were made.