FormBox[boxes,form]
is a low-level box construct which displays as boxes but specifies that rules associated with form should be used to interpret boxes on input.
FormBox
FormBox[boxes,form]
is a low-level box construct which displays as boxes but specifies that rules associated with form should be used to interpret boxes on input.
Details
- In InputForm and StandardForm, \(form∖`input∖) yields FormBox[input,form].
- ∖(∖`input∖) yields FormBox[input,RawForm].
Examples
Basic Examples (4)
Create a cell with TraditionalForm style settings applied:
CellPrint[Cell[BoxData[FormBox[RowBox[{"sin", "(", "x", ")"}], TraditionalForm]], "Output"]]Create a cell with StandardForm style settings applied:
CellPrint[Cell[BoxData[FormBox[RowBox[{"sin", "(", "x", ")"}], StandardForm]], "Output"]]FormBox affects interpretation of its contents:
Table[ToExpression[FormBox[RowBox[{"f", "(", "x", ")"}], fm]], {fm, {TraditionalForm, StandardForm}}]FullForm /@ %TraditionalForm formatting uses FormBox:
ToBoxes[x / Sqrt[1 - x ^ 2], TraditionalForm]//FullFormThe formatted result looks like this:
x / Sqrt[1 - x ^ 2]//TraditionalFormRelated Guides
History
Introduced in 1996 (3.0)
Text
Wolfram Research (1996), FormBox, Wolfram Language function, https://reference.wolfram.com/language/ref/FormBox.html.
CMS
Wolfram Language. 1996. "FormBox." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FormBox.html.
APA
Wolfram Language. (1996). FormBox. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FormBox.html
BibTeX
@misc{reference.wolfram_2026_formbox, author="Wolfram Research", title="{FormBox}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/FormBox.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_formbox, organization={Wolfram Research}, title={FormBox}, year={1996}, url={https://reference.wolfram.com/language/ref/FormBox.html}, note=[Accessed: 12-June-2026]}