10/9 -12, you wrote: > On 10-Sep-2012 18:45:11 Salve Håkedal wrote: > > 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 > > > > -- > > Salve > > There is not, as far as I know, a construct in 'tbl' which > will do this automatically. However, you can do it as part > of tidying up the final version, once you have seen what > happens in a draft version. > > Say you observe that the block of text extends over 5 lines > in the table (as it did for me when I tried your code). > > Then you want the word Text also on the fifth line, i.e. > 4 lines lower than the top line. So you can insert a vertical > movement \v'4v' which moves "Text" down by 4 times the line > spacing: > > .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};\v'4v'Text\v'-4v' > .TE > > If you observed some different number of lines in the text block > (say 4), then use \v'3v'. And so on. > > The \v'-4v' returns the vertical position to the original position > at line 1, so that if you have further columns they are not affected > by the vertical movement in column 2. > > Hoping this helps, > Ted. > > ------------------------------------------------- > E-Mail: (Ted Harding) <ted.hard...@wlandres.net> > Date: 10-Sep-2012 Time: 23:58:39 > This message was sent by XFMail > -------------------------------------------------
Thank you! I learned something new, but it won't really help in this case, as I try to use groff as part of scripting my book keeping. So I should not have to tidy it up every time I make a new record. -- Salve