groff
[Top][All Lists]
Advanced

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

Re: [Groff] Vertical Movement - Sticky?


From: Tadziu Hoffmann
Subject: Re: [Groff] Vertical Movement - Sticky?
Date: Mon, 8 Dec 2008 12:32:05 +0100
User-agent: Mutt/1.5.17 (2007-11-01)

> \h'7c'
> \v'0.5c-\n[nl]u'
> FRANCE
> .br
> 0001
> .br

"\h" and "\v" are for *local* motion within a line.  As soon as
you issue a ".br", you will be returned to the beginning of the
last output line (the place from which the "\v" and "\h" was
counted) plus one v vertically.

> I am trying to move vertically up before adding some
> paragraphs at the new location.

The best solution in this case is to move horizontally with
".in" and/or ".po", and vertically with ".sp".  Note that you
can space vertically to an absolute position on the page by
specifying the position with a "bar" character.  For example,
".sp |3c" puts the baseline of the text at 3 cm plus 1 v from
the top of the page.  (This implied "plus 1 v" is so that
".sp |0" doesn't lose any text but instead puts the text
below the top of the page.)

.sp 3c
hello
.br
world
.br
.po 12c
.sp |0c
foo
.br
bar






reply via email to

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