Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9315

Problem with Alignment in Center and "."

From Scott Colwell <scolwell@uoguelph.ca>
Newsgroups comp.soft-sys.math.mathematica
Subject Problem with Alignment in Center and "."
Date 2012-03-30 09:44 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jl3v90$3on$1@smc.vnet.net> (permalink)

Show all headers | View raw


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
 ]

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Problem with Alignment in Center and "." Scott Colwell <scolwell@uoguelph.ca> - 2012-03-30 09:44 +0000
  Re: Problem with Alignment in Center and "." Rodrigo Murta <murta@rodrigomurta.com> - 2012-04-02 08:24 +0000

csiph-web