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.

DetailsDetails

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

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

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

In[1]:=
Click for copyable input

Set different frame margins on each side:

In[1]:=
Click for copyable input
Introduced in 1996
(3.0)