TEXT: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
<code>{ [[options]] } TEXT [[string]]</code> | <code>{ [[options]] } TEXT [[string]]</code> | ||
| | | | ||
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. | Arbitrary text that should be displayed between two iMath formulas. The text will be formatted as an Office formula. iMath [[OPTIONS#Automatic_aligning_of_iFormulas|auto-alignment]] will work with TEXT. | ||
Starting with iMath 2.2.4, the syntax <code>_ii_ <math expression> _ii_</code> allows to insert arbitrary iMath [[expression|expressions]] (not [[equation|equations]]) into the text. | |||
| | | | ||
3= | 3= | ||
Line 10: | Line 12: | ||
<code>TEXT x =</code> | <code>TEXT x =</code> | ||
<code>VAL(x)</code> | <code>EXDEF VAL(x)</code> | ||
will display <code>x = 3.141</code>. Starting with iMath 2.2.4, this can be shortened to | |||
@x@ EQDEF x = 3.141 | |||
TEXT x = _ii_ VAL(x) _ii_ | |||
|4= | |||
}} | }} | ||
[[Category:Definition]] | [[Category:Definition]] |
Latest revision as of 14:18, 7 January 2024
Syntax
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_