resultwizard / ResultWizard

Intelligent interface between Python-computed values and your LaTeX work.
https://resultwizard.github.io/ResultWizard
MIT License
7 stars 0 forks source link

Auto-detect unit prefixes #14

Open Splines opened 10 months ago

Splines commented 10 months ago

The lib could automatically detect if an exponent divisible by 3 is used. In this case,

(\num{42.3} \pm \num{1.2}) \cdot 10^{-9} \unit{\V}

it could output the following instead:

(\num{42.3} \pm \num{1.2}) \unit{\nano \V}

If implemented, things to consider: