Re: how to collapse a cell in v.6

*To*: mathgroup at smc.vnet.net*Subject*: [mg79878] Re: how to collapse a cell in v.6*From*: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>*Date*: Wed, 8 Aug 2007 04:42:09 -0400 (EDT)*Organization*: The Open University, Milton Keynes, UK*References*: <f943nq$m7j$1@smc.vnet.net> <f96jiq$qdl$1@smc.vnet.net> <f98vj4$bhl$1@smc.vnet.net>

Albert wrote: > Jean-Marc Gulliet wrote: >> Steven Shippee wrote: >>> In version 5 of Mathematica one could complete the keystrokes >>> >>> alt + c >>> >>> alt + r >>> >>> alt + c >>> >>> to collapse and/or expand cells. >> > >>> How does one accomplish this in version 6. please - and thank you in >>> advance. >> On my Windows system, the sequence of keystrokes 'Alt + c' opens the >> /Cell/ menu and 'Alt + r' opens the /Format/ menu. Since hitting the >> 'Alt' key plus a letter to access some menu options is the conventional >> way to build GUI in Windows, either you are not using Windows (but still >> have a keyboard with the 'Alt' key) or you have a heavily customized >> version of Mathematica. >> >> At any rate, the default keystrokes to open or close a group of cells is >> 'Alt + shift + {' and 'Alt + shift + }', respectively. They match the >> menu entries Cell -> Grouping -> Open All Subgroups and Cell -> Grouping >> -> Close All Subgroups. > > I think the OP wanted to open and close cells, not cell groups. This > functionality is still there, but since for version 6 the menues have > been changed, the key sequences did, too: > > Alt-c p o > > or also (with holding the Alt-Key pressed all the time): > > Alt-c Alt-p Alt-o > > do what he intended to do (at least on windows, which I supspect is what > he asked for). Note that when using the alt key sequences the possible > next letters are underlined in the menu, something also very > conventional for GUIs. You can access every menu entry that way. You are definitely right: I totally missed the point and failed to answer the OP question. Event worse, as noted by rob, the shortcut I gave for opening/closing a group of cells are erroneous! The correct shortcuts are Opening a group of cells: Ctrl + Shift + { Closing a group of cells: Ctrl + Shift + } and not the silly one I gave starting with the Alt key. Sorry for the confusion, Jean-Marc