Group Abstract Group Abstract

Message Boards Message Boards

Use CellGroup[] in current Notebook?

Posted 8 years ago

(Posted to StackExchange a week ago, with no response.)

I have used the Option Inspector to set CellGrouping to Manual for the current, selected Notebook. Nonetheless, the following does not group these two cells together:

CellPrint[CellGroup[{TextCell["hello"], TextCell["goodbye"]}]]

Also, adding the second argument to CellGroup[] to specify which cell should be open, does not work.

Please note that both of these work if I create the cells in a new Notebook, created with CellGrouping -> Manual.

I saw the same behavior with Cell[CellGroupData[...]].

What am I missing?

POSTED BY: Aaron Naiman
2 Replies
POSTED BY: Kuba Podkalicki
Posted 8 years ago
POSTED BY: Aaron Naiman
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard