Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site ucla-cs.ARPA
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!ittvax!dcdwest!sdcsvax!sdcrdcf!trwrb!cepu!ucla-cs!dberry
From: dberry@ucla-cs.UUCP
Newsgroups: net.text
Subject: help with diversions
Message-ID: <3807@ucla-cs.ARPA>
Date: Thu, 7-Feb-85 15:41:43 EST
Article-I.D.: ucla-cs.3807
Posted: Thu Feb  7 15:41:43 1985
Date-Received: Tue, 12-Feb-85 05:50:07 EST
Reply-To: dberry@ucla-cs.UUCP (Dan Berry)
Organization: UCLA Computer Science Department
Lines: 50

Does anyone have experience using the supplied .PS and .PE macros
that come with ditroff for centering PIC generated pictures.
In particular, I cannot get a PIC picture that is part of a floated keep to
be centered. When I change the .in inside the definition of .PS
there is no change in the indentation of the output.
so we have

....

.dePS
.nr LS \\n(.L
.nr IS \\n(.i
.ls 1
.if t .sp .3
.in (\\n(.lu-\\$2u)/2u
.ne \\$1u
..
.dePE
.ls \\n(LS
.in \\n(IS
.if t .sp .6
..

....

.fs \"start of our macro's floting keep
.PS
boxwid = 1i
boxht = 1i
movewid = 1i
moveht = 1i
circlerad = .5i
box "blah" "blah"
.PE
.ce
Figure 1: Proof Manager
.sp
.fe \" of our floating keep

Now in the actual document the PIC picture does get floated to the next
page at the top. In case it is significant, at the place the text is
printed, there is an indent for a numbered list in effect. The list is
done properly both before and after the picture --so the restoration
of the indent is working properly.

As I said the picture comes out left justified but the caption is centered.
What am I doing wrong????

Daniel M. Berry         UCLA Computer Science Department
dberry@ucla-locus.arpa  ..!{sdcrdcf,ihnp4,cepu,trwspp,ucbvax}!ucla-cs!dberry