groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Table cell vertical align


From: Ted Harding
Subject: Re: [Groff] Table cell vertical align
Date: Tue, 11 Sep 2012 10:23:12 +0100 (BST)

On 11-Sep-2012 09:08:08 Ralph Corderoy wrote:
> Hi Salve,
> 
>> I try to learn groff.  I want to have 'Text' printed at the bottom of
>> its cell.  But can't find out how.
>>
>> .TS
>> tab(;) allbox;
>> l r.
>> T{
>> Shakespeare was born and brought up in Stratford-upon-Avon.
>> At the age of 18, he married Anne Hathaway,
>> with whom he had three children
>> T};Text
>> .TE
> 
> I think I learnt this from the list when I asked a few months ago.  See
> lines marked `->' and tbl(1).
> 
>     $ cat foo.tr
>     .TS
>     tab(;) allbox;
>  -> l rd.
>     T{
>     Shakespeare was born and brought up in Stratford-upon-Avon.
>     At the age of 18, he married Anne Hathaway,
>     with whom he had three children
>     T};Text
>  -> \^;\^
>     .TE
>     $ groff -Tascii -t foo.tr 2>/dev/null | grep .
>     +-----------------------+------+
>     |Shakespeare  was  born |      |
>     |and  brought   up   in |      |
>     |Stratford-upon-Avon.   |      |
>     |At the age of  18,  he |      |
>     |married Anne Hathaway, |      |
>     |with whom he had three |      |
>     |children               | Text |
>     +-----------------------+------+
>     $
> 
> Cheers, Ralph.

Well spotted, Ralph! I had overlooked/forgotten the 'd' specifier.

-------------------------------------------------
E-Mail: (Ted Harding) <address@hidden>
Date: 11-Sep-2012  Time: 10:23:09
This message was sent by XFMail
-------------------------------------------------


reply via email to

[Prev in Thread] Current Thread [Next in Thread]