In Savannah #61437[1], Bjarni asserted that our groff(7) page was wrong
to say that the \d and \r escape sequence move in vees (the
documentation of the \u escape sequence did not draw his comment and the
default scaling unit of \v [vees], did not draw his comment).
After a bit of back and forth,
Here is a macro to be used with mom, that moves to a distance down from top or
up from bottom, depending on the sign of the argument:
.\" Goto position relative to top or bottom of page depending
.\" on sign of argument, respecting margins with parameter "m"
.\" Examples: .Goto -3c / .Goto 3c m
You are getting an overflow. The request
> .sp |(\n[t1]+\n[t2])u
does not do what you think it does.
Section 1.4 "Numerical expressions" of the Troff User's Manual says
In the presence of default scaling, the desired scale indicator
must be attached to *every* number in an expression fo
On Thu, Nov 11, 2021, Steve Izma wrote:
> On Wed, Nov 10, 2021 at 08:50:29PM -0500, Douglas McIlroy wrote:
> > Subject: Re: .SPACE in mom
> >
> > .sp |d, where d is some vertical distance, provides that much
> > space from the top of the page above any immediately following
> > text. The nominal h
On Thu, Nov 11, 2021, Ulrich Lauther wrote:
> look at this code:
>
> .nr t1 5c
> .nr t2 5c
> .nr foo1 \n[t1]u+\n[t2]u
> foo1 \n[foo1]
>
> .nr foo2 (\n[t1]+\n[t2])u
> foo2 \n[foo2]
> .sp |10c
> 10 c
> .sp |\n[t1]u+\n[t2]u
>
On Wed, Nov 10, 2021 at 08:50:29PM -0500, Douglas McIlroy wrote:
> Subject: Re: .SPACE in mom
>
> .sp |d, where d is some vertical distance, provides that much
> space from the top of the page above any immediately following
> text. The nominal height of such text is the line spacing,
> \n[.v].
W
Hi all,
look at this code:
.nr t1 5c
.nr t2 5c
.nr foo1 \n[t1]u+\n[t2]u
foo1 \n[foo1]
.nr foo2 (\n[t1]+\n[t2])u
foo2 \n[foo2]
.sp |10c
10 c
.sp |\n[t1]u+\n[t2]u
no braket
.sp |(\n[t1]+\n[t2])u
with braket