({{, Automatic Grouping
automatically creates hierarchical cell groups on the basis of cell style.}})

OpenersNotesSection(Spacer1)Details

Automatic Grouping organizes cells hierarchically based on the styles of the cells in a notebook. For example, Input cells form groups automatically only when followed by Output cells.

The grouping behavior of cells is controlled by the (RefLink[CellGroupingRules, paclet:ref/CellGroupingRules]) option.

Any groups you have created manually will be ignored when Automatic Grouping is selected.

Automatic Grouping sets the option (RefLink[CellGrouping, paclet:ref/CellGrouping])->(RefLink[Automatic, paclet:ref/Automatic]) on the selected notebook.

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(MenuGrayLink[Manual Grouping, paclet:ref/menuitem/ManualGrouping])}})}})

({{(Spacer1), ({{(Spacer1)Related Links}, {(Spacer1)▪(RefLink[(Spacer1)CellGrouping, paclet:ref/CellGrouping])}})}})