From aeb419f2fb91f984de14d60819746f5390b3821b Mon Sep 17 00:00:00 2001 From: wlemb Date: Sat, 3 Jul 2004 15:08:54 +0000 Subject: * tmac/groff_www.man: Update documentation of .MPIMG. --- tmac/groff_www.man | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) (limited to 'tmac/groff_www.man') diff --git a/tmac/groff_www.man b/tmac/groff_www.man index 7ab19a97..e52ea38d 100644 --- a/tmac/groff_www.man +++ b/tmac/groff_www.man @@ -1,5 +1,5 @@ .TH GROFF_WWW @MAN7EXT@ "@MDATE@" "Groff Version @VERSION@" -.\" Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +.\" Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. .\" Written by Gaius Mulley (gaius@glam.ac.uk) .\" .\" This file is part of groff. @@ -284,14 +284,33 @@ option of groff. .TP .B MPIMG Place a PNG image on the margin and wrap text around it. -The first parameter is the alignment: left or right +The first parameters are optional. +The alignment: left or right .RB ( \-L or -.BR \-R ). -The second argument is the filename. -The optional third and fourth arguments are the width and height. +.BR \-R ) +specifies the margin where the picture is placed at. +The default alignment is left +.RB ( -L ). +Optionally, +.BI \-G \~gap +can be used to arrange a gap between the picture +and the text that wraps around it. +The default gap width is zero. +.br +The first non-optional argument is the filename. +The optional following arguments are the width and height. If the width is absent it defaults to 1\~inch. If the height is absent it defaults to the width. +Example: +.RS +.IP +.nf +.ft B +\&.MPIMG -L -G 2c foo.png 3c 1.5c +.ft P +.fi +.RE . .TP .B HnS -- cgit v1.2.1