Hi Wolfgang, I'm always impressed by your ideas ! Thanks. Fabrice Le sam. 19 sept. 2026 à 10:44, Wolfgang Schuster <[email protected]> a écrit : > > Am 18.09.2026 um 18:09 schrieb Fabrice: > > Hi, > > I'm struggling a bit to create the table shown in the image. > > Thanks for your help. > You can use the method shown in the following example. > > 1. Disable the default frame and draw the borders with metapost. > > 2. Increase the cell offset on the sides where you want the gap (e.g. > bottom) and set a negative offset value for the frame on the same side. > > \startuseMPgraphic{xtableframe} > draw OverlayBox > leftenlarged \frameddimension{lframeoffset} > rightenlarged \frameddimension{rframeoffset} > topenlarged \frameddimension{tframeoffset} > bottomenlarged \frameddimension{bframeoffset} > enlarged -(OverlayLineWidth/2) > withcolor OverlayLineColor > ; > \stopuseMPgraphic > > \defineoverlay > [xtableframe] > [\useMPgraphic{xtableframe}] > > \setupxtable > [lframeoffset=0pt, > rframeoffset=0pt, > tframeoffset=0pt, > bframeoffset=0pt] > > \starttext > > \startxtable[frame=off,background=xtableframe] > \startxrow[bframeoffset=-1pt,boffset=1pt] > \startxcell > A > \stopxcell > \startxcell > B > \stopxcell > \stopxrow > \startxrow[tframeoffset=-1pt,toffset=1pt] > \startxcell > A > \stopxcell > \startxcell > B > \stopxcell > \stopxrow > \stopxtable > > \stoptext > > Wolfgang > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : [email protected] / > https://mailman.ntg.nl/mailman3/lists/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 > ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/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 ___________________________________________________________________________________
