Skip to content

TextBox ​

Literal text inside boxes, set as text rather than read as tokens.

TextBox("text")Literal text inside boxes, set as text rather than read as tokens.
Typed signatures
TypePackageApplies
(string, expression*) -> boxesboxesalways

Domain: Boxes

Details
  • Where Wolfram quotes a string inside a string ("\"otherwise\""), this is a head of its own. Wolfram's own TextBox is undocumented, so this one's meaning is ours.
  • ShowStringCharacters -> True shows a string value with its quotes (MathML's ms).

Examples

Basic #

a box is inert: it evaluates to itself

live ↗
InTextBox(otherwise)\mathrm{TextBox}(\text{otherwise})OutTextBox(otherwise)\mathrm{TextBox}(\text{otherwise})
About
Examples1

See also: RowBox, StyleBox