[metapost] aligning boxes

Dan T. Abell dabell at bikerider.com
Mon Dec 15 00:25:54 CET 2008


Looks to me like Alan wants the boxes all the same width,
hence his attempt with

   boxjoin(a.w=b.w; a.e=b.e);

(I've left out his other constraint, the one that enforces
the vertical spacing.)  Using Alan's code, I obtain

-------------- next part --------------
A non-text attachment was scrubbed...
Name: boxtest-1.pdf
Type: application/pdf
Size: 5142 bytes
Desc: not available
Url : http://tug.org/pipermail/metapost/attachments/20081214/4af963f4/attachment.pdf 
-------------- next part --------------




Looks to me like a bug report is in order!
But maybe I'm missing something?

	-Dan


On 14 Dec 2008, at 13:49, Stephan Hennig wrote:

> Alan Bram schrieb:
>
>> Hmm, do I have to do something like write code to find the maximum,
>> then draw that one first, and then draw the others?  I thought the
>> "meta" way was to be able to declare linear equations in any order.
>
> I have to admit that I do not use the boxes package by myself.  So I
> fear, I cannot help with the issue.  In fact, I haven't been able to
> understand your example from the line containing the "boxjoin" command
> onwards.  But if your observation is correct, I guess this is worth a
> bug report at <URL:http://foundry.supelec.fr/projects/metapost/>.
>
> Best regards,
> Stephan Hennig
>
> --
> http://tug.org/metapost/



More information about the metapost mailing list