groff
[Top][All Lists]
Advanced

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

Re: [Groff] tbl problems in man


From: Gunnar Ritter
Subject: Re: [Groff] tbl problems in man
Date: Tue, 06 Feb 2007 21:22:10 +0100
User-agent: Heirloom mailx 12.3pre 1/12/07

"Eric S. Raymond" <address@hidden> wrote:

> .TS
> tab(@);
> lw10% lw90%.

One can do

.TS
lw(\n(.lu/10u) lw(\n(.lu*9u/10u).

This is possible because the content of w() is interpreted
by troff, not by tbl. Unfortunately it only works with GNU
tbl and Heirloom tbl because traditional tbl variants have
a limit of 10 characters inside w(). A workaround to make
this fully portable is

.nr %1 \n(.lu/10u
.nr %9 \n(.lu*9u/10u
.TS
lw(\n(%1u) lw(\n(%9u).

        Gunnar




reply via email to

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