A Scheme function to format physical quantities according to SI conventions in TeXmacs
- Place the
SIunits.ts
style file in a subdirectory of.TeXmacs/packages
- Place the inside the
.TeXmacs/progs/SIUnits
directory (will have to add it as a subdirectory of.TeXmacs/progs
)- It must be this directory as
SIunits.ts
will look for the Scheme code in it
- It must be this directory as
- The package should then be available from within the TeXmacs editor
Type \SI
, then return. You should obtain a box with a macro with two empty fields, that will look like
<SI||>
Enter the numerical value in the first field and the symbol in the second field. Press again return to activate; the typeset quantity should appear in your document.
The symbols for angles are entered by spelling them out (degrees, minutes, seconds). In this case the units will be typeset (as °, ' and ") without spacing them from the number.