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


  • 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.


Basic Examples  (2)

Create a FrameBox that is stripped upon evaluation:

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

Introduced in 2007