MathGroup Archive 2011

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

Search the Archive

Re: Styling initialization cells

  • To: mathgroup at smc.vnet.net
  • Subject: [mg121506] Re: Styling initialization cells
  • From: "David Park" <djmpark at comcast.net>
  • Date: Sun, 18 Sep 2011 04:09:28 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <1155045.142253.1316252203355.JavaMail.root@m06>

You could design your own style sheet and add a definition for
"InitializedInput". It's underlying form would look like:

Cell[StyleData["InitializedInput", StyleDefinitions -> StyleData["Input"]],
 InitializationCell->True,
 Background->RGBColor[0.868628, 0.947059, 0.903922],
 MenuSortingValue->1506]

Use whatever color you wish.

The problem with this is that unless other users have the same style sheet,
or definition the notebook will not work for them.

Another possibility is to add the Background option to your initialization
cells by hand. Another possibility is that some clever person will write
some code to select and color all Initialization cells in a notebook. I
don't have time to work on it at the moment.


David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/ 


From: Mariano Su=E1rez-Alvarez [mailto:mariano.suarezalvarez at gmail.com]


Hi all,

Is there a way to alter the style of initialization cells (I want to change
their background color) using stylesheets?

By the way: whoever thought the minuscule line in the cell bracket that
indicates the initialization-cell-ness was a good way of marking those
cells?!

-- m





  • Prev by Date: Re: How create new style sheet- Mathematica 8
  • Next by Date: Eliminate works but Solve does not?
  • Previous by thread: Re: Styling initialization cells
  • Next by thread: Re: Styling initialization cells