On Mon, Apr 11, 2011 at 14:00, seasoul wrote: > a ---------------------------- > | > | > --------- -b------------------ > > > as the illustration, by using natural table, how to split the cell by a > diagonal line from a to b, and have texts in the resulted splited triangular > cells?
I once used some cheating: \startuseMPgraphic{LineBack} draw (\overlaywidth,0)--(0,\overlayheight); \stopuseMPgraphic \defineoverlay[LineBack][\useMPgraphic{LineBack}] followed by \setupTABLE[c][1][width=2.6cm] \setupTABLE[1][1][background=LineBack,align={flushleft,low}] \bTABLE \bTR \bTD \hbox to 2.5cm{{\setbox0=\hbox{first}\wd0=0pt\box0}\hfill \raise1.1\bodyfontsize\hbox{second}} \eTD % ... \eTR \eTABLE This is ugly and doesn't scale well (you need to adjust the parameters), but it was the only possibility I was able to come up with quickly. Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________