Re: tableform question
- To: mathgroup at smc.vnet.net
- Subject: [mg70082] Re: tableform question
- From: dimmechan at yahoo.com
- Date: Mon, 2 Oct 2006 00:34:18 -0400 (EDT)
- References: <efldbk$d4k$1@smc.vnet.net><efnuti$7qi$1@smc.vnet.net>
Thanks a lot Brian.
Your reply was beyond my expectations.
Regards
Î?/Î? bghiggins at ucdavis.edu ÎγÏ?αÏ?ε:
> The key is to use GridBoxes. You have much more control over the
> appearance of your table. By combining the options of GridBoxes with
> StyleBox you can get pretty nifty looking Tables:
>
> Here is a basic example:
>
> DisplayForm[StyleBox[GridBox[{ {"", "global
> rules\nstored with\nthe head",
> "global rules\nstored with\nan argument", "local rules"},
> {"evaluate \
> rhs", "=", "^=", "->"}, { "delay rhs", ":=", "^:=", ":>"}}, RowLines ->
> True, \
> ColumnLines -> True, GridFrame -> True], FontColor -> RGBColor[1, 0,
> 1], \
> FontWeight -> "Bold", Background -> RGBColor[0.42002, 1, 0.932296]]]
>
> Hope this helps,
>
> Cheers,
> Brian
>
> dimmechan at yahoo.com wrote:
> > Is it possible to display the output of the following command
> >
> > table=StyleForm[TableForm[{{"=", "^=", "->"}, {":=", "^:=", ":>"}},
> > TableHeadings -> {{"evaluate rhs", "delay rhs"}, {"global
> > rules\nstored with\nthe head",
> > "global rules\nstored with\nan argument", "local rules"}},
> > TableAlignments -> Center, TableSpacing -> {2, 2}], FontFamily ->
> > "Times", FontSize -> 14, FontColor -> Red]
> >
> > as it would appeared in a book (i.e. with lines separated columns from
> > rows e.t.c.)?
> >
> > If the answer is no please let me know how I have to work.
> >
> > Thanks.