MathGroup Archive 2007

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

Search the Archive

Re: Fwd: correction to: more than 1.5 hrs of trying: Grid Alignment problem ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80914] Re: [mg80830] Fwd: correction to: more than 1.5 hrs of trying: Grid Alignment problem ?
  • From: "Chris Chiasson" <chris at chiasson.name>
  • Date: Wed, 5 Sep 2007 02:57:38 -0400 (EDT)
  • References: <acbec1a40708310407t5743b5d6m1e2963988ddeaab8@mail.gmail.com>

On 9/4/07, Carl Woll <carlw at wolfram.com> wrote:
<snip/>
> One simple approach is to use Item:
>
> tab = {Item[#,Alignment->Center]&/@{1,1,1,1000},
> Item[#,Alignment->Center]&/@{2,2,2000,2},{3,3000,3,3},{4000,4,4,4}};
> Grid[tab, Alignment->Right]
>
> Using just Alignment is also possible:
>
> tab={{1,1,1,1000},{2,2,2000,2},{3,3000,3,3},{4000,4,4,4}};
> Grid[tab, Alignment -> {Right, Baseline, {{1, 2}, {1, -1}} -> Center}]

Thank you Dr. Woll.

-- 
http://chris.chiasson.name/


  • Prev by Date: strange rounding result
  • Next by Date: Re: What is $MaxNumber on a 64 bit Computer?
  • Previous by thread: Re: Fwd: correction to: more than 1.5 hrs of trying: Grid Alignment problem ?
  • Next by thread: Plot question