BUILT-IN WOLFRAM LANGUAGE SYMBOL

CellBracketOptions

CellBracketOptions
is an option for cells that specifies settings for cell brackets.

DetailsDetails

  • The typical usage is CellBracketOptions->{opt1->val1,opt2->val2,}.
  • The following suboptions may be specified:
  • "Color"RGBColor[.54, .55, .79]color of the brackets for a cell
    "HoverColor"RGBColor[.54, .55, .79]color of a cell bracket when the mouse is hovering over it
    "Margins"{0, 2}width of margins around the brackets for a cell
    "OverlapContent"Automaticwhether cell contents are allowed to overlap the cell bracket
    "Thickness"1thickness of the brackets for a cell
    "Widths"{0, 7}width of the brackets for a cell
  • is specified in terms of printers points, where 72 points equal one inch. The default setting is .
  • The color is specified using the color dialog box that appears when the square symbol next to the option is clicked. It can be specified using RGBColor, GrayLevel, Hue, and CMYKColor.
  • determines the size of the margins to the left and right of the cell bracket, respectively. The values are given in printer's points, where 72 points equal one inch.
  • determines the width of the brackets for a cell. The values are given in printer's points, where 72 points equal one inch.
  • determines whether the content of a cell is allowed to overlap the designated area for the cell bracket.
  • "OverlapContent"->True will leave area for the cell bracket even if drawing the cell bracket is disabled using ShowCellBracket->False. Automatic is equivalent to False if ShowCellBracket->False, and True otherwise.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

The value of the CellBracketOptions option is used here to give a cell with a thick, wide, red cell bracket:

In[1]:=
Click for copyable input

The effect of in the value of the CellBracketOptions option can be seen by hovering the mouse pointer over each of the cell brackets:

In[2]:=
Click for copyable input

This gives three cells with different settings for in the value of the CellBracketOptions option. The setting of controls the width of margins around the brackets for the cell:

In[3]:=
Click for copyable input

This gives a cell with False followed by a cell with True. The setting of in the value of the CellBracketOptions option controls whether cell contents are allowed to overlap the cell bracket:

In[4]:=
Click for copyable input

Changing the value of the CellBracketOptions option for a notebook changes the default value of the CellBracketOptions option for all cells in the notebook:

In[5]:=
Click for copyable input
Out[5]=

This causes cells that are not already specified at a lower level to be displayed with thick, red cell brackets:

In[6]:=
Click for copyable input

Restore the original value of the CellBracketOptions option for the selected notebook:

In[7]:=
Click for copyable input
Introduced in 1999
(4.0)
Translate this page: