10
$\begingroup$

The following:

TemplateBox[{"a", "b"}, "Binomial"] // RawBoxes

yields the correctly formatted (2d box structure) of Binomial[a,b]:

$$\begin{pmatrix}a\\b\end{pmatrix}$$

But I would like to see its (and other built-in functions') explicit definition in terms of low level boxes. Presumably, the definition of the style "Binomial" lives somewhere. Where is it?

$\endgroup$

1 Answer 1

9
$\begingroup$

They live in stylesheets:

CurrentValue[{StyleDefinitions, "Binomial"}]
{TemplateBoxOptions -> {DisplayFunction -> (RowBox[{"(", 
    GridBox[{{#1}, {#2}}], ")"}] &), Tooltip -> Automatic}} 
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.