[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Writing in gray with groff... possible?
From: |
Ted Harding |
Subject: |
Re: [Groff] Writing in gray with groff... possible? |
Date: |
Sun, 06 Aug 2000 14:20:56 +0100 (BST) |
On 06-Aug-00 Ted Harding wrote:
> The positioning needs a little tweaking (try it with horizontal lines
> between table rows), but the basic idea is very nice and neat indeed.
This is in fact quite simple -- thanks to your very direct approach.
The definition of .m4tfc needs 3 extra lines (marked here with **):
.de m4tfc
** .nr m4tdrop 0.25m
.nr m4ti \\$1-1
.nr m4tj \\$2-1
.nr m4tk \\n[3cd\\n[m4ti]]+\\n(.o
.nr m4tl \\n[3cd\\$1]-\\n[3cd\\n[m4ti]]
.nr m4th \\n[3rt\\$2]-\\n[3rt\\n[m4tj]]
\\!m4t: H\\n[m4tk]
\\!m4t: V\\n[3rt\\n[m4tj]]
** \\!m4t: v\\n[m4tdrop]
\\!m4t: Df \\$3 0
\\!m4t: DP \\n[m4tl] 0 0 \\n[m4th] -\\n[m4tl] 0 0 -\\n[m4th]
\\!m4t: Df 0 0
** \\!m4t: v-\\n[m4tdrop]
..
(However, I'm a bit worried in case the .nr m4tdrop could pick up the
point-size for the cell entry in certain circumstances, and not the
point size in terms of which the row spacing is defined. I _think_
it's safe ... ).
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Harding) <address@hidden>
Fax-to-email: +44 (0)870 284 7749
Date: 06-Aug-00 Time: 14:20:56
------------------------------ XFMail ------------------------------