MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

cell group closure and dingbats (was: What I try to ask is ...)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg19294] cell group closure and dingbats (was: What I try to ask is ...)
  • From: paulh at wolfram.com (P.J. Hinton)
  • Date: Sat, 14 Aug 1999 01:45:18 -0400
  • Organization: "Wolfram Research, Inc."
  • References: <7or423$12c@smc.vnet.net> <7p00mq$75v@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In article <7p00mq$75v at smc.vnet.net>, kwong at mines.edu (KwokMan Wong) writes:

>that when I double click the down arrow on the right. A script will
>automatically display. For example, if the double click the down arrow
>of the Overview. The description of the Overview will show up. 

You are describing a common feature of the notebook front end.
The basic unit of a notebook is the cell.  The front end has 
rules for grouping cells together into larger groups by outer 
cell brackets.  Double-clicking on the bracket of a group will 
hide the cell group under the topmost cell of the group.  Double-
clicking again will reexpose the cells.  This can also be done
by the front end menu commands 

	Cell -> Cell Grouping -> Open/Close Group

It is also documented in _The Mathematica Book_ (Fourth Edition),
Section 1.3.5.  You can access this information in the front end's 
help browser by evaluating the following expression in a notebook:

FrontEndExecute[
  FrontEnd`HelpBrowserLookup[
    "MainBook",
    {"1.3.5", "5.4"}
  ]
]  

> I also would like to know how to put a gray square box in front 
> of the Overview. I cannot find a function like that in the menu 
> bar or palettes. 

The menu command would be Format -> Cell Dingbat -> Gray Square.

It should also be noted that for the sake of uniform presentation,
you should add the dingbat to the prototype cell for the style that
you are using.  This will save you the effort of having to manually
add the dingbat to every cell that you want to do this. 

Evaluate this expression to learn more about style sheets:

FrontEndExecute[
  FrontEnd`HelpBrowserLookup[
    "OtherInformation",
    "What Is a Style Sheet?"
  ]
]

--
P.J. Hinton
Mathematica Programming Group           paulh at wolfram.com
Wolfram Research, Inc.
Disclaimer: Opinions expressed herein are those of the author alone.


  • Prev by Date: Re: PolynomialQ (wrong) behavior ?
  • Next by Date: Re: Win32 MathLink .exe from Matheamtica 3 on a Mac
  • Previous by thread: recovering corrupted notebook (Re: Please Help)
  • Next by thread: Windows 2000 (NT 5.0)