ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* floats in xtable flush with frame
@ 2016-11-05 21:14 Michael Eidenbenz
  0 siblings, 0 replies; only message in thread
From: Michael Eidenbenz @ 2016-11-05 21:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-05 21:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-05 21:14 floats in xtable flush with frame Michael Eidenbenz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).