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.
>
>
- References:
- Formatting GridBox with ColumnAlignments
- From: "Trevor Baca" <trevorbaca@gmail.com>
- Formatting GridBox with ColumnAlignments