groff
[Top][All Lists]
Advanced

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

Re: [Groff] tbl: Standard column width?


From: Larry Kollar
Subject: Re: [Groff] tbl: Standard column width?
Date: Sun, 12 Mar 2006 08:19:01 -0500

Daniel Leidert wrote:

I would like to know, if there is a standard column width, when I use
the .TS macro? The problem is, that the result of the following code is wrapped text in the second column (independent from MANWIDTH), even if I
use expand:

.TS
expand allbox;
ll.
T{
"0x10000000"
T}      T{
Disable AGP 4x (forces 8x).
T}
T{
"0x20000000"
T}      T{
Disable AGP 8x (forces 4x).
T}
.TE

The second column is always wrapped after 22/23 chars [1]. Is this
intended behaviour?

I'm sure there's a formulaic reason for tbl to do the things it does, but I've never gotten curious enough to root around in the source and figure out what it is. :-)

But for short entries like you have in the example table, you could eliminate the T{ T} constructs and get it to work:

.TS
expand allbox;
l l .
"0x10000000"  Disable AGP 4x (forces 8x).
"0x20000000"  Disable AGP 8x (forces 4x).
.TE

One thing I have noticed, when you don't use T{ T}, tbl won't wrap even if the row runs off the end of the paper.

--
Larry Kollar     k  o  l  l  a  r  @  a  l  l  t  e  l  .  n  e  t
Unix Text Processing: "UTP Revival"
http://unixtext.org/






reply via email to

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