Mathematica 9 is now available
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

Re: Formatting GridBox with ColumnAlignments

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62874] Re: [mg62715] Formatting GridBox with ColumnAlignments
  • From: <bsyehuda at gmail.com>
  • Date: Tue, 6 Dec 2005 23:12:08 -0500 (EST)
  • References: <200512021053.FAA17714@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

r3 = DisplayForm[GridBox[{{r1}, {r2}}, ColumnAlignments -> Center]]
will do the trick
yehuda

On 12/2/05, Trevor Baca <trevorbaca at gmail.com> wrote:
>
> 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: Questions on Apply function
  • Next by Date: Re: Re: Threading 'Append'
  • Previous by thread: Formatting GridBox with ColumnAlignments
  • Next by thread: Re: Formatting GridBox with ColumnAlignments