Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: Q: How do I format text within a cell of GridBox[]?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg64686] Re: Q: How do I format text within a cell of GridBox[]?
  • From: "David Reiss" <dbreiss at gmail.com>
  • Date: Mon, 27 Feb 2006 00:18:34 -0500 (EST)
  • References: <dtrvfb$ltl$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

The following does something along the lines of what I think you are
asking (note that I only do it for one of the columns, it's easy to
generalize).  The main trick is to make the grid entries Cells and
apply options within those cells:

CellPrint[
   Cell[
   BoxData[
   GridBox[
      {{"Time", Cell["Number of Times Parameters Changes  Directions",
"Text", FontFamily -> "Times", TextAlignment -> Center], "Error",
"Parameter #1"}}, 
      ColumnWidths -> {5, 5, 4, 6}]], "Text"]];


  • Prev by Date: Re: Forcing surds into the numerator
  • Next by Date: Re: How if I want to assume that -------
  • Previous by thread: Q: How do I format text within a cell of GridBox[]?
  • Next by thread: Re: Q: How do I format text within a cell of GridBox[]?