#import "@local/evaltor:0.2.0": print_eval #show heading: it => { it.body v(1pt) } #set text(size: 16pt) = Evaltor: Typst plugin for unit-aware calculations The function `print_eval` will print the input along with its result, calculated using `fend` backend, which is unit-aware. Some examples: #print_eval("2 km + 30 m") #print_eval("1 ft to cm") #print_eval("5'7\" to cm") #print_eval("cos (pi/4) + i * (sin (pi/4))") #print_eval("0b1001 + 3") #print_eval("0xffff to decimal") #print_eval("100 °C to °F") #print_eval("1 lightyear to parsecs") #print_eval("temperature = 30 °C; temperature to °F") #print_eval("((10um)/(0.334cm) + (0.6mm)/(35.28cm) + (1mm)/(47.57cm) + (0.4mm)/(35.28cm) + (2um)/(3.56cm)) to percent") *Currently, random numbers are not available.*