Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*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 2005

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

Search the Archive

Formatting GridBox with ColumnAlignments

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62715] Formatting GridBox with ColumnAlignments
  • From: "Trevor Baca" <trevorbaca at gmail.com>
  • Date: Fri, 2 Dec 2005 05:53:15 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

A formatting question:

If we let

  r1 = DisplayForm[RowBox[{"(", 1, 2, 3, ")"}]]

and

  r2 = DisplayForm[Overscript[RowBox[{1, 2, 3, 4, 5}], \[OverBracket]]]

and then put r1 and r2 together in

  r3 = DisplayForm[GridBox[{{r1}, {r2}}, ColumnAlignments -> Left]]

then we get something that's not very aligned at all. (Evaluating r3
shows quit a bit of whitespace prior to the open parenthesis in r2,
making the two rows in the grid look somewhat messy).

Question: is it possible to make the "1"s align exactly in r3?
(ColumnAlignments -> "1" isn't doing the trick.)

Trevor.


  • Prev by Date: How would you evaluate this limit in Mathmatica
  • Next by Date: Re: solving simultaneous coupled differential equations
  • Previous by thread: Re: How would you evaluate this limit in Mathmatica
  • Next by thread: Re: Formatting GridBox with ColumnAlignments