Placeholder

Placeholder[name]
represents a placeholder labeled with name that indicates a place to type.

Placeholder[]
gives the empty placeholder .

DetailsDetails

  • Tab moves from one placeholder to the next in an expression.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Create a grid of placeholders which can be tabbed through and typed into:

In[1]:=
Click for copyable input
Out[1]=

Create a grid of named placeholders:

In[1]:=
Click for copyable input
Out[1]=

Create a formula with named placeholders:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2008
(7.0)