[net.text] reference marks in nroff/troff

colonel@gloria.UUCP (George Sicherman) (10/23/84)

[Sneak ... sneak ... sneak ... ]

	The following macros will let you do standard reference marks
with the -ms package.  This is for the BSD version - I don't know
whether they will work with USG -ms.
	If you want to do this on the cover, too, redefine FE in the same
way that FK is redefined.

.rn PT pt		\" redefine top-of-page trap.
.de PT
.	nr f* 1		\" reset mark number.
.	pt
..
.rn FK fk		\" redefine end-of-footnote macro.
.de FK
.	nr f* \\n(f*+1
.	fk
..
.nr f* 1
.if n \{
.	ds d0 \u.\d
.	ds d1 \u*\d
.	ds d2 \u**\d
.	ds d3 \u***\d
.	ds d4 \u****\d\}	\" and so on.
.if t \{
.	ds d0 \(bu
.	ds d1 *
.	ds d2 \(dg
.	ds d3 \(dd
.	ds d4 \(sc\}		\" and so on.
-- 
Col. G. L. Sicherman
...seismo!rochester!rocksanne!rocksvax!sunybcs!gloria!colonel