[Date Index] [Thread Index] [Author Index]
Re: Styling initialization cells
On Mon, 19 Sep 2011 07:06:11 -0400 (EDT), Mariano SuÃ¡rez-Alvarez wrote: > I tried that, but Code cells tend to ruin indentation. They don't ruin indentation...they simply don't, by default, support any kind of automatic line-wrapping or automatic indentation. They fully support manual indentation. These things are easily tweaked with the PageWidth and AutoIndent options if you'd like to change the Code style or invent a new style. The reasoning behind this decision is that Code cells are more likely to contain code over which you might want to express greater control of the display, as opposed to math where it tends to be pretty convenient and useful for Mathematica to just take care of the line-breaking/indenting for you. Sincerely, John Fultz jfultz at wolfram.com User Interface Group Wolfram Research, Inc.