[NTG-context] space before and after an xtable

Pablo Rodriguez oinos at gmx.es
Sun Nov 20 22:01:01 CET 2016


Dear list,

I have the following sample:

    \setupxtable[option={stretch}]

    \setupxtable[beforeafter]
        [before={\blank[big]},
         after={\blank[big]}]

    \starttext
        \dorecurse{5}{\startembeddedxtable[beforeafter]
            \startxrow
                \startxcell first\stopxcell
                \startxcell second\stopxcell
            \stopxrow
        \stopembeddedxtable}
        \dorecurse{5}{\blank[big]\startembeddedxtable
            \startxrow
                \startxcell third\stopxcell
                \startxcell fourth\stopxcell
            \stopxrow
        \stopembeddedxtable\blank[big]}
    \stoptext

Since before and after don’t seem to be available for \setupxtable, is
there a way to add a dimension before and after the xtable using
\setupxtable?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list