Re: Formatting GridBox with ColumnAlignments
- To: mathgroup at smc.vnet.net
- Subject: [mg62876] Re: [mg62715] Formatting GridBox with ColumnAlignments
- From: Trevor Bača <trevorbaca at gmail.com>
- Date: Tue, 6 Dec 2005 23:12:12 -0500 (EST)
- References: <200512021053.FAA17714@smc.vnet.net> <76e8f8180512061357q3be5fbcbp58f758209c4a5121@mail.gmail.com>
- Sender: owner-wri-mathgroup at wolfram.com
On 12/6/05, bsyehuda at gmail.com <bsyehuda at gmail.com> wrote:
> r3 = DisplayForm[GridBox[{{r1}, {r2}}, ColumnAlignments -> Center]]
> will do the trick
???
Try evaluating r3 with Using ColumnAlignments -> Center and we find
* nothing above the 1 in r2;
* the 1 in r1 above the 2 in r2;
* the 2 in r1 above the 3 in r2;
* the 3 in r1 above the 4 in r2;
* nothing above the 5 in r2.
In other words, ColumnAlignments -> Center causes r1 and r2 to be
*centered*, as we would expect.
The challenge is to (more-or-less) left-align r1 over r2, such that:
* the 1 in r1 will be above the 1 in r2.
(Think of r1 and r2 as two different lines of symbolic material to be
left-aligned in r3, under the condition that the leftmost numbers in
each should align exactly, ignoring the start-parenthesis in r1 and
the overbracket in r2.)
Is this possible?
Trevor.
- References:
- Formatting GridBox with ColumnAlignments
- From: "Trevor Baca" <trevorbaca@gmail.com>
- Formatting GridBox with ColumnAlignments