For some reason, the SubTitle and SubSubTitle cell formats do not group automatically on my machine any more, and I cannot figure out how to fix that. To be explicit, here is a picture of the problem:

If you notice, only the topmost layer in the hierarchy will automatically group with those below it, until you reach the Section level (level-4 on the default stylesheet). This makes using the notebook interface difficult for deeply nested topics, as there are only an effective 4 levels of grouping available to me.
How can I fix this?
Answer
In the course of researching this question, I discovered an answer.
Looking at the Option Inspector -> Cell Options -> General Properties for each of the cells shown above, reveals the option: CellGroupingRules. Unfortunately, there is little in terms of documentation for this option.
Upon inspection, CellGroupingRules has the value of {"TitleGrouping", 0}, {"TitleGrouping", 10}, and {"TitleGrouping", 20} for the three title cells, respectively, in order of appearance. The Section cells, down to the SubSubSection have CellGroupingRules = {"SectionGrouping", x} where x goes from 30 to 50 as you descend the hierarchy. So, obviously, the number indicates the level in the hierarchy. A Text cell (7th in the hierarchy) has CellGroupingRules = "NormalGrouping".
Changing CellGroupingRules on SubSubTitle to {"SectionGrouping", 20} appears to do the trick. For whatever reason, "TitleGrouping" implies that sub-titles are not to be included in the grouping.
Comments
Post a Comment