[metapost] boxes: how to make them with same width?
Steven Woody
narkewoody at gmail.com
Tue Sep 25 12:41:49 CEST 2007
thanks. it makes me know more usage of boxjoint.
On 9/25/07, Oleg Katsitadze <olegkat at gmail.com> wrote:
> 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
>
--
woody
then sun rose thinly from the sea and the old man could see the other
boats, low on the water and well in toward the shore, spread out
across the current.
More information about the metapost
mailing list