Path: utzoo!attcan!uunet!pyrdc!gmu90x!gmuvax2!rauletta From: rauletta@gmuvax2.gmu.edu (R. J. Auletta) Newsgroups: comp.text Subject: Re: Eroff, -me floating keeps & PostScript Message-ID: <769@gmuvax2.gmu.edu> Date: 7 Feb 90 15:28:48 GMT References: <1347@ks.UUCP> Reply-To: rauletta@gmuvax2.UUCP (R. J. Auletta) Organization: George Mason Univ. Fairfax, Va. Lines: 30 In article jaap+@andrew.cmu.edu (Jaap Akkerhuis) writes: >Excerpts from netnews.comp.text: 2-Feb-90 Eroff, -me floating keeps &.. >Eli Messinger@ebm.almade (792) > >> I am trying to include a PostScript figure inside a floating keep, using >> Elan's eroff as, > >> Some introductory text about the Figure, >> .(z >> .hl >> .cS figure.ps 5i 3i >> Figure Title Text >> .hl >> .)z >> and some more text afterwards. This may not be a solution but here is a little macro that uses the eroff macros to center a EPS figure based on the bounding box information at the top of the EPS. .\" This macro centers an EPS file based on the bounding box information. .\" Usage: .BB file Bounding_Box Example: .BB test.eps 143 413 469 613 .\" Assumes the usage of Elan's macro package. .\" .de BB .cS \\$1 \\$4p-\\$2p \\$5p-\\$3p ((\n(.l-(\\$4p-\\$2p)/2)-\\$2p)u \\$3p .. --R J Auletta rauletta@gmuvax2.gmu.edu