Article View: net.text
Article #68Re: Vertical offset in plain troff -- how?
From: Suzanne Barnett
Date: Wed, 06 Nov 1985 15:50
Date: Wed, 06 Nov 1985 15:50
33 lines
1968 bytes
1968 bytes
> I would like to have TROFF vertically offset the output on a page by
> about one inch DOWNWARD. Does anyone know how this can be accomplished
> without using a ready-made macro package (just bare TROFF)?
>
> .
> -------
> |-----| A. G. Percus
> |II II| (ARPA) percus@acf4
> |II II| (NYU) percus.acf4
> |II II| (UUCP) ...{allegra!ihnp4!seismo}!cmcl2!acf4!percus
> |II II|
> -------
If you can use -me macros, use the commands .m1, .m2, .m3 and .m4.
.m1 is an offset from the top of the paper to the header, .m2
offsets from the header to the page's text. .m3 and .m4 are for the
bottom of the page.
If you can't use the -me macros, check out their code in
/usr/lib/tmac/tmac.e. Vertical motion is designated by
\v'N'
You should be able to make a local macro copying the .m1
and/or .m2 definitions. If necessary, you should be able to
combine them into one macro, and also make a specific, rather
than a parameter offset distance.
--
**************************************************************
Suzanne Barnett-Scott
uucp: ...{decvax,ihnp4,noao,savax,seismo}!terak!suze
phone: (602) 998-4800
us mail: CalComp/Sanders Display Products Division
(Formerly Terak Corporation)
14151 N 76th street, Scottsdale, AZ 85260
Technical Details
Message-ID:
<853@terak.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!hao!noao!terak!suzeReferences:
<5770002@acf4.UUCP>Show 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 terak.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!hao!noao!terak!suze From: suze@terak.UUCP (Suzanne Barnett) Newsgroups: net.text Subject: Re: Vertical offset in plain troff -- how? Message-ID: <853@terak.UUCP> Date: Wed, 6-Nov-85 10:50:44 EST Article-I.D.: terak.853 Posted: Wed Nov 6 10:50:44 1985 Date-Received: Sun, 10-Nov-85 08:27:41 EST References: <5770002@acf4.UUCP> Organization: Calcomp Display Products Division, Scottsdale, AZ, USA Lines: 33