On Mon, 22 Oct 2012 17:45:21 +0200, Marco Patzer <home...@lavabit.com> wrote:

http://wiki.contextgarden.net/TABLE#Rules_with_different_thickness

... I knew this snippet; unfortunately, there were some bindings or 
relationships that I didn't understand fully.

Marco

Anyway, after some experiments, based on Wolfgang's code on wiki, I reached the 
following minimal working example:

----
\startuseMPgraphic{MP:thickBtm}
  draw bottomboundary OverlayBox withpen pensquare scaled 
\frameddimension{bottomrulethickness};
  clip currentpicture to OverlayBox;
  setbounds currentpicture to OverlayBox;
\stopuseMPgraphic

\defineoverlay[OL:thickBtm][\useMPgraphic{MP:thickBtm}]

\starttext
  \bTABLE
    \setupTABLE[align=middle]
    \setupTABLE[header][background={OL:thickBtm},bottomrulethickness=3mm]
    \setupTABLE[row][4][background={OL:thickBtm},bottomrulethickness=1.5mm]
    %
    \bTABLEhead\bTR\dorecurse{3}{\bTH#1\eTH}\eTR\eTABLEhead
    \bTABLEbody\dorecurse{6}{\bTR\dorecurse{3}{\bTD#1-##1\eTD}\eTR}\eTABLEbody
  \eTABLE
\stoptext
----

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.      [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

Attachment: t-Tab-ThkBtm.mkiv
Description: Binary data

Attachment: t-Tab-ThkBtm.pdf
Description: Adobe PDF document

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to