groff
[Top][All Lists]
Advanced

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

Re: [Groff] Table cell vertical align


From: Salve Håkedal
Subject: Re: [Groff] Table cell vertical align
Date: Tue, 11 Sep 2012 11:34:33 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

11/9 -12, you 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.
> 
Thanks a lot!
I'll have to read the man page more carefully, but I must admit it's not
very easy to understand fully.

-- 
Salve



reply via email to

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