[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Vertical centering in tables -- or, why isn't there a FAQ?
From: |
Valeriy E. Ushakov |
Subject: |
Re: Vertical centering in tables -- or, why isn't there a FAQ? |
Date: |
Wed, 15 Apr 1998 18:04:44 +0400 |
On Tue, Apr 14, 1998 at 03:25:05AM +0300, Nimrod Zimerman wrote:
> The problem is very simple, and I doubt even requires a demonstration.
> In a @Tab, I want to be able to center table elements vertically such as
> this:
>
> Column A Column B
>
> First entry
> in column A This one is
> spans somewhat
> several shorter.
> lines.
>
> Mainly, I need this because I need to use a symbol, such as '@Sym radical',
> and it has to be placed in the middle of the line or things simply look bad.
In mydefs.lt
macro @VCenter { 0.5w @VShift }
Then in your @Tab:
@Fmta {
@Col { @VCenter A } ! @Col { @VCenter B } # etc
}
Basicly, this moves the horizontal mark of a cell to the middle. Then
lout aligns cells' horizontal marks.
Hope it helps.
SY, Uwe
--
address@hidden | Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen