Skip to content

TemplateExpression ​

A hole in prose holding an expression's Epsil, filled by the environment it renders in.

TemplateExpression("epsil")A hole in prose holding an expression's Epsil, filled by the environment it renders in.
Typed signatures
TypePackageApplies
(string, expression*) -> boxesboxesalways

Domain: Boxes

Details
  • Markdown's ${…} when what's inside isn't a bare name. The Epsil is kept as written; whoever fills the hole parses it. Wolfram's TemplateExpression holds the expression itself.

Examples

Basic #

an unfilled hole is inert: it evaluates to itself

live ↗
InTemplateExpression(n + 1)\mathrm{TemplateExpression}(\text{n + 1})OutTemplateExpression(n + 1)\mathrm{TemplateExpression}(\text{n + 1})
About
Examples1

See also: TemplateSlot