BUILT-IN WOLFRAM LANGUAGE SYMBOL

StripWrapperBoxes

StripWrapperBoxes
is an option to TagBox that controls how boxes are stripped upon evaluation.

DetailsDetails

  • When a Shift+Enter 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.
  • The default setting of StripWrapperBoxes->False on TagBox prevents any boxes inside the TagBox from being stripped.
  • StripWrapperBoxes->True restores the stripping behavior.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Although FrameBox would typically be stripped by default, it is not stripped in a TagBox:

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

StripWrapperBoxes->True restores the default stripping behavior:

In[1]:=
Click for copyable input
In[1]:=
Out[1]=
Introduced in 2007
(6.0)