Buttons to close and open cells at certain levels?
- To: mathgroup at smc.vnet.net
- Subject: [mg75605] Buttons to close and open cells at certain levels?
- From: AES <siegman at stanford.edu>
- Date: Sun, 6 May 2007 01:53:51 -0400 (EDT)
- Organization: Stanford University
I'd love to have a template for a cell I could put at or near the top of
many of my notebooks that would have two buttons: click one button and
all cells except cells at Style levels cmd-5 and cmd-6 (and the button
cell itself) immediately close; click the other button, they all open
back up again.
In other words, a single-click "Collapse to outline form showing section
and subsection cells only" and then a single-click re-open capability
(and this should operate, incidentally without depending upon or messing
around with how any of the Cell Grouping rules are set).
If any expert Mathematica programmer wants to respond with, "Hey, that's
trivial! -- here's how to do it," well, it may not bring you eternal
glory, but it'll bring appreciation from me anyway, however long I last
as an Mathematica user.
Prev by Date:
Re: Fourier and InverseFourier
Next by Date:
Re: [Mathematica 6] What happened to the 5.2 HELP interface? Can
Previous by thread:
Re: Re: General::obspkg and "Compatibility Guide"???
Next by thread:
Re: Buttons to close and open cells at certain levels?