Am 11.04.2010 um 17:51 schrieb Hans Hagen:
On 11-4-2010 3:25, Steffen Wolfrum wrote:
Hi all,
In a book on construction engineering I found two kind of tables that presumably could be set very nicely in ConTeXt (see attachments). Set with MetaPost within natural tables?
1) Curly braces that span over cells: Their height should be depending to the cell's height (nr=2 oder nr=3). http://werksatz.com/attachments/braces.jpg
2) Arrows that are pointing from one cell to an other (middle or border of cell), http://werksatz.com/attachments/arrows.jpg
To me this looks like standard purpose, that most like is already pre-defined somewhere in Metapost/MetaFun/ConTeXt (MkII please!) ...
Is there any MetaPost guru out there that knows these cases?
use textbackgrounds ... instead of drawing lines you then do a textext that does a \left{ in math alongside a vbox that has the height of the lefgt boundary etc etc
Thank you Hans! I can imagine that this fits on the first example. Do you also have an idea on the second case, the arrows from one table cell to another? (Does it has to be so complex as in metafun manual, page 140: "5.2 Anchors and layers"??) Steffen