NAME
mbits – macros to typeset bitmaps

SYNOPSIS
troff [ option ... ] –mbits [ option ... ] file ...

DESCRIPTION
These macros are used to typeset bitmaps. They are compatible with other troff macro packages, so that bitmap figures may be included in documents.
.BM f       Set the format for subsequent .BM requests to f. The default is b for blitblt(9.1) output. The other possibility is i for faces and large icons in ASCII format.
.BM f s      Insert the bitmap from file f; each pixel will be s basic units square. The bitmap origin is placed at the current point, which is left unchanged.
.BM f s dX dY   Set the number registers dX and dY to the width and height (in basic units) of the bitmap in file f, assuming pixel size s. This form may be used to calculate positioning.

EXAMPLES

This sequence centers the bitmap and spaces past it to continue with the text:

.BM i
.BM /n/face/48x48x1/pjw 6 dX dY
.sp
.in (\n(.lu–\n(dXu)/2u
.BM /n/face/48x48x1/pjw 6
.in
.sp \n(dYu

Copyright © 2008 Lucent Technologies. All rights reserved. whoops troff 24170: 2