PREFIXDEF

From iMath
Revision as of 07:10, 26 March 2017 by Jrheinlaender (Talk | contribs) (Created page with "{{Keyword | 1= <code>PREFIXDEF { symbol = expression }</code> | 2= Defines a new unit prefix. The symbol is the name of the prefix, this must begin with a percent sign...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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

See also

{{{4}}} lets iMath automatically recognize the unit %millimetre. }}