Text

Text

Text encapsulates text inside mathematical expressions. You can also use it to enforce an order between certain expressions and text.

Note

Use backticks to correctly render text inside mathematical expressions.

Usages

Text[ `text` ]

Text[ `text` ] displays text inside mathematical expressions. You most commonly use it in tables, for instance in header cells.

Example in rendered
The formula for the percentage increase. Text[`percentage increase`] = VisualTimes[ 100, Text[`growth factor`] ] - 100 percentage increase = (100 * growth factor) - 100
2^(Text[`number of red balls`]+2) 2number of red balls+2

Text[ expr1, expr2, expr3 ]

Text[ expr1, expr2, expr3 ] displays expressions or text inside mathematical expressions, preserving their original order. You most commonly use it in expressions with symbols.

Example rendered
Text[`This text has`, 3, `parts`] This text has 3 parts