Henning Hraban Ramm schrieb am 19.02.2024 um 22:39:
I guess I asked this a while ago, but I can’t find an answer:
Is it possible to replace the lines of a TABLE with my own MetaPost graphics?

ATM I’m trying to place my MP lines behind a frame-less TABLE; it will probably work, but it’s a crutch…

The example below draws a custom border for the whole cell but you're free to draw only certain sides (leftboundary etc. helps) but don't forget to set the boundary box for the graphic (OverlayBox is the size of the cell).

%%%% begin example
draw OverlayBox withpen pencircle scaled 2 dashed withdots withcolor "red";



    \bTD Hello Table! \eTD

%%%% end example

If your question is of interest to others as well, please add an entry to the 

maillist : ntg-context@ntg.nl / 
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net

Reply via email to