is an option for cells that specifies the rules used for grouping a cell.


CellGroupingRules
is an option for cells that specifies the rules used for grouping a cell.
Details

- With the default setting CellGroupingRules->"NormalGrouping", cells are automatically grouped according to their cell style.
- CellGroupingRules can also be set to {type,n}, where type is selected from a list and n is an integer that gives the precedence of the grouping relative to other cells of the same type.
Related Guides
History
Introduced in 1999 (4.0)
Text
Wolfram Research (1999), CellGroupingRules, Wolfram Language function, https://reference.wolfram.com/language/ref/CellGroupingRules.html.
CMS
Wolfram Language. 1999. "CellGroupingRules." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CellGroupingRules.html.
APA
Wolfram Language. (1999). CellGroupingRules. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CellGroupingRules.html
BibTeX
@misc{reference.wolfram_2025_cellgroupingrules, author="Wolfram Research", title="{CellGroupingRules}", year="1999", howpublished="\url{https://reference.wolfram.com/language/ref/CellGroupingRules.html}", note=[Accessed: 13-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_cellgroupingrules, organization={Wolfram Research}, title={CellGroupingRules}, year={1999}, url={https://reference.wolfram.com/language/ref/CellGroupingRules.html}, note=[Accessed: 13-August-2025]}