Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2011

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

Search the Archive

Re: Formatting a Cell Programmatically

  • To: mathgroup at
  • Subject: [mg116759] Re: Formatting a Cell Programmatically
  • From: John Fultz <jfultz at>
  • Date: Sat, 26 Feb 2011 06:08:12 -0500 (EST)

Is this what you're looking for?

 ExpressionCell[Table[{x, Sqrt[x], x^3}, {x, 0, 100}],
  CellFrame -> True, Background -> LightBrown]]


John Fultz
jfultz at
User Interface Group
Wolfram Research, Inc.

On Fri, 25 Feb 2011 06:36:42 -0500 (EST), Gregory Lypny wrote:
> Hello everyone,
> Is there a way to programmatically format an output cell so that even if
> it is deleted, it can be restored with its original format simply by
> executing the input cell again?  Suppose my input cell contains an
> expression to create a table such as
> Table[{x, Sqrt[x], x^3}, {x, 0, 100}]
> What functions would I wrap around that input so that the output cell
> appears with, say, a frame and a light brown background?  I've been
> messing around Cell[...] and CellPrint[...] but all of the examples I've
> seen have taken straight text as the argument and I haven't gotten
> anything to work with a computation.
> Regards,
> Gregory

  • Prev by Date: Re: Integral representation of Bessel functions
  • Next by Date: Re: Rational[a,b] vs Rational[1,2]
  • Previous by thread: Re: Formatting a Cell Programmatically
  • Next by thread: Re: Formatting a Cell Programmatically