groff
[Top][All Lists]
Advanced

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

Re: [Groff] Position Images with PSPIC.


From: Ralph Corderoy
Subject: Re: [Groff] Position Images with PSPIC.
Date: Sat, 25 May 2002 22:20:15 +0100

Hi Tadziu,

> Do the spacing with the baseline distance set to zero.  .sp aways
> skips the requested amount plus the baseline spacing.
> 
> Also, motions with \v and \h are apparently only local, i.e., groff
> restores your position after printing "1" resp. "2".  Try spacing with
> .sp before including the images, like so:

Thanks, using .sp instead of \v and taking into account the implicit 1v
solved my line drawing problem.  For those that come afterwards and
search through the list archive here's what I've ended up with for an A4
page.


Ralph.


.nr paperwidth 21c
.nr paperheight 29.7c
.nr margin 1c
.nr marginfrac \n[margin]*9/10
.nr picwidth \n[paperwidth]-(\n[margin]*2)
.nr picheight \n[paperheight]-(\n[margin*4])/2
.
.pl \n[paperheight]u
.ll \n[picwidth]u
.po \n[margin]u
.
.sp |\n[paperheight]u/2u-1
\Z'\h'|0'\D'l \n[picwidth]u 0''
.
.sp |\n[margin]u-1
\Z'\h'|0'\D'l -\n[marginfrac]u -\n[marginfrac]u''
.sp |\n[margin]u-1
\Z'\h'|\n[picwidth]u'\D'l \n[marginfrac]u -\n[marginfrac]u''
.
.sp |\n[paperheight]u-\n[margin]u-1
\Z'\h'|0'\D'l -\n[marginfrac]u \n[marginfrac]u''
.sp |\n[paperheight]u-\n[margin]u-1
\Z'\h'|\n[picwidth]u'\D'l \n[marginfrac]u \n[marginfrac]u''


reply via email to

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