Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!genat!maccs!methods!owen From: owen@methods.UUCP (Owen Plowman Mr. Tech.) Newsgroups: comp.text Subject: troff floating display blows away centering of caption Message-ID: <425@methods.UUCP> Date: Wed, 2-Sep-87 00:24:30 EDT Article-I.D.: methods.425 Posted: Wed Sep 2 00:24:30 1987 Date-Received: Wed, 2-Sep-87 03:43:52 EDT Reply-To: owen@methods.UUCP (Owen Plowman Mr. Tech.) Distribution: world Organization: Meta Systems (Canada) Ltd., Burlington, Ont. Lines: 64 Hello everyone. I am having a somewhat minor but fairly horrible problem using troff and MM macros. The problem is concerned with floating displays. Any insights you may have would be most welcome (please respond via e-mail). The problem is this. I am using floating displays, via .DF, to ensure that figures in my document are positioned neatly at the top of a page, and there are not large chunks of blank space at the bottom of many pages, as the would be if I used a simple .DS command. Now, in order to ensure that the caption for the picture or whatever is associated with the correct figure, the .FG command is placed inside the .DF/.DE pair. All is okay so far. The kicker is that, if I have some "pic" specifications in my figure, I have to use ".DF CB" in order to get a result that is centered on the page. But, this blows the centering of the caption all over the place. Usually, the left part of the caption is aligned with the leftmost item of the picture. Maybe a diagram would help: I start off with: .DF CB .PS some pic stuff .PE .FG "title" .DE and I want: a pretty centered picture FIGURE X title but I get: a pretty centered picture FIGURE X title See how the caption is moved over? Usually, my diagrams are such that the caption is over way to far to the left, but I hope that you get the idea. Any clues? Owen Plowman "Have you figured it out yet, Diamond?" Meta Systems, 3385 Harvester Rd., Burlington, Ontario, L7N 3N2 phone: (416) 632-6500 UUCP: ...!{utzoo!mnetor!genat!maccs,watmath}!methods!owen