StripWrapperBoxes

StripWrapperBoxes

is an option to TagBox that controls how boxes are stripped upon 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.
  • The default setting of StripWrapperBoxes->False on TagBox prevents any boxes inside the TagBox from being stripped.
  • StripWrapperBoxes->True restores the stripping behavior.

Examples

Basic Examples  (2)

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

StripWrapperBoxes->True restores the default stripping behavior:

Wolfram Research (2007), StripWrapperBoxes, Wolfram Language function, https://reference.wolfram.com/language/ref/StripWrapperBoxes.html.

Text

Wolfram Research (2007), StripWrapperBoxes, Wolfram Language function, https://reference.wolfram.com/language/ref/StripWrapperBoxes.html.

CMS

Wolfram Language. 2007. "StripWrapperBoxes." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/StripWrapperBoxes.html.

APA

Wolfram Language. (2007). StripWrapperBoxes. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/StripWrapperBoxes.html

BibTeX

@misc{reference.wolfram_2024_stripwrapperboxes, author="Wolfram Research", title="{StripWrapperBoxes}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/StripWrapperBoxes.html}", note=[Accessed: 10-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_stripwrapperboxes, organization={Wolfram Research}, title={StripWrapperBoxes}, year={2007}, url={https://reference.wolfram.com/language/ref/StripWrapperBoxes.html}, note=[Accessed: 10-December-2024 ]}