CellFrameMargins

CellFrameMargins

is an option for Cell that specifies the absolute margins in printers points to leave inside a frame that is drawn around a cell.

Details

  • Possible settings are:
  • distthe same margins on all sides
    {{left,right},{bottom,top}}different margins on different sides
  • CellFrameMargins defines the margins for the box used to draw the background color of a cell. The margins will be used to define the extent of the background color even if there is no cell frame.
  • If Background->None is set, then the margins are only applied if a CellFrame is present. If the cell frame isn't drawn on all sides, then the margin will only be applied to the sides with a frame setting.

Examples

open allclose all

Basic Examples  (2)

Specify the space to be left between contents and frame on all sides:

Set different frame margins on each side:

Scope  (2)

Margins specified for a partial cell frame:

Margins specified for a cell with a background color:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_cellframemargins, author="Wolfram Research", title="{CellFrameMargins}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/CellFrameMargins.html}", note=[Accessed: 18-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_cellframemargins, organization={Wolfram Research}, title={CellFrameMargins}, year={1996}, url={https://reference.wolfram.com/language/ref/CellFrameMargins.html}, note=[Accessed: 18-November-2024 ]}