Article View: net.text
Article #350reference marks in nroff/troff
From: George Sicherman
Date: Mon, 22 Oct 1984 22:11
Date: Mon, 22 Oct 1984 22:11
34 lines
1343 bytes
1343 bytes
[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
Technical Details
Message-ID:
<623@gloria.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!seismo!rochester!rocksvax!rocksanne!sunybcs!gloria!colonelShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site gloria.UUCP Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!seismo!rochester!rocksvax!rocksanne!sunybcs!gloria!colonel From: colonel@gloria.UUCP (George Sicherman) Newsgroups: net.text Subject: reference marks in nroff/troff Message-ID: <623@gloria.UUCP> Date: Mon, 22-Oct-84 18:11:24 EDT Article-I.D.: gloria.623 Posted: Mon Oct 22 18:11:24 1984 Date-Received: Wed, 24-Oct-84 07:42:25 EDT Distribution: net Organization: SUNY-Buffalo Confuser Science Lines: 34