CellMargins

CellMargins

is an option for Cell that specifies the absolute margins in printer's points to leave around a cell.

Details

  • Possible settings are:
  • mthe same margins on all sides
    {{left,right},{bottom,top}}different margins on different sides
  • The left margin gives the distance from the edge of the window to the lefthand side of the cell.
  • The right margin gives the distance from the inside of the cell bracket to the righthand side of the cell.
  • The left and right margins can be set interactively in the front end using Show Ruler.
  • The top and bottom margins determine the amount of space to leave above and below the cell.
  • The margins go to the edge of any cell frame that is present.
  • Cell dingbats are placed to the left of the lefthand side of the cell, and extend into the left cell margin.

Examples

open allclose all

Basic Examples  (1)

Specify cell margins:

In[1]:=
Click for copyable input
abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde

Scope  (3)

Properties & Relations  (4)

See Also

CellFrameMargins  BaselinePosition  ImageMargins  WindowMargins

Tutorials

Introduced in 1996
(3.0)