PREFIXDEF
Jump to navigation
Jump to search
Syntax
PREFIXDEF { symbol = expression }
Implemented in iMath since version 2.2.0 or earlier.
Explanation
Defines a new unit prefix. The symbol is the name of the prefix, this must begin with a percent sign % to distinguish it from a variable name. The expression defines the numeric value of the prefix.
Note that a file which defines SI prefixes comes with iMath and can be activated through the References dialog.
Example
PREFIXDEF{%milli = 10^{-3} }
lets iMath automatically recognize the unit %millimetre
.