groff
[Top][All Lists]
Advanced

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

Re: [Groff] More arguments, please :-)


From: Miklos Somogyi
Subject: Re: [Groff] More arguments, please :-)
Date: Sat, 11 Mar 2006 16:38:50 +1100


On 11/03/2006, at 9:03 AM, Tadziu Hoffmann wrote:


How about this:

  .de mysp
  .nr myspcnr (v;\\$1)
  ..
  .de myspcmac
  .sp \\n[myspcnr]u
  ..
  .blm myspcmac

and then just say

  .mysp .4

if you want small spacing, or

  .mysp 1

if you want larger spacing, etc.


Ted, Werner, Tadziu: thank you gents. What a brainstorming.
I think I'll go with this one, 'cause the macros can be nicely hidden away. Eventually I'll make a version of `bp' to conditionally count the blank lines, note the vertical position of the last lines and advise how to change mysp's parameters for botty alignment on all pages.
Semi-auto, last touch.

Thanks again folks,

Miklos





reply via email to

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