[NTG-context] floats in xtable flush with frame

Michael Eidenbenz eidenbenz at arch.ethz.ch
Sat Nov 5 22:14:44 CET 2016


Hello,

I want to place floats in an xtable but cannot get rid of the gap between the float and the frame.
I sort of can eliminate the gap on the top with
\setupfloat [offset=-2.5pt]
but this doesnt seem to be the right way.

Is there a parameter to control this?

Thanks 

Michael


\showframe
\starttext

\startxtable
  \startxrow
    \startxcell
      \placefloat{}{\externalfigure[][width=\textwidth/2]}
    \stopxcell
    \startxcell
      \placefloat{}{\externalfigure[][width=\textwidth/2]}
     \stopxcell 
   \stopxrow
\stopxtable
\page

\setupfloat [offset=-2.5pt]
\startxtable
  \startxrow
    \startxcell
      \placefloat{}{\externalfigure[][width=\textwidth/2]}
    \stopxcell
    \startxcell
      \placefloat{}{\externalfigure[][width=\textwidth/2]}
     \stopxcell 
   \stopxrow
\stopxtable

\stoptext



More information about the ntg-context mailing list