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:

Introduced in 1996
 (3.0)