Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
|
Direction | Function | Example | |
expression → boxes | ToBoxes[expr] MakeBoxes[expr,form] | ToBoxes[x^2] SuperscriptBox["x","2"] | |
boxes → rendered | DisplayForm[box] RawBoxes[box] | DisplayForm[FractionBox["a","b"]] | |
boxes → expression | ToExpression[box] MakeExpression[box,form] | parses the box back to a value |
Option | Controls | Notes | |
ColumnAlignments | per-column horizontal alignment | Left Center Right "." {Right,Left} | |
RowAlignments | per-row vertical alignment | Baseline Center Top Bottom Axis | |
ColumnSpacings RowSpacings | gaps between columns / rows | in units of the current font's em-ish width; a number or per-gap list | |
ColumnLines RowLines | rules between columns / rows | True False \hline | |
GridBoxDividers | fine-grained rules | {"Columns"->{...},"Rows"->{...}} | |
GridBoxAlignment | master alignment spec | {"Columns"->{...},"Rows"->{...}} | |
GridBoxItemSize ColumnWidths RowHeights | cell sizing | | |
BaselinePosition | which row sits on the surrounding baseline | important when a grid is one factor in a larger row | |
GridBoxBackground ColumnBackgrounds RowBackgrounds | cell fills | |
a | = | 1 |
bb | = | 2 |
Box | Shape | Renders | Key options |
FractionBox[x,y] | x over y with a rule | x⁄y | FractionLine 0 \atop |
SqrtBox[x] | square root | √x | MinSize |
RadicalBox[x,n] | n-th root | ⁿ√x | MinSize |
Box | Shape | Used for | |
SubscriptBox[x,y] | x with y low-right | x_i | |
SuperscriptBox[x,y] | x with y high-right | x^2 | |
SubsuperscriptBox[x,y,z] | x with y low-right and z high-right | x_i^2 | |
UnderscriptBox[x,y] | y centred below x | \lim_{...} | |
OverscriptBox[x,y] | y centred above x | \hat \overline \overbrace | |
UnderoverscriptBox[x,y,z] | y below and z above x | display-style \sum_a^b |
Option | Effect | |
FontSlant | "Italic" "Plain" sin | |
FontWeight | "Bold" "Plain" | |
FontFamily | "Times" "Courier" "Helvetica" "Latin Modern Math" | |
FontColor | any colour directive ( RGBColor[...] Red | |
FontSize | absolute points, or Scaled[r] | |
Magnification | uniform scale of the wrapped box relative to its surroundings | |
AutoSpacing | False | |
ShowStringCharacters | False |