MathGroup Archive 2012

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

Search the Archive

Problem with Alignment in Center and "."

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125741] Problem with Alignment in Center and "."
  • From: Scott Colwell <scolwell at uoguelph.ca>
  • Date: Fri, 30 Mar 2012 04:39:30 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

I need to have a grid where the number contents are centered horizontally and vertically at the decimal point. I seem to be able to center them or align them with "." but not both at the same time.  Does anyone know how to do this? Here is an example.


Grid[{
  {"A", "B", "C", "D"},
  {"A1", 13.5, 9.01, 7.89},
  {"A2", 12, 9, 8.3891},
  {"A3", 213.645, 6.555, 7.89},
  {"A4", 13.64250, 3, 7.8769}
  }, ItemSize -> 4, Spacings -> {4, 2}, Frame -> All
 ]



  • Prev by Date: Derivatives in replacement rules
  • Next by Date: Re: prim algorithm
  • Previous by thread: Derivatives in replacement rules
  • Next by thread: Facegrids at ticks