Re: Re: Re: Collapsing cell groups [was: Mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg90692] Re: [mg90671] Re: [mg90628] Re: [mg90613] Collapsing cell groups [was: Mathematica
- From: John Fultz <jfultz at wolfram.com>
- Date: Sat, 19 Jul 2008 04:51:12 -0400 (EDT)
- Reply-to: jfultz at wolfram.com
To be honest, you're the first person to suggest that this is a problem, and it's not clear to me what simple user interface would allow you to pick the group level when collapsing. So, there's no direct way to work around the limitation. However, it is pretty easy to redo the cell grouping for your example so that it's one flat group, and therefore can collapse around the Output cell. To do so, select the cell group and do Cell->Grouping->Group Cells/Group Together. This applies a manual cell group which overrides the automatic grouping on those cells and flattens the cell cell group hierarchies. Sincerely, John Fultz jfultz at wolfram.com User Interface Group Wolfram Research, Inc. On Fri, 18 Jul 2008 04:03:46 -0400 (EDT), Murray Eisenberg wrote: > That new-in-6 feature only seems to work with a cell at the topmost > level within a group. For example, I have a notebook with the following > structure: > > Section > Input cell with a Plot expression > Output cell from that Plot > Text cell > > Section > > Yes, if I double-click the text cell, the rest of the entire Section > group collapses to that text cell. > > However, suppose I want to collapse everything in that section except > the Plot output. I double-click the Plot output cell's bracket and the > Input/Output pair collapses to just the output cell. > > But now how could I collapse the entire section so that just the plot > output cell shows? If I double-click the output cell bracket, nothing > happens; if I double-click the Plot Input/Output group bracket, then of > course it just reopens the Plot Input cell again. > > Am I missing something here? > > > John Fultz wrote: > >> ... There are >> several options for hiding the input cells, including the new ability >> in version >> 6 to collapse a cell group around a cell other than the topmost cell >> (double-click the cell bracket of the cell you wish to remain visible).