[metapost] boxes: how to make them with same width?
Oleg Katsitadze
olegkat at gmail.com
Tue Sep 25 11:31:09 CEST 2007
On Wed, Sep 19, 2007 at 01:33:28PM +0800, Steven Woody wrote:
> using boxes package, how do i make a collection of boxes with same
> width?
The following works for me:
------------------------------>%------------------------------
input boxes
beginfig(1)
boxjoin (a.e - a.w = b.e - b.w);
boxit.a ("A");
a.e - a.w = (40pt, 0pt);
boxit.aa ("AA");
boxit.aaa ("AAA");
a.c = aa.c - (0pt, 50pt) = aaa.c - (0pt, 100pt) = origin;
drawboxed (a, aa, aaa);
endfig;
end
------------------------------%<------------------------------
HTH,
Oleg
More information about the metapost
mailing list