groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] www.tmac -- .MPIMG enhancement


From: Gaius Mulley
Subject: Re: [Groff] www.tmac -- .MPIMG enhancement
Date: 16 Jul 2003 22:49:10 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Heinz-Jürgen Oertel <address@hidden> writes:

> Hello,
> asking for an idea to improve the .MPIMG macro.
> As currently implemented the macro fills the text around a picture without 
> any 
> gap between the image and the text, at least in PS output. Im looking for  
> suggestions how an additional parameter to the macro should look like.
> Currently I use a global number register to arrange this gap:
> 
> .nr www-image-gap 1c
> .MPIMG -R pic/pic-002.png 8c
> blabla ..
> .nr www-image-gap 1c
> .MPIMG -L pic/3.png 8c
> blabla ..
> 
> What would be the best parameter arrangement?

Hi Heinz,

how about 

.\" MPIMG [-R|-L] filename [width] [height] [-G gap]

.MPIMG -L pic/3.png 8c 8c -G 1c

a little complex but at least it allows the user to omit the height
and width for that matter..

Gaius

reply via email to

[Prev in Thread] Current Thread [Next in Thread]