TEXT

From iMath
Revision as of 14:18, 7 January 2024 by Jrheinlaender (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax

{ options } TEXT string


Implemented in iMath since version 2.2.0 or earlier.

Explanation

Arbitrary text that should be displayed between two iMath formulas. The text will be formatted as an Office formula. iMath auto-alignment will work with TEXT.

Starting with iMath 2.2.4, the syntax _ii_ <math expression> _ii_ allows to insert arbitrary iMath expressions (not equations) into the text.


Example

@x@ EQDEF x = 3.141

TEXT x =

EXDEF VAL(x)

will display x = 3.141. Starting with iMath 2.2.4, this can be shortened to

 @x@ EQDEF x = 3.141
 TEXT x = _ii_ VAL(x) _ii_

See also