StripOnInput

StripOnInput

is an option for certain boxes that determines whether the box should be stripped on evaluation.

Details

  • When a TemplateBox[{shift, return}, Key1, BaseStyle -> {Notes, FontWeight -> Plain, FontFamily -> Source Sans Pro}] evaluation takes place, the front end sends a box representation of the input to the kernel. The box representation may be stripped of some boxes so that their presence will have no effect upon evaluation semantics.
  • For a box with StripOnInput->True, the box's contents will be sent as part of the evaluation, but not the box itself.
  • A box with StripOnInput->False sends the box exactly as it exists in the input cell.

Examples

Basic Examples  (2)

Create a FrameBox that is stripped upon evaluation:

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

With StripOnInput->False, the FrameBox is preserved in evaluation:

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

See Also

StripWrapperBoxes  StripBoxes  MakeExpression

Introduced in 2007
(6.0)