is an option for AdjustmentBox objects that specifies the margins to leave around the contents of the box.


BoxMargins
is an option for AdjustmentBox objects that specifies the margins to leave around the contents of the box.
Details

- BoxMargins->{{left,right},{bottom,top}} specifies the amount of space to leave around the selection. Positive margin specifications increase the spacing around the selection; negative ones decrease it. Horizontal margin specifications are in ems; vertical ones are in x-heights.
- The default setting is BoxMargins->{{0,0},{0,0}}.
- The placement of a selection can be fine-tuned using an AdjustmentBox.
History
Introduced in 1996 (3.0)
Text
Wolfram Research (1996), BoxMargins, Wolfram Language function, https://reference.wolfram.com/language/ref/BoxMargins.html.
CMS
Wolfram Language. 1996. "BoxMargins." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BoxMargins.html.
APA
Wolfram Language. (1996). BoxMargins. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BoxMargins.html
BibTeX
@misc{reference.wolfram_2025_boxmargins, author="Wolfram Research", title="{BoxMargins}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/BoxMargins.html}", note=[Accessed: 18-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_boxmargins, organization={Wolfram Research}, title={BoxMargins}, year={1996}, url={https://reference.wolfram.com/language/ref/BoxMargins.html}, note=[Accessed: 18-August-2025]}