Re: Cell grouping rules
- To: mathgroup at smc.vnet.net
- Subject: [mg40208] Re: Cell grouping rules
- From: rolf at mertig.com (Rolf Mertig)
- Date: Tue, 25 Mar 2003 14:51:20 -0500 (EST)
- References: <firstname.lastname@example.org>
- Sender: owner-wri-mathgroup at wolfram.com
Oliver Friedrich <oliver.friedrich at tzm.de> wrote in message news:<b5p01s$7q9$1 at smc.vnet.net>...
> I have a cell containing an expression. Evaluating this produces some
> graphical output for an animation. After evaluation my cell grouping is
> (expression,graphic,graphic,...). But I want to have it like (expression)
> (graphic,graphic,...). So the expression and the output are not grouped
> I found out, that there are options dealing with grouping cells, but how is
> it working exactly. There's an option called "CellGroupingRules" which
> points to something like a style ("GraphicsGrouping,...). Where are these
> styles defined and how can I define my own ones.
> Thank you
> Oliver Friedrich
You could either change the option default
of the StyleData["Input"] in the Default.nb "stylesheet", or, since
this is not really
portable, you could do (for not too big notebooks):
$Pre = (SelectionMove[EvaluationNotebook, All, Notebook];
NotebookGet[EvaluationNotebook] /. Cell[a_, "Input", b___] :>
CellGroupingRules -> "NormalGrouping"]]]; #) &;
or, you modify my posting
which is also kind of a grouping.
Hopefully a future version of Mathematica will have complete dynamic
style property manipulation through the kernel, maybe with "session
beans" like in Java.
Prev by Date:
RE: proper way to manipulate lists?
Next by Date:
Re: proper way to manipulate lists?
Previous by thread:
Cell grouping rules
Next by thread: