Skip to content

TextData ​

Running text; its string leaves are words, not tokens.

✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram LanguageTextData✓
TextData([item1, item2, …])Running text; its string leaves are words, not tokens.
Typed signatures
TypePackageApplies
(list<boxes>) -> boxesboxesalways

Domain: Boxes

Details
  • StringTemplate("… {_d} …") lowers to it (under a TagBox that keeps the head): the words are string leaves, a $…$ island is a FormBox of held TeX, {_d} a TemplateSlot, any other {…} a TemplateExpression, {Setter(_e, v, "label")} a ButtonBox.
  • The web draws it as a span; each hole is the page's to fill from the scope it sits in.
  • Emphasis, strong and code are StyleBoxes (FontSlant, FontWeight, BaseStyle -> "InlineCode"), links ButtonBoxes, formulas FormBoxes.

Examples

Basic #

a box is inert: it evaluates to itself

live ↗
InTextData([Hello,world])\mathrm{TextData}(\bigl\lbrack\text{Hello}, \text{world}\bigr\rbrack)OutTextData([Hello,world])\mathrm{TextData}(\bigl\lbrack\text{Hello}, \text{world}\bigr\rbrack)
About
Examples1
Checked againstWolfram Language 1 agree
CrosswalkWolfram Language

See also: TextCell, StyleBox, ButtonBox